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

Flow - drwsurl

Description

Receives a Drafts workspace name, and then copies the URL to open that workspace to the clipboard.

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

drwsurl

Scripting

Sample Code (AppleScript)

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

URL

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

Notes

  • Specification of workflow names is case-insensitive.
  • Workspace names are URL encoded.