You are not logged in.
property textfield : missing value
tell class "NSColor" of current application
set greenColor to its greenColor()
set redColor to its redColor()
instead of setting (setTextColor) the color, I want to find out what color it is?
first of all please post AppleScriptObjC questions in the AppleScriptObjC forum
it's quite easy
thanks!!, i guess I was expecting to get the name "greenColor" as a string but I can still use this to do a comparison.
if textfield's textColor() = redColor then ...do something
i guess I was expecting to get the name "greenColor" as a string
from the initialization you can see that greenColor is an NSColor object and just a variable name (something like a token)