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

Flow - dractionsearch

Description

Trigger an action search 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 action 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

dractionsearch

Scripting

Sample Code (AppleScript)

tell application id "com.runningwithcrayons.Alfred" to run trigger "dractionsearch" in workflow "com.thoughtasylum.doctordrafts" with argument "Markdown List"

URL

alfred://runtrigger/com.thoughtasylum.doctordrafts/dractionsearch/?argument=Markdown%20List

Notes

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