Re: desktop snapshot
Re: desktop snapshot
- Subject: Re: desktop snapshot
- From: roy whelden <email@hidden>
- Date: Sun, 5 Oct 2003 10:48:36 -0700
On Saturday, October 4, 2003, at 10:00 PM, <email@hidden>
wrote:
>
is there a way to take desktop snapshots with applescript?
>
essentially, what i'd like to do is take a desktop snapshot
>
and use the ftp script i talked about before to upload the snap
>
to the server address each time it's taken.
>
>
-mathew
Mathew:
There is a UNIX command called "screencapture" which you can use to
take a snapshot of the desktop. It can be scripted with the "do shell
script" command. Here is a sample script:
do shell script "screencapture -x -c"
(the -x option suppresses the camera click sound effect; the -c option
captures the shot to the clipboard for later pasting)
or
do shell script "screencapture -x ~/picture.pdf"
(this saves the shot to the pathname ~/picture.pdf, where ~ is
shorthand for your home folder)
Good luck!
Roy Whelden
--------------------
"... and the world slid toward senescence, watching the tube." -- Rudy
Rucker, mathematician and writer
_______________________________________________
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.