Launching Programs
or
Executing Commands

If you would like to execute a command or launch an application upon FWCalendar completing either a monthly or yearly calendar, then set the LaunchM (to execute a command after completing a monthly calendar) or LaunchY (to execute a command after completing a full-year calendar) variable. You'll want to have an understanding of ARexx to do this, since the LaunchM and LaunchY variables are simply INTERPRETed. Some possibilities might be:

For either host application (Final Writer or PageStream), for use with monthly calendars only:
Start FWCAddEvent:   LaunchM = 'call "'scriptdir'FWCAddEvent.rexx"'

For either host application (Final Writer or PageStream), for use with monthly or yearly calendars:

Delete temporary files:   LaunchM = 'address command "delete >NIL: "Storage" all force quiet"'

When the host application is Final Writer, :

Save the calendar:   LaunchM = 'SAVE'
Import an image:   LaunchM = 'INSERT GRAPHIC'

When the host application is PageStream, for use with monthly or yearly calendars:

Save the calendar:   LaunchM = 'SAVEDOCUMENT DEFAULT'
Import an image:   LaunchM = 'PLACEGRAPHIC'
Save as a graphic:   LaunchM = 'SELECTOBJECT ALL; GROUP; EXPORTGRAPHIC'