Properties
Most of the properties of a SenseTalk object are ordinary containers that can store any type of value, and have no special inherent meaning outside of the way they are used in your scripts. There are a few special properties, however, that do affect the way an object is treated by SenseTalk. These include the asText
, asTextFormat
, objectType
, and script
properties that show up as ordinary properties of your object but have special meaning. There are also a number of hidden object properties that, although they are not listed by the keys
function, they can be accessed and in some cases changed by your script. These include the long id
, name
, and helpers
properties.
Referring to an Object’s Properties
An object’s properties can be accessed in several ways, as described for property lists in Lists and Property Lists. These include the dot (.
), apostrophe-S (‘s
) and of
syntaxes. Ordinary properties are treated as containers – you can store any type of value into them, or modify their values just like those in a variable or other container.