i applescript newbie. want know applescript show apple menu bar items arbitrary application (but many bar should remain orginal application).
i tried following script, using finder kind of dummy app, did not work.
tell application "system events" tell process "finder" tell menu bar 1 click menu bar item "apple" end tell end tell end tell
can help?
ps-1: want know because control-f2 move focus menu bar not work, reported in following link: https://apple.stackexchange.com/questions/12723/control-f2-move-focus-to-menu-bar-only-works-occasionally
ps-2: tried post image, not allowed.
process 1 frontmost true
gets frontmost process:
tell application "system events" tell (process 1 frontmost true) click menu bar item 1 of menu bar 1 end tell
clicking menu bar items doesn't work in full screen windows though. , if system events not used few minutes, closes automatically, , there's short delay when it's opened again.
Comments
Post a Comment