Get name of a property's color

instead of setting (setTextColor) the color, I want to find out what color it is?

Hi,

first of all please post AppleScriptObjC questions in the AppleScriptObjC forum

it’s quite easy


 textfield's textColor()

thanks!!, i guess I was expecting to get the name “greenColor” as a string but I can still use this to do a comparison.

from the initialization you can see that greenColor is an NSColor object and just a variable name (something like a token)