Re: Image Events Question
Re: Image Events Question
- Subject: Re: Image Events Question
- From: André Berg <email@hidden>
- Date: Tue, 28 Oct 2008 16:57:09 +0100
Hi Garry,
I am not familiar with Image Events, but seeing as the 'color space'
property is
read-only, setting the property yourself after a successful conversion
unfortunately
is not possible.
As a quick and dirty workaround you could make a temporary text file in
the 'temporary
items folder' of System Events with the names of all succesfully
converted files and
before attempting a new conversion your script checks the filenames to
convert against
this file.
Sure, this is of quite volatile nature, but depending on your script
setup this might work.
As to what is causing your problem, are you sure that you properly
close the file stream
(I think it's something like 'close image') so that the image's
properties should get updated?
HTH
André
--- Original Nachricht ---
Absender: Simon, Garry
Datum: 25.10.2008 0:46 Uhr
I
unfortunately ran into a problem with scripting Image Events. I use a
script to identify RGB color space in jpeg images within an InDesign
document. When any are discovered, I use Photoshop to convert the mode
to CMYK. However, Applescript still sees the corrected images as RGB.
The reverse is also true - when I change an image from CMYK to RGB,
Image Events still recognizes it as CMYK. Any thoughts?
Thanks,
Garry
Simon
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden