With the following code…
tell application "iShowU"
activate
click button "Record" of window "iShowU"
end tell
I get an error saying “Expected end of line” and the word button ends up highlighted.
Does anyone have any ideas what I’m doing wrong?
Jody
StefanK
#2
Hi,
welcome to MacScripter.
click and button are terminology of System Events, not of iShowU
A common syntax for GUI scripting is
activate application "iShowU"
tell application "System Events"
tell process "iShowU"
click button "Record" of window "iShowU"
end tell
end tell