I would like to be able to get the text of the enumeration within a applescript, rather than having to have a double list of text items and color space enumerated values, for example the first few values of the list might look like:
set colorMapping to {{color space:Eight channel, colorText:“Eight channel”}, {color space:Eight color, colorText:“Eight color”}, {color space:Five channel, colorText:“Five channel”}, …}
which I would then have to iterate over looking for the color space that I have got to determine the desired text.
Yes, you can do this, but I’m not sure if it works for all enumerated types and different applications. Something like this using the ‘run script’ standard addition:
tell application “QuickTime Player”
activate
set the_scale to (run script “double”)
set scale of front movie to the_scale
end tell