I am trying to script a non-scriptable CAD-application (Graphisoft’s ArchiCAD).
The applesript will be linked to a mouse button.
The goal is to activate a command from the menu and then to click at the current mouse position in the drawing window.
tell application "System Events"
tell process "ArchiCAD"
set frontmost to true
tell menu bar 1
click menu item 9 of menu 10
end tell
click
end tell
end tell
I am not very skilled with the click command, so the click doesn’t happen. Has anyone a suggest, how i can manage this?
regards
gerstenlaub
(and excuse me for my strange english…)