I'm trying to do something simple - every time I launch System Preferences, I want the Sound panel to open automatically. The below macro works, but only works if a delay of at least 1.2 seconds is included. When the delay isn't there, the macro fails to find the menu item.
Is there a way around including this delay to get this to work? Thanks for any help!
Sound Prefs.kmmacros (21 KB)
Contrariwise -- use a macro to open System Preferences directly at the Sound pane:
Open Sound Prefs.kmmacros (1.5 KB)
If you'd prefer to open System Preferences the usual way, just replace the hot key trigger with your "on launch" one -- the action will still switch the newly-opened Sys Prefs to the Sound pane.
Perfect, thank you so much!
Mark this issue well.
Timing issues abound when manipulating a UI by non-scripted means.
Neil's solution is very useful in many situations, although you get more speed out of a menu path than a menu name.
When you give KM just a menu name it has to search through the given app's menus for that name.
Giving it a direct path to the menu item is a nearly instant check.