I'm trying to create a global keyboard shortcut to activate an option under the menu of an app that only exists on the menu bar.
I've defined a shortcut for that option on System Preferences>Keyboards, and I can see the shortcut I've defined on the menu of that app.
I've created a global keyboard shortcut on BTT to activate that option, but I haven't been able to do so far. I've set a shortcut to activate the global action on BTT, and I've set it to "Send Shortcut to Specific App", and chose the related app, and the related shortcut I had defined for the action on its menu before. It just doesn't work.
Any ideas?
PS: I've already tried using different shortcuts for the two actions, and also selecting "bring app to front" and "switch back". I also quit and reopened the app after changing the shortcut.
I've also already tried launching the app as well as open/hiding the app, to then go through the menu with an additional command, but launching pops up a "this app is already running" notification, and open/hiding doesn't do anything.
It doesn't recognise the app name. Nothing happens. I put the path with ";" in between, but it doesn't seem to do anything.
I've also tried moving the mouse there, and clicking. I even tried moving the mouse again and clicking the menu item to go to the submenu, and move and click, but it breaks before it reaches there.
I'm trying to toggle HDR using BetterDummy menubar app.
Try UI Browser (e.g the Trial Version) to identify the application and its menu. Then use an Applescript in a BTT action like this:
tell application "System Events"
tell application process "BetterTouchTool"
tell menu bar 1 -- sometimes 2
click menu bar item 1
click menu item 1 of menu 1
end tell
end tell
end tell
Assign a Keyboard Shortcut to Any Application by Altering its Properties
Access App Properties: Once you have located the app, right click it and select properties. ...
Change the Shortcut Key Value: Type in the alphabet that you want to use as a shortcut for opening the app. ...
Click on Apply to Save Changes.
Is there a solution to this with BTT now? I also have a menu bar app, that has no keyboard shortcuts.
Bartender allows me to assign a keyboard shortcut to clicking the icon and then I could use BTT to click images to click the right item and sub item, but is there another way now? Or applescript still the best option?