Variables are special codes that may be used in place of ordinary text in Text Boxes and in Button Action specifications. Variables are translated according to information about the current slide.
All variables have the format:
Where VariableNam e is one of the variable names described below.
By right-clicking on a text box or button action specification, a variable can be inserted by selecting it from a list.
There are two different types of variables: User and Built-In:
||Abbreviated weekday name
||Full weekday name
||Abbreviated month name
||Full month name
||Date and time representation appropriate for locale
||Day of month as decimal number (01 - 31)
||Hour in 24-hour format (00 - 23)
||Hour in 12-hour format (01 - 12)
||Month as decimal number (01 - 12)
||Minute as decimal number (00 - 59)
||Current locale's A.M./P.M. indicator for 12-hour clock
||Second as decimal number (00 - 59)
||Week of year as decimal number, with Sunday as first day of week (00 - 53)
||Date representation for current locale
||Time representation for current locale
||Year without century, as decimal number (00 - 99)
||Year with century, as decimal number
||Either the time-zone name or time zone abbreviation, depending on registry settings; no characters if time zone is unknown
Built-In Variables are translated as various meta-data about the picture which is embedded in the original picture file. While some picture information is common to all file types, most of the information is available only in JP EG files with embedded EXIF information. Many cameras embed this information at the time the picture is taken.
The following Built-In Variables are available:
For example: The text:
This picture: ^(Name). which is located on my computer at ^(FileName) is ^(Width) pixels wide and was taken on ^(Date).
Is translated to
This picture: MyWifeAndKids, which is located on my computer at C:\MyPictures\MyWifeAndKids.jpg is 1200 pixels wide and was taken on 06/14/06 .
The format of the date can be specified by appending ":" and any of the following format codes to the Date tag: (examples are for the date: June 14, 2006 , 4:25:22 pm )
^(Date:%x) " 6/14/04 " (or 14/6/04 in Europe ) (this is the default for Date)
^(Date:%X) " 16:25:22 "
^(Date:%I:%M %p) " 04:25 PM " (this is the default for Time)
^(Date:%A %B %d, %Y %I:%M %p) " Wednesday, June 14, 2006 04:25 PM "
User Variables may be created. Any variable name not otherwise used may be created. Most any text can be used in user variables, including other variables.
The user variable editor is accessed from Edit - User Variables. User variables are system global - i.e. they are remembered across sessions and documents.
Here is how you use the tags:
To add the name of each file to label, very handy for photographers, you could create a line a label that looked like this:
The photo name is ^label and it is ^Width pixels wide.
If the file name for example was ABC0038.jpg and the image was 1000 pixels wide your label would appear as "The photo name is ABC0038 and the image is 1000 pixels wide.
Create a label using the attributes describes in this section (Label Tab) and then use Apply to all. Now all you slides will contain the name and the width. We will be changing this and adding a much larger selection of variables that can be incorporated automatically in a text string.
Note that Variables can be used in web actions and anyplace a text string is output.