Image Events in Tiger Weirdness?
Image Events in Tiger Weirdness?
- Subject: Image Events in Tiger Weirdness?
- From: Doug Adams <email@hidden>
- Date: Sun, 15 May 2005 22:00:30 -0400
The snippet below works in Panther excellently like you read about.
It is a snippet from a larger script I use in PDF Services that opens
a PDF with Image Events and then saves as a PICT, for further
processing as iTunes artwork.
In Tiger, it not only takes forever (well, several minutes), but the
resulting PICT file seems to be missing some data, like, the
background is transparent.
Is there a problem with Image Events and PDFs in Tiger?
Here is the snippet:
--
set tmp_folder to (path to desktop)
set the_PDF_file to choose file of type {"com.adobe.pdf", ""}
tell application "Image Events"
launch
set this_image to open the_PDF_file
set image_name to name of this_image
set new_item to ¬
(tmp_folder & (text 1 thru -5 of image_name) & ".pict") as
string
save this_image in new_item as PICT
end tell
--
Await your thoughts.
--
Doug's AppleScripts for iTunes
http://www.dougscripts.com/itunes/
RSS feed:
http://www.dougscripts.com/itunes/dougs.rss
Mail & iChat/AIM:
email@hidden
_______________________________________________
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