Re: Yosemite decimal number conversion error
Re: Yosemite decimal number conversion error
- Subject: Re: Yosemite decimal number conversion error
- From: Shane Stanley <email@hidden>
- Date: Wed, 29 Oct 2014 17:12:08 +1100
On 29 Oct 2014, at 3:44 pm, Brian Christmas <email@hidden> wrote:
Is anyone able to explain why the discrepancy please?
No idea. This:
use AppleScript version "2.4" use framework "Foundation" use scripting additions
set theRequiredNSColor to current application's NSColor's brownColor() set theRGBValuesToDisplay to "Values: " & return & theRequiredNSColor's redComponent() & " " & theRequiredNSColor's greenComponent() & " " & theRequiredNSColor's blueComponent() as text
returns:
--> "Values: 0.6 0.4 0.2"
|
_______________________________________________
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