Hi, I have this very simple script that works fine in Script Editor (it displays something like “millimeters” - which is fine) but not when saved as applet (is displays “constant ****zmms”). All I want to do is being able to assign (horizontal measurement units) as string to my variable. What am I doing wrong?
tell application "Adobe InDesign CS5.5"
activate
tell view preferences of document 1 to set my_units to (get horizontal measurement units) as string
tell me to display dialog my_units
end tell