Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
set color of colorwell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set color of colorwell



Can someone tell me how I can set the color of a color well
programmatically.

This is my color well:
color well "cw1" of tab view item "WarningTab" of tab view "tabView" of
window "main"

I believe you need to use call method, but I do not know the correct
syntax. I have a color string with the RGB values which looks like
this:
set color_s1 to "{" & (1.0 * 65535) & "," & (0.010772869459 * 65535) &
"," & (0.043335622187 * 65535) & "}" as string

If anyone knows how to do this, please let me know.

Thank you,

_Rhon Fitzwater
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.