• 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: Screen Capture
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Screen Capture


  • Subject: Re: Screen Capture
  • From: Joshua See <email@hidden>
  • Date: Wed, 10 Dec 2003 08:24:15 -0600

On Tuesday, December 9, 2003, at 03:42 PM, Emmanuel wrote:
At 12:15 PM -0800 09/12/03, j.e.b. wrote:
do shell script "screencapture -S /tmp/screengrab.pdf ; sips -s format
jpeg /tmp/screengrab.pdf --out /tmp/screengrab.jpg"

How would I save this PNG to the Desktop rather than the /tmp/ directory?
set x to (path to desktop)'s POSIX path
set x to quoted form of x
set fred to "screencapture -S " & x & " [etc
do shell script fred

Sorry to ruin a perfectly good thread with an on-topic post, but wouldn't taking advantage of the shell be a little easier?

do shell script "screencapture -S ~/Desktop/BadAmbrosiaLicensing.pdf"

--
Sincerely,
Joshua See
_______________________________________________
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.

  • Follow-Ups:
    • New AppleScript book
      • From: "j.e.b." <email@hidden>
References: 
 >re: Screen Capture (From: Emmanuel <email@hidden>)

  • Prev by Date: Re: Screen capture
  • Next by Date: Re: LZW compression CLI tool (was: screen capture)
  • Previous by thread: re: Screen Capture
  • Next by thread: New AppleScript book
  • Index(es):
    • Date
    • Thread