| List of Topics |
|
|
|
Substituion Rules
As implied by the interface in Figure 1, a number of substituions occur when creating or updating
an entry. The following table details each substitution rule.
| Format | Substitution | Example Format String | Resulting String |
|---|---|---|---|
| %f | The person's first name. | %f's Birthday | Joe's Birthday |
| %l | The person's last name. | %f %l's Birthday | Joe Schmo's Birthday |
| %n | The person's nickname. | %n's Birthday | JS's Birthday |
| %a | The person's age on their next birthday.
If the date type is not a birthday but an anniversary, it would be the number of
years on their next anniversary. This rule only makes sense to use if you are exporting without recurrence enabled. |
%f %l's age is %a. | Joe Schmo's age is 24. |
| %d | The person's date of birth. | %f %l was born on %d. | Joe Schmo was born on January 1, 1970. |
| %t | The date time of the date being exported. | %f %l's %t | Joe Schmo's Birthday |
| %N | Short cut for the combination of "%f %l". | %N's %t | Joe Schmo's Birthday |
| %c |
The Address Book's date label for the date from the card. For anniversaries and birthdays,
the date label is Anniversary and Birthday respectively.
For any other custom date label,
it will be the custom date label defined for the card.
In the following example, assume "Joe Schmo" has a custom date with a label, "Jane", for his daughter. The "Jane" date label has been assigned to the "Birthday" date type. Read the date types help information to learn how to assign date types to a date label. |
%c's %t from %N's card | Jane's Birthday from Joe Schmo's card |
| %s |
A customizable Substitution Rule used during export.
The Substitution Rule is assigned to a date label,
Birthday and Anniversary for example, not
to an individual card or date from a card. Each
Date Type has a default
Substitution Rule. The default Substitution Rule for a Date Type applies to
all associated Address Book date labels initially. You can override the
Substitution Rule for any Address Book date label by double-clicking over existing
substitution rule in the 'Manage Date Types...' dialog.
For more information, read about
managing date types.
In the following example, Substitution Rule (%s) for the birthday date label has the value of %N. |
%s's %t | Joe Schmo's Birthday |
Other Information
If you cancel, your export settings are not saved.