I know in IB one can set the background color and opacity of a text field.
How can you do this dynamically? I keep hitting errors. Any help much appreciated!!
tell color panel
set shows alpha to true
end tell
set myColor to color of color panel
set avalue to alpha of color panel
set text color of text field "text1" of window "main" to myColor
set contents of default entry "TextColor" of user defaults to myColor
log avalue
--This line does not work:
set alpha value of text field "text1" of window "main" to avalue