At the right end of a macOS menu bar are menus with icons instead of names, e.g., Sound, Wi-Fi, Bluetooth, Time Machine. Is there a way for a "Select Menu Item" action to select an item in one of these special menus?
I've created KM macros to select items in the Sound menu using "Move and Click and Drag" actions to simulate mouse actions on the menus based on screen positions relative to the upper-right corner of the screen.
There are two serious shortcoming of simulating mouse actions on menus:
- The horizontal position of the Icon menus change because the width of the date and time (at the right end of the menu bar) varies.
- The list of menu items changes, e.g., when devices are added or removed.