|
|
Each project can have it's own variables. These variables can be used to store data and add information into the various update forms. When you select a variable to use in one of the update windows, you will also have access to system variables which contain certain system related information such as date, time and the various special folder locations, such as Program Files, My Documents etc. etc.

To create a new variable, you can click on the New button, hit the Insert key on the keyboard or right click on the list and select "New Variable".
To edit the selected variable, you can click the Edit button, hit the Enter key on the keyboard or right click on the list and select "Change Variable".
To delete the selected variable hit the Delete key on the keyboard or right click on the list and select "Delete Variable". You will be prompted to confirm deletion of the variable.
To cancel editing or inserting a new variable, press the Esc key or click the Cancel button next to the Edit button. The Alt-C key on the keyboard also cancels the editing/insert.

All variables that you create must start and end with a percent character - %. This uniquely identifies them in entries so the variable can be expanded to it's correct value. System Variables start and end with a dollar character - $. If you do not place the % before and after the variable name, the Build Automator™ will do it for you. If you notice that the variable name is not being formed correctly, please report it to our bug tracking system at http://www.buildautomator.com/bugtracker.php
The Variable name, including the two % at the beginning and end, is limited to 40 characters. The static variable value is currently limited to 255 characters.

Variables can have one of 5 data types, String, Decimal, Numeric, Date or Time. When you are working with Actions, you can also enter variables to use in certain actions. These variables always default to the String type and cannot be changed when you enter them. You can, however, change them in the project variables window to the proper datatype if String is not suitable.

The formats are hard coded in beta 1 but will be user definable in upcoming beta releases.
String @s255
Decimal @n-20.4
Integer @n-14
Date @d10-
Time @t4
Data Type |
Formatting |
Explanation |
String |
@s255 |
255 character string without any special formatting |
Decimal |
@n-20.4 |
Decimal format with 11 digits, a period and 4 decimal digits. Grouping by comma is by default. Example: 12,345,678,901.1234 |
Integer |
@n-14 |
Signed Integer (31bit) format with 14 digits. Grouping by comma is by default. Example: 2,147,483,647 |
Date |
@d10- |
Date formatted as YYYY-MM-DD. This format is used as default as it allows dates to be used in filenames or pathnames. |
Time |
@t4 |
Time formatted as HH:MM:SS. This format is not suitable for use in filenames and pathnames. |