Re: MeasureTool Compare question
Re: MeasureTool Compare question
- Subject: Re: MeasureTool Compare question
- From: Martin Orpen <email@hidden>
- Date: Mon, 14 Mar 2005 23:18:16 +0000
Title: Re: MeasureTool Compare question
on 14/3/05 10:15 pm, bruce fraser at email@hidden wrote:
> *somehow, for me right now, is doing it by hand. In the past, GMB's
> ColorLab has worked, but it isn't working right now. ColorThink may
> be able to do it. You can get someone to write a script that will do
> it. You can pester Steve Upton to ship ColorThink Pro. I'm open to
> any other rational suggestions!
How about converting to Lab, selecting the eyedropper, running the following script and then clicking on each colour patch and waiting for the beep:
set theList to {}
set theCount to 0
tell application "Adobe Photoshop CS"
activate
set foo to foreground color
repeat until theCount = 10
delay 1
set bar to foreground color
if bar is not equal to foo then
set end of theList to {value_L, value_a, value_b} of bar & return
beep
set theCount to 0
set foo to bar
else
set theCount to theCount + 1
end if
end repeat
set AppleScript's text item delimiters to return
set theList to theList as string
set AppleScript's text item delimiters to {""}
set the clipboard to theList
display dialog "Your Lab values have been copied to the Clipboard"
end tell
Ten seconds without clicking a new colour will cause the script to end and your Lab values will be copied to the Clipboard ready to paste into your favourite app.
It ain’t the best script that I’ve written in less than 5 minutes, but it could save a lot of dull typing :-)
Regards
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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