Implementing "Choose Color" with Applescript

This area contains the messages from the old Yahoo gcmac group after the port.
Post Reply
Robert Poland
Posts: 0
Joined: Sun Jan 03, 2010 3:45 pm

Implementing "Choose Color" with Applescript

Post by Robert Poland »

Hi, Since Apple(?) has broken the use of the Standard Addition "Choose Color" with Applescript in GraphicConverter, does anyone know of a way to import the choice, made elsewhere, into GraphicConverter? This script yields {0, 0, 0}, (Black) no matter what the choice. tell application "GraphicConverter" tell window 1 choose color -- Here the result is a RGB color set theColor to result end tell end tell theColor TIA, Robert Poland - Fort Collins, CO
Robert Poland
Posts: 0
Joined: Sun Jan 03, 2010 3:45 pm

Re: Implementing "Choose Color" with Applescript

Post by Robert Poland »

A workaround… … tell application "GraphicConverter" tell window 1 … tell application "Finder" activate choose color -- Here the result is a RGB color set theColor to result end tell set theColor to result tell application "GraphicConverter" to activate -- return to GC window ... On Jul 26, 2013, at 7:00 AM, Robert Poland <rpoland@usa.net> wrote: > Hi, > > Since Apple(?) has broken the use of the Standard Addition "Choose Color" with Applescript in GraphicConverter, does anyone know of a way to import the choice, made elsewhere, into GraphicConverter? > > This script yields {0, 0, 0}, (Black) no matter what the choice. > > tell application "GraphicConverter" > tell window 1 > choose color -- Here the result is a RGB color > set theColor to result > end tell > end tell > theColor > > TIA, > > Robert Poland - Fort Collins, CO Robert Poland - Fort Collins, CO
Post Reply