Have downloaded UI Browser but keeps crashing. Sent support request but in meantime trying to get my head round using UIElementInspector.app
Got as far as this in Applescript:
activate application "Vectorworks"
tell application "System Events"
Tell process "Vectorworks"
get value of checkbox “Object Info”
of AXMenuItem: “Object Info”
of AXMenuItem: “Palettes”
of AXMenuBarItem: “Window”
of action AXMenuBar
But getting error message “Expected expression, property or key form, etc. but found unknown token.”
I want to be able to use as basis for checking Palette & Menu items in if-then steps in KM macros but getting nowhere.
Watched Dan’s video which is very helpful but cannot get applescript to compile in order to check menu/button condition - mainly because have no idea what I am doing.
I know this is not applescript forum but is a step into KM so apologise in advance if should not be posting here. However, any help guidance as to what I am doing wrong would be much appreciated.
Below is the info from UIElementInspector that seems relevant.
AXMenuItem: “Object Info”
AXRoleDescription: “menu item”
AXPosition: “x=788 y=70”
AXSize: “w=247 h=19”
AXTitle: “Object Info”
AXCancel - cancel
AXPress - press