• 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: GUI screen capture?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: GUI screen capture?
      • From: Bill White <email@hidden>
References: 
 >GUI screen capture? (From: Bill White <email@hidden>)

  • Prev by Date: Re: GUI screen capture?
  • Next by Date: Re: [OT] I don't want to whine, but...
  • Previous by thread: Re: GUI screen capture?
  • Next by thread: Re: GUI screen capture?
  • Index(es):
    • Date
    • Thread