Short: Create calendars w/ events in FW Author: Ron Goertz Uploader: rgoertz@wsu.edu Type: util/rexx Replaces: util/rexx/FWCalendar* A macro for creating calendars in Final Writer v4+, and a macro for adding events to those calendars. The calendar macro by Andrew McCardie is a very versatile macro, allowing calendars in three different formats. The calendars work well for posting on a wall or desk and writing appointments or important dates in. But I wanted more ... I wanted to print the previous month and next month in the corners (mini calendars). I wanted pre-defined holidays (including those on floating days, like Thanksgiving) and special occasions to be inserted automatically when the calendar was created. I wanted to enter single-day events on the calendars after the calendar was created. I wanted to enter events stretching across several days or weeks easily. FWCalendar does a fine job of meeting these goals. Features: Mini calendars "Shadowed" days from previous/next months Option to print full year on a single page Automatic holidays Multiple holidays on a day Easter and Easter-based events can be included Single-day events Multi-day/week events Multiple-line events Repeated weekly events Boxed events 'Localized' Full control over colors Test Mode to verify variables Separate settings for Monthly and Yearly calendars CALENDAR MACRO HISTORY 2.25 29 Dec 98 Separate data files can be used for Yearly and Monthly calendars Added 'Orientation' ('Tall' or 'Wide') to variables Multiple highlights on a single date improved (NO limitations!) Floating date for Easter determined Events based on time-after-Easter added (see Installation instructions) Fixed the part of the Guide explaining how floating dates are calculated Fixed the entry for calculating Thanksgiving (wrong on a recent upload, though previously working?) Fixed the year for mini-calendars printed at the turn of the year (also wrong on a recent upload, though previously working) 2.20 10 Oct 98 Multiple highlights on a single date are now allowed (see Highlights 2.15 Allowed true cancellation of the "Save changes to document?" requestor Added a TestMode to check the variables in the FWCalendar.data file. Corrected the order in which user variables are read; resulted in the proper use of localized values for Black and White. If Extended mode is turned off, the empty boxes are no longer drawn 2.10 Moved ALL user variables to FWCalendar.data file Added control over colors for about everything (see variables) Re-wrote (cleaned up) LOTS of the code 2.05 Not a version change, because it's exactly the same as the previous version 2.05 without my mistake of accidentally commenting out two essential lines. Do have some updates to the German and Italian translation (FWCalendar.data) files, though. SORRY! 2.05 Deleted my hard-coded margins. Oops! Canned the FW requestors in favor of Reqtools requestors Changed the way the upper area (the area with the mini-calendars and the month name) is calculated to allow for hard-coding margins (Dieter Zimmermann wanted his calendars to appear on the lower half of a portrait-oriented page, presumably to allow the addition of a picture on the upper half. Good idea, Dieter!) 2.0 Now 'localized' for American, German, Spanish, French, Italian, and Portugese 1.4 Full-year calendar now fills the full page Font widths now work 1.3 Fixed macro to allow use of a comma for the decimal point instead of the period 1.2 Added box/bold of highlight dates in mini-calendars Added option to print full year of calendars on a single page 1.1 de-Americanized macro (no longer assumes US Letter paper and inch units) 1.01 Corrected default margins Removed my personal highlights Set default fonts to more likely locations 1.0 First release ADDEVENT MACRO HISTORY 2.50 29 Dec 98 Fixed some calls that may or may not have caused some people problems 2.45 10 Oct 98 Modified slightly to work around the fact that on some machines the Gui4Cli routine signalled that it was done before it really was. 2.40 Accommodated changes in FWCalendar.data file 2.35 Accommodated the upper-area-calculation change made in FWCalendar.rexx macro. 2.3 Fixed bug that didn't allow the close gadget to work Now 'localized' for American, German, Spanish, French, Italian, and Portugese 2.2 Can now (indirectly) enter the '$' in events (see User Variables) 2.1 Fixed macro to allow use of a comma for the decimal point instead of the period 2.0 Now REQUIRES Gui4Cli, but what an improvement! Can enter weekly events 1.2 de-Americanized macro (no longer assumes US Letter paper and inch units) 1.1 Corrected default margins Set default fonts to more likely locations Added multi-line, auto-breaking, non-boxed events 1.0 First release ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 717 334 53.4% 10-Sep-98 22:50:36 FWCalendar.info 12779 4252 66.7% 29-Dec-98 22:29:10 +AddEvent.rexx 1909 708 62.9% 29-Dec-98 22:26:38 +FWCalendar.data 1631 658 59.6% 24-Dec-98 09:53:16 +FWCalendar.data 909 405 55.4% 24-Dec-98 10:00:14 +FWCalendar.data 921 401 56.4% 24-Dec-98 10:00:48 +FWCalendar.data 31708 9149 71.1% 30-Dec-98 15:16:48 +FWCalendar.Guide 21856 5973 72.6% 29-Dec-98 22:28:38 +FWCalendar.rexx 3250 853 73.7% 22-Dec-98 11:58:26 +FWCalendarE.data 1264 516 59.1% 24-Dec-98 10:01:16 +FWCalendar.data 945 399 57.7% 24-Dec-98 10:01:44 +FWCalendar.data 343968 343968 0.0% 24-Aug-98 22:45:26 gui4cli.lha -------- ------- ----- --------- -------- 421857 367616 12.8% 02-Jan-99 14:37:10 12 files