UI Scripting Safari
UI Scripting Safari
- Subject: UI Scripting Safari
- From: Irwin Poche <email@hidden>
- Date: Wed, 12 Mar 2003 18:03:57 -0600
This is a reposting of a question that was inadvertently addressed to Greg
Ray. Sorry Greg, whoever you are.
--------------------------------------------------------------------------
Can anyone tell me if there is a way to script Safari's View menu items
Status Bar, Address Bar, and Bookmarks Bar?
Also, I cannot find any doc on the "click menu" command in the dictionary.
Has this been published yet?
Thanks,
-Irwin
tell application "Safari"
activate
end tell
tell application "System Events"
tell process "Safari"
-- this works
click menu item "View Source" of menu "View" of menu bar 1
-- these don't work
click menu item "Status Bar" of menu "View" of menu bar 1
click menu item "Bookmarks Bar" of menu "View" of menu bar 1
click menu item "Address Bar" of menu "View" of menu bar 1
end tell
end tell
_______________________________________________
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.