Table of contents
Flow - drurl
Description
Receives a draft’s unique identifier, and then copies a URL to the clipboard that will load the draft into the editor in the Drafts app.
Variables
Used
The following variables can be passed in and will be processed by the flow.
Variable | Description |
---|---|
query * | The unique identifier of a Draft. |
* 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
- External Trigger:
drcomplete
Flow
Scripting
Sample Code (AppleScript)
tell application id "com.runningwithcrayons.Alfred" to run trigger "drurl" in workflow "com.thoughtasylum.doctordrafts" with argument "60348DD9-C3B3-4CFF-891F-E749CBED1E40"
URL
alfred://runtrigger/com.thoughtasylum.doctordrafts/drurl/?argument=60348DD9-C3B3-4CFF-891F-E749CBED1E40
Notes
- The URL is of the format
drafts://open?uuid={url}
. - No checks are made to see if the specified draft exists.