Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mals14/dc22c6b0d21133495f7f4cee4ee99481 to your computer and use it in GitHub Desktop.
Save mals14/dc22c6b0d21133495f7f4cee4ee99481 to your computer and use it in GitHub Desktop.
delete keyboard maestro variables applescript
# applescript script to delete variables
tell application "Keyboard Maestro Engine"
set to_delete to {"my_email", "first_name", "last_name", "my_mobile"}
repeat with my_var in to_delete
setvariable (my_var as text) to "%Delete%"
end repeat
# set value of variables whose name starts with "minst" to "%Delete%"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment