A preferences file is used for the monthly calendars (for use with FWCalendar) and a data file for pre-defined event data (for use with FWCAddEvent).
Preferences Files
Preferences files contain: translation strings, highlight and image information,
and variable values that differ from FWCalendar's defaults. These variables
contain, among others, format, color, and font information.
Settings in the preferences file can be changed via the variable editor. These changes are stored for future use, but are not saved to the preferences file and will therefore be lost any time a preferences file is loaded. To incorporate the changes into a preferences file, select the "Export" button; this will save any variables that differ from FWCalendar's defaults to the desired file (note: the export filename cannot be the same as the preferences filename, even if they are in different directories). The contents of the export file can then be added to a preferences file with a text editor. The preferences files are never changed by FWCalendar.
Should you change any values in the preferences file, you will need to select the "Load" button in the variable editor and re-load the preferences file. Note that this will cause any previous changes made with the variable editor to be lost, so it is always best to keep your preferred default values set in the preferences file.
Both FWCalendar and FWCAddEvent use the same preferences file for initializing variables, so you should not change the preferences between using FWCalendar and FWCAddEvent. See notes on the variable editor for more details.
VARIABLES There are over 100 user-definable variables that can be added to the localized preferences files. This allows you to keep your variables separate so you don't have to change them every time a new version of the macros is released, and allows you to customize FWCalendar to a great extent.
HIGHLIGHTS "Highlight" is the term I'm using to describe holidays, anniversaries, birthdays, and other notable dates. There is no design limitation on the number of highlights that can be assigned, since multiple highlights can be assigned for each day of the year. There is a comment line beginning the highlight list for each month; this is not necessary for the macro but helps organize the highlights.
IMAGES You can specify images to be inserted in the center of certain dates such as birthdays, anniversaries, and other days. The images can be inserted whether or not a highlight is inserted on that date. Only one image can be inserted for a given day.
Start
| The offset from the "root date" selected in the FWCAddEvent requester; this value is used to calculate the event's actual start date. This keyword is required. | |
End
| The offset from the "root date" selected in the FWCAddEvent
requester; this value is used to calculate the event's actual end date.
If omitted, End will be set equal to Start.
| |
Font
| For Final Writer, the full path and name of the desired font; for
PageStream, the name of an installed font. If omitted, the font
defined by Font.Highlight will be used.
| |
Size
| The desired font size (will be truncated to a whole number for Final
Writer). If omitted, the calculated font size (based on
AddEventRows ) will be used.
| |
Line
| The line number to used for the event (0 - 16)�. If omitted, the event will be printed on line one. | |
Options
| B for boxed, W for Weekly (they can be used separately or together). If omitted, the event will not be boxed (unless it is a multi-day event) and it will not be repeated for succeeding weeks. | |
TextColor
| The color (eg, blue or red) to be used for the event text. If omitted, the
event will be printed in black or in the color defined by
Color.AddEvent .
| |
BoxColor
| The color (eg, blue or red) to be used for the box's background. If
omitted, the box (if drawn) will be white or the color defined by
Background.AddEvent .
| |
Event
| The event (if single or double quotes are used, they will be included on the calendar). This keyword is required. |
Start = 0 Event = Testing
| The word Testing (without quotes) will be inserted on line one of the "root date" |
Start = 0 End = 1 Line = 2 Event = "Testing" | "Testing" (including quotes) will be inserted (and boxed because it spans more than one day) on line 2 of the "root date" and the next day |
Start = 4 Line = 1 Font = Zapf-Chancery Size = 12 TextColor = Green BoxColor = Blue Options = bw Event = 'FWCalendar is Great!' | 'FWCalendar is Great!' (including single quotes) will be inserted with green, 12-pt, Zapf-Chancery text, backed by a blue box, on line 1 of the 4th day after the "root date". This will be repeated weekly through the end of the calendar |
Start = 15 Line = 4 Options = 'B' Event = Teacher Conferences//No School | Teacher Conferences will be centered on line 4 and No School will be centered on line 5 of the 15th day after after the "root date." The pair of lines will be backed by a box of the color defined in the appropriate data file (or white if the default data was used). |