Searcher | Drafts Action Directory

Posted by @derekvan, Last update 1 minute ago

Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.


This is a companion discussion topic for the original entry at http://actions.getdrafts.com/a/1YF

This action can be run from Drafts itself to search the “all” tab, or can be run from Shortcuts, meaning you can modify it to run from the widget, or to accept voice input, or put a home screen icon for it or whatever.

https://www.icloud.com/shortcuts/7a401a215fbe475ea7f176e6bec067b9

Of course, Spotlight search on iOS should be doing the same thing. However, I find my spotlight search sometimes decides to stop showing Drafts content (and content from other apps as well). This is more consistent for me.

Hey. I get a TypeError when I run this— “undefined is not an object, evaluating(‘ws.queryString = draft.content’)” - line 4 col 3…

Sorry!! I just realized this step 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). I’m updating the action description now.

1 Like