Apple's GUI Scripting Examples
Apple's GUI Scripting Examples
- Subject: Apple's GUI Scripting Examples
- From: Marconi <email@hidden>
- Date: Mon, 18 Aug 2003 08:05:01 -0700
I have tried several of Apples GUI scripting examples straight from
<
http://www.apple.com/applescript/GUI/> with no modifications and
each one gives the same syntax error: "Expected end of line but found
class name" when it encounters 'menu item' in the last line of this
snip.
tell application "System Preferences"
activate
end tell
tell application "System Events"
tell process "System Preferences"
click menu item "Date & Time" of menu "View" of menu bar 1
What am I not understanding?
--
"Bad science sets out to make a point, looks neither to the left nor
to the right but only straight ahead for evidence that supports the
point it sets out to make. When it finds evidence it likes, it
gathers it tenderly and subjects it to little or no testing." -- MARK
VONNEGUT, IN THE BOSTON GLOBE
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.