• 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: Searching for RGB images in a Quark doc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching for RGB images in a Quark doc


  • Subject: Re: Searching for RGB images in a Quark doc
  • From: Peter Waibel <email@hidden>
  • Date: Fri, 23 Jun 2006 11:55:02 +0200


No where does it tell me that the image is CMYK. Picture Usage shows it as a CMYK TIFF.

XPress knows the image type but won't tell you via applescript! (I would be happy if someone could tell me that I'am wrong!)

Gary pointed in the right direction.
You have to use "Image Events"

Try something like this:

tell application "QuarkXPress Passport"
	tell document 1
		set imgAlias to file path of image 1
	end tell
end tell

tell application "Image Events"
	launch
	set img to open imgAlias
	set imgType to color space of img
	close img
end tell
return imgType

Unfortunately Image Event has to open every image
so it won't be very fast!


Peter _______________________________________________ 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: Searching for RGB images in a Quark doc
      • From: Mark Butler <email@hidden>
References: 
 >Re: Searching for RGB images in a Quark doc (From: email@hidden)

  • Prev by Date: Re: Currency Numbers
  • Next by Date: Re: Intel UI scripting
  • Previous by thread: Re: Searching for RGB images in a Quark doc
  • Next by thread: Re: Searching for RGB images in a Quark doc
  • Index(es):
    • Date
    • Thread