Re: How to set color well color
Re: How to set color well color
- Subject: Re: How to set color well color
- From: Brian Christmas <email@hidden>
- Date: Tue, 13 Jul 2010 22:16:27 +1000
On 13/07/2010, at 9:11 PM, Shane Stanley wrote: On 13/7/10 8:25 PM, "Brian Christmas" < email@hidden> wrote: Can someone tell me why please?
Because you got a bum steer courtesy of a brainfart here
Thanks Shane (grin). saving and reading works a treat now, but it still need two things to finish off.
1. How to set the color of the color well.
2. The opposite of this code, I need to set the RGB color back to whatever format it reads the color in in the first place.
set ThetempColor1 to theBusinessColorWell's |color| set ThetempColor to ThetempColor1's colorUsingColorSpaceName_(current application's NSCalibratedRGBColorSpace) set tempR to ThetempColor's redComponent() set tempG to ThetempColor's greenComponent() set tempB to ThetempColor's blueComponent() set TheBusinessNameColor to {(tempR * 65535), (tempG * 65535), (tempB * 65535)}
Regards
Santa
And what, you ask, was the beginning of it all? And it is this...... Existence that multiplied itself For sheer delight of being And plunged with numberless trillions of forms So that it might find itself innumerably
Sri Aurobindo
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden