Re: How to save the Safari front window contents by script
Re: How to save the Safari front window contents by script
- Subject: Re: How to save the Safari front window contents by script
- From: KOENIG Yvan <email@hidden>
- Date: Thu, 1 Mar 2007 20:14:45 +0100
Le 1 mars 07 à 17:29:42, Emile SCHWARZ a écrit :
Hi all,
the subjects says nearly all:
How to save the Safari front window contents by script
without having to press OK / having a save as dialog ?
TIA,
Emile
Hello Emile
This short script will save the Safari front window on the desktop.
I'm quite sure that you know how to move it to the wished
destination ;-)
tell application "Safari" to activate
tell application "System Events" to tell process "Safari"
keystroke "s" using {command down} (* open the Save dialog *)
click button 1 of sheet 1 of window 1 (* click the Save Button *)
end tell
Yvan KOENIG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden