• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: desktop snapshot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Sorting
  • Next by Date: Re: Sorting
  • Previous by thread: Re : Moving a message to another mailbox in Mail.app
  • Next by thread: re - horrible 8th-bit mangling
  • Index(es):
    • Date
    • Thread