Documentation ¶
Overview ¶
Workflow settings demonstrates binding a struct to Alfred's settings.
The workflow's settings are stored in info.plist/the workflow's configuration sheet in Alfred Preferences.
These are imported into the Server struct using Config.To().
The Script Filter displays these settings, and you can select one to change its value.
If you enter a new value, this is saved to info.plist/the configuration sheet via Config.Set(), and the workflow is run again by calling its "settings" External Trigger via Alfred.RunTrigger().
Click to show internal directories.
Click to hide internal directories.