Table of contents
This flow can deal with two different types of input. The input type is determined by the value of the
fetch is not set, or is set to
query passed in is taken to be content to copy to the clipboard.
fetch is set to
true, the flow interprets
query as a draft unique identifier. It will retrieve the content of the identified draft, and place it on the clipboard.
The following variables can be passed in and will be processed by the flow.
|The unique identifier of a Draft, or the content of a draft; as specified by the
|When set to
true, this will use the query as the UUID of the draft to fetch the content. When set as
false (or not set at all), the query will be assumed to be the content of a draft to be copied to the clipboard.
* These are mandatory for triggering this flow.
The following variables are set-up by the flow.
|The title to be shown in any completion notification.
|The message to be shown in any completion notification.
- External Trigger:
tell application id "com.runningwithcrayons.Alfred"
run trigger "drcopy" in workflow "com.thoughtasylum.doctordrafts" with argument "some unique text in the draft"
fetchis set to
trueand an invalid UUID is passed in, the clipboard will remain unchanged. No error is reported.