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

Flow - drws

Description

Receives a Drafts workspace name, and then triggers bringing the Drafts app to the foreground and loading the named workspace into the Drafts application.

Variables

Used

The following variables can be passed in and will be processed by the flow.

Variable Description
query * The name of the Drafts workspace to be opened.

* These are mandatory for triggering this flow.

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

drws

Scripting

Sample Code (AppleScript)

tell application id "com.runningwithcrayons.Alfred" to run trigger "drws" in workflow "com.thoughtasylum.doctordrafts" with argument "Work Project X"

URL

alfred://runtrigger/com.thoughtasylum.doctordrafts/drws/?argument=Work%20Project%20X

Notes

  • Specification of workflow names is case-insensitive.