Re: Saving a document in Safari
Re: Saving a document in Safari
- Subject: Re: Saving a document in Safari
- From: Philip Aker <email@hidden>
- Date: Tue, 11 Feb 2003 02:26:40 -0800
On Monday, February 10, 2003, at 04:17 PM, Rick Bargerhuff alias
cougar wrote:
For example, if I have opened an image or a sound file in a new
window, clicking "Save As" from the file menu saves the image or sound
file. This is what I am trying to do.
--Here's an alternative to the previous low level stuff:
tell application "System Events"
tell process "Safari"
set frontmost to true
tell menu bar 1
tell menu "File"
click menu item "Save As..."
end tell
end tell
end tell
end tell
--Requires the new GUI scripting of course.
--Philip Aker
--
http://www.aker.ca
_______________________________________________
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.