In my scriptable app (iClip) I like to add a way to specify colors that include an alpha channel value.
Is there some predefined class for this already in the sdef context? If not, I guess I just declare it as a list of four values, ideally doubles from 0 to 1, as it’s easier to handle then the standard 16 bit values.
Actually … is there even a float type in Applescript? What’s its name I need to use in the type=“…” declaration in the sdef? Huh, it seems that “float” is to be used.