JavaScript can be very picky about syntax. A missing comma or quotation mark
can cause an error resulting in a truncated or even missing calendar display. Kevin had told me this was a common issue among
the people he heard from. To reduce the chance for such errors, I use a language-sensitive text editor such
as the FREE SciTE editor. Then I got the idea of writing Microsoft Excel macros to convert
the event data between the event script file format and the spreadsheet table display with which many people are now familiar
and decided to implement this and some of my other enhancements.
Now I use the familiar spreadsheet environment for event editing
and just select the "Export Calendar Script..." item I added to the "File"
menu to format my events into an event file automatically. I prefer to start with my event spreadsheet
and "push" the events out to the script, but if I want to make adjustments to the event script directly, I can also import
the revised data from my edited event script into the event spreadsheet for next time. The "Import Calendar Script..."
feature is also useful if you already have an event script you have been using with Kevin's version and you want to maintain
it in Excel without having to re-enter everything.
I set up the spreadsheet to calculate the day of the week automatically from
the date entered to help prevent entry errors. I also use the conditional fomatting capability of Excel to alternate
the background color on even and odd months and turn it red if a date is out of order to help with event entry.