Table of contents
Flow - drsearch
Description
Trigger a search for drafts within the Drafts app.
Variables
Used
The following variables can be passed in and will be processed by the flow.
Variable | Description |
---|---|
query | The text to populate the Drafts search with. |
Created
The following variables are set-up by the flow.
Variable | Description |
---|---|
NotificationTitle | The title to be shown in any completion notification. |
NotificationMessage | The message to be shown in any completion notification. |
Termination
- External Trigger:
drcomplete
Flow
Scripting
Sample Code (AppleScript)
tell application id "com.runningwithcrayons.Alfred" to run trigger "drsearch" in workflow "com.thoughtasylum.doctordrafts" with argument "lorem ipsum"
URL
alfred://runtrigger/com.thoughtasylum.doctordrafts/drsearch/?argument=lorem%20ipsum
Notes
- The search is based on the URL
drafts://search?query={text to search for}