Re: ColorsyncScripting
Re: ColorsyncScripting
- Subject: Re: ColorsyncScripting
- From: Martin Orpen <email@hidden>
- Date: Wed, 2 Sep 2009 10:27:25 +0100
On 2 Sep 2009, at 00:18, John Gnaegy wrote:
Scripts that use ColorSyncScripting should be able to be rewritten
to use sips and/or Image Events, they will need to be updated but
it's not the case that we dropped scripting of ColorSync. The
scripts that ship now in /Library/ColorSync/Scripting use sips,
they're there not only to be used as tools but also as sample code.
You've dropped "match link" and there is no equivalent in SIPS or
Image Events. Working around "proof" is no problem but now there is no
native capability in the OS that I can see to handle device link
conversions.
ColorSync scripting could have been expanded as a Scripting Addition
-- not dropped. it would have been simple to incorporate useful extras
like the Calculator features of the ColorSync Utility.
But a glance at the ColorSync Manager Reference shows a scary amount
of red ink -- more than half of the features have been deprecated:
<file:///Developer/Documentation/DocSets/com.apple.ADC_Reference_Library.CoreReference.docset/Contents/Resources/Documents/documentation/GraphicsImaging/Reference/ColorSync_Manager/index.html#//apple_ref/doc/uid/TP30000259
>
Remember that "command line utility" doesn't mean "not usable in
Applescript". Command line utilities are absolutely usable in
Applescript, and in Automator, perl, and the command line. The
coercions you need to be careful about are no more difficult than
the file, string, or alias coercions you routinely have to guess at
in Applescript. Well, that I routinely have to guess at.
This will be a PITA for scripters who might never have needed to "do
shell script" before. Technical Note TN2065 -- "do shell script in
AppleScript" is worth taking a look at.
--
Martin Orpen
Idea Digital Imaging Ltd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden