Re: Screen capture
Re: Screen capture
- Subject: Re: Screen capture
- From: "Alatorre, Michael" <email@hidden>
- Date: Mon, 8 Dec 2003 15:46:23 -0800
>
>Actually, you would be best off with Snapz Pro X anyway, as PDF is
>
>rather a bad format for sending over the Web. If you want to use GIF
>
>or JPEG instead (for all of the obvious reasons), Snapz'll be better.
>
>
PNG is even better, perhaps, since JPEG is lossy.
>
>
Panthers can do this:
>
>
do shell script "screencapture -S /tmp/screengrab.pdf"
>
tell application "Image Events"
>
set this_image to open file "/tmp/screengrab.pdf"
>
save this_image as PNG in file "/tmp/screengrab.png" with icon
>
close this_image
>
end tell
>
>
Pete
This also works for Panthers:
do shell script "screencapture -S /tmp/screengrab.pdf ; sips -s format png
/tmp/screengrab.pdf --out /tmp/screengrab.png"
Michael Alatorre (
mailto:email@hidden)
EIS Liaison Analyst
Cedars-Sinai Health System (
http://www.cedars-sinai.edu/)
Medical Affairs: 310.423.6237 310.423.0448 (fax)
"La verdad a medias es mentira verdadera." -- Spanish Proverb
Important Warning: This message is intended for the use of the person or
entity to which it is addressed and may contain information that is
privileged and confidential, the disclosure of which is governed by
applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this information is STRICTLY PROHIBITED.
If you have received this message in error, please notify us immediately by
calling (310) 423-6428 -- and destroy the related message. Thank you for
your cooperation.
_______________________________________________
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.