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

Flow - drquicksearch

Description

Trigger a quick search within the Drafts app. Quick Search searches across Drafts, workspaces, actions, and common Drafts commands.

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 quick 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

drquicksearch

Scripting

Sample Code (AppleScript)

tell application id "com.runningwithcrayons.Alfred" to run trigger "drquicksearch" in workflow "com.thoughtasylum.doctordrafts" with argument "lorem ipsum"

URL

alfred://runtrigger/com.thoughtasylum.doctordrafts/drquicksearch/?argument=lorem%20ipsum

Notes

  • The search is based on the URL drafts://quickSearch?query={text to search for}