Link Search Menu Expand Document
Table of contents
  1. Flow - drsearch
    1. Description
    2. Variables
      1. Used
      2. Created
    3. Termination
    4. Flow
    5. Scripting
      1. Sample Code (AppleScript)
      2. URL
    6. Notes

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

Flow

drsearch

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}