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: "Jonathan Levi, M.D." <email@hidden>
- Date: Tue, 24 Oct 2006 08:59:08 -0400
At 8:48 PM -0700 10/23/06, Andrew Oliver wrote:
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"
At 9:11 PM -0700 10/23/06, Philip Aker wrote:
...You can get the whole screen with:
do shell script "screencapture -w ~/Desktop/screen.png"
and then use this tool to crop it:
<http://homepage.mac.com/philip_aker/dl/tools/pngcrop100.zip>
Andrew's and Philip's help much appreciated; their suggestions
worked. _Jonathan
_______________________________________________
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