Table of contents
Flow - drqref
Description
Doctor Drafts includes some useful quick reference information files. This flow enables the selection and display of the quick reference files using a Mac standard file viewer.
Quick Reference
The available quick reference options are:
- Links.
- Search options.
- Date/time formatting using strftime.
- Template tags.
Variables
Used
The following variables can be passed in and will be processed by the flow.
Variable | Description |
---|---|
qlfallback | When set to 1 , will use Quick Look debugger to view quick reference content, otherwise a web viewer will be used. |
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
- Run Script: displays the quick reference file
Flow
Scripting
Sample Code (AppleScript)
tell application id "com.runningwithcrayons.Alfred" to run trigger "drqref" in workflow "com.thoughtasylum.doctordrafts"
URL
alfred://runtrigger/com.thoughtasylum.doctordrafts/drqref
Notes
- By default a web viewer will be used to view quick reference content.
- This is driven via a command line call to a workflow automation distributed with this Alfred workflow.
- The alternative (specified as variable
qlfallback = 1
) will switch back to the quick look debugger.- The window title for the quick look debugger will contain the word “[DEBUG]”.