====Unit Property Names From==== Unit Properties can store any applescript object by names. This verb returns an AppleScript list of the names of any unit properties stored for the named unit. ===Usage:=== **Unit Property Names From** (text, the name of the unit. Defaults to [[dictionary:unitinformation:thisunit|thisunit]])\\ Returns an applescript list. ===Examples:=== To log the names of any properties stored for the unit: set myPropertyNames to Unit Property Names From “my unit” write log “unit property names are:” for each thisName in myPropertyNames write log thisName next To see if a unit property name exists for a specific unit use the “is in” applescript check like this: if “name I want to check for” is in (unit property names from “the unit name”) then write log “yes it is!” else write log “no it is not.” end if ===See Also:=== * [[:manual:unitproperties|Unit Properties]] * [[getunitproperty|get unit property]] * [[dictionary:unitinformation:setunitproperty|set unit property]] * [[dictionary:unitinformation:removeunitproperty|Remove Unit Property]]