Last active
January 8, 2026 21:43
-
-
Save Boettner-eric/77baef8e2797577cc101ebc15a994b6d to your computer and use it in GitHub Desktop.
Alfred Change Config values
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on run argv | |
| set bundleID to (system attribute "alfred_workflow_bundleid") | |
| set value to item 1 of argv | |
| set otherValue to item 2 of argv | |
| tell application id "com.runningwithcrayons.Alfred" | |
| set configuration "CONFIG_ITEM_1" to value value in workflow bundleID | |
| set configuration "CONFIG_ITEM_2" to value otherValue in workflow bundleID | |
| end tell | |
| end run |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this as a
run_scriptaction withAppleScriptas the language. This allows you to change configuration or environment variables and can be used to store values between runs.