settings

command
v0.29.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: MIT Imports: 4 Imported by: 0

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().

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL