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:
- use the pop-up list at the bottom of the top section to choose the correct attribute group.
- find the desired attribute, and click its name the select it - you mist click the left column of the listing (the right is for the attribute's local value)
- click the 'Edit' button at the bottom of the Info view dialog.
- a new dialog opens showing the data type in a disabled pop-up.
- use 'Cancel' to close the dialog - you don't want to actually edit anything.
- you can then close Info view as well.