Link Search Menu Expand Document
Table of contents
  1. Toggle Completion Noise Setting
    1. Description
    2. Steps
    3. Notes
  2. Toggle Completion Notification Setting
    1. Description
    2. Steps
    3. Notes
  3. Workflow Update
    1. Description
    2. Steps
    3. Notes

Toggle Completion Noise Setting

Description

Doctor Drafts has a setting that determines whether to play a sound at the end of processing an action. This action displays the current state of “Noise enabled” as true or false. Running the action will toggle the state between the two.

Steps

  1. Trigger Alfred.
  2. Type in drnoise; the subtitle of the entry in Alfred will display details regarding the current state of the setting.
  3. Press return to toggle the setting, or esc to close Alfred without changing the setting.

Notes

  • The setting is held in an Alfred workflow variable called Noisy, and is toggled between true and false.

Toggle Completion Notification Setting

Description

Doctor Drafts has a setting that determines whether to display a (visual) notification at the end of processing an action. This action displays the current state of “Notifications enabled” as true or false. Running the action will toggle the state between the two.

Steps

  1. Trigger Alfred.
  2. Type in drnotify; the subtitle of the entry in Alfred will display details regarding the current state of the setting.
  3. Press return to toggle the setting, or esc to close Alfred without changing the setting.

Notes

  • The setting is held in an Alfred workflow variable called Notify, and is toggled between true and false.

Workflow Update

Description

Running this action will force Doctor Drafts to check the Doctor Drafts web site for a new version. If an Internet connection is present, the workflow will check the version number of the local workflow against the version umber of the workflow available on the website. If an update is available, the workflow will play a sound and display a notification. A notification is also displayed if no update is available.

Steps

  1. Trigger Alfred.
  2. Type in drwfu.
  3. Press return to execute the check.

Notes

  • This uses the drwfu flow and specifies three variables used by that flow:
    • shownoupdate = TRUE - ensures that the a notification is displayed when there is no update available as well as when there is an update available.
    • UCfrequency = 0 - sets the update frequency to be every time the flow is run to ensure the update check gets run if possible.
    • UClastchecked = 0 - sets the numeric date to be a low (non-negative integer) value to ensure that the update check gets run if possible.
  • The variables are set temporarily for the lifetime of the flow and are a temporary override of existing variables. They are non-persistent, the existing values being picked up on the next run unless overridden again.