This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

Determining the data type of an attribute

All attributes in Tinderbox, System or User, are one of a number of different Data Types (String, Boolean, etc.). The type of an attribute is important in Tinderbox action code as it has some affect on how you may use the attribute and the under-the-hood assumptions Tinderbox makes when using it. How then to tell the data type for any given attribute?

User or System? If uncertain, look at the User Attributes list first, as there are usually only a few of these. If the attribute is a User one, click in the left column and look at (but don't change!) the 'type' pop-up at the top of the right side of the dialog.

If the attribute is not on the User list, it must be a System attribute. The quickest way to then find its data type is to use aTbRef's System Attribute listing, which lists all system attributes in alphabetical order.

If you don't have access to aTbRef, first scroll through the program's System Attribute list and find in which attribute 'group' the attribute belongs (e.g. $AgentPriority is in the 'Agent' group). Now, with a note selected, open Info view. Then:


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Attributes : Determining the data type of an attribute