Re: Scripting Capture of an Internet Connect Window?
Re: Scripting Capture of an Internet Connect Window?
- Subject: Re: Scripting Capture of an Internet Connect Window?
- From: Andrew Oliver <email@hidden>
- Date: Mon, 23 Oct 2006 20:48:21 -0700
On Oct 23, 2006, at 8:09 PM, Jonathan Levi, M.D. wrote:
Hi, -- I'd like to do the above, preferably using Grab (which is
"not scriptable") or automating a command-function-3 keypress.
Problems are that GUI-scripting Grab seems to lead in the end to a
need for an actual mouse click -- "click {x,y}" does nothing, even
though x and y are global coordinates inside the Internet Connect
window. Or I could capture the whole screen with command-function-3,
then cut the picture down to the area that I want pretty easily, but
I don't know how to automate typing command-function-3. Any ideas? --
TIA, Jonathan
Try:
do shell script "/usr/sbin/screencapture ~/Desktop/screen.png"
It will give you the whole screen, but I'm not aware of any way of
capturing a window without user interaction.
Andrew
:)
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden