Re: UI Scripting Safari
Re: UI Scripting Safari
- Subject: Re: UI Scripting Safari
- From: Jamie Eastwood <email@hidden>
- Date: Thu, 13 Mar 2003 10:47:38 +0000
Hi Irwin,
Hope this helps.
From what I understand you need to wrap the click menu item commands in
their own 'tell' block.
tell application "System Events"
activate
end tell
tell application "Safari"
activate
end tell
tell application "System Events"
tell process "Safari"
tell menu bar 1
click menu item " Status Bar" of menu "View" -- 3 spaces before
the menu item
click menu item " Bookmarks Bar" of menu "View"
click menu item " Address Bar" of menu "View"
click menu item " Home" of menu "View" -- 6 spaces before menu
item
end tell
end tell
end tell
Jamie
_______________________________________________
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.