Table of contents
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
- External Trigger:
drcomplete
Flow
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.