User Tools

Site Tools


dictionary:unitinformation:xtgetdata

XT Get Data

This is a debugging command and should not be necessary in the normal course of events. It can be useful in some debugging circumstances and during the development of plugins. It returns the low level value of a keyed entry in the Unit database entry. It is not an AppleScript verb nor a property of the xUnit class but rather a handler and so much be placed inside a tell block. The following data types are supported: Booleans, string or text, integer or float and dates. Any other data type will raise an error to the script.

tell xUnit “name of the unit”
  set theUnitTypeName to xtGetData( “typeName”)
end tell

write log “the type name of the unit is: “ & theUnitTypeName

See Also:

dictionary/unitinformation/xtgetdata.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1