Re: GUI screen capture?
Re: GUI screen capture?
- Subject: Re: GUI screen capture?
- From: Paul Robinson <email@hidden>
- Date: Mon, 27 Sep 2004 21:52:28 +0100
Screen capture is part of loginwindow.app, not Finder. You cannot GUI
script a screen capture.
You'd get better results with
--code begins
do shell script "screencapture ~/Desktop/capture.pdf"
--code ends
This puts the screen capture in to a pdf called capture.pdf on your
desktop (well obviously!)
Type 'screencapture -h' into the Terminal to see more options you can
use with the UNIX command.
P.
On 27 Sep 2004, at 20:01, Bill White wrote:
Any idea on why the following doesn't work?
tell application "Finder" to activate
tell application "System Events"
tell process "Finder"
keystroke "3" using {command down, shift down}
end tell
end tell
It compiles and runs without error, but doesn't produce a screenshot.
I must
be missing something very simple.
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden