Skip to content

Instantly share code, notes, and snippets.

@wjhrdy
Created September 27, 2017 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wjhrdy/6d2c104f5d070e50e1c618713ed71f69 to your computer and use it in GitHub Desktop.
Save wjhrdy/6d2c104f5d070e50e1c618713ed71f69 to your computer and use it in GitHub Desktop.
ignoring application responses
tell application "System Events" to tell process "Hajo Headphone Enhancer"
click menu bar item 1 of menu bar 1
end tell
end ignoring
do shell script "killall System\\ Events"
delay 0.1
tell application "System Events" to tell process "Hajo Headphone Enhancer"
tell menu bar item 1 of menu bar 1
click menu item "Configure USB, Bluetooth & Firewire" of menu 1
end tell
end tell
delay 0.1
tell application "System Events" to tell process "Hajo Headphone Enhancer"
click button "Save" of window "Configure USB, Bluetooth and Firewire Devices"
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment