Action

Searcher

Posted by @derekvan, Last update about 5 years ago

Takes the content of the drafts and searches the “all” tab for hits. Great when paired with this shortcut: https://www.icloud.com/shortcuts/7a401a215fbe475ea7f176e6bec067b9

This action requires you to create a workspace called “Search”. You should also set that workspace to pull up the “all” tab on open (in the workspace settings).

Steps

  • script

    // global search
    
    let ws = Workspace.find("Search");
    ws.queryString = draft.content;
    
    app.applyWorkspace(ws);
    
    app.showDraftList();
    
    

Options

  • After Success Trash
    Notification None
    Log Level None
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.