Hello, all –
I’m trying to GUI script the Excel VBE. Using UI Browser, the Applescript seems to be
Tell process "Microsoft Excel" tell menu bar -- (menu bar 1) tell menu bar item "Edit" -- (menu bar item 4) tell menu -- (menu 1) click menu item "Select All" -- (menu item 8) end tell end tell end tell end tell
However, Script Debugger doesn’t like the line ‘tell menu bar item “Edit”’ with the error “Expected end of line but found class name.” I don’t know how to fix that (or understand it even.) I did try to do it by number (4).