• 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
Image Events in Tiger Weirdness?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: applescript and Preview
  • Next by Date: Re: Date-math fixes in Tiger
  • Previous by thread: Re: My delete aged msg script - broke?
  • Next by thread: Re: Script Editor hangs on "Open Dictionary" (AS-users Digest, V2, #320)
  • Index(es):
    • Date
    • Thread