Dec 152017
 
Improved version of PC Magazine's (Vol 9 No 6) schedule.com.
File SCHED2.ZIP from The Programmer’s Corner in
Category Databases and related files
Improved version of PC Magazine’s (Vol 9 No 6) schedule.com.
File Name File Size Zip Size Zip Type
SCHEDULE.COM 17948 7075 deflated
SCHEDULE.DOC 8814 3209 deflated

Download File SCHED2.ZIP Here

Contents of the SCHEDULE.DOC file


UTILITIES
MICHAEL MEFFORD
Vol. 9, No. 6

Modified by Les Moskowitz -- "|" indicates modifications from the original
SCHEDULE.DOC file as provided by PC Magazine.

SCHEDULE

Purpose: An appointment scheduler that provides both a monthly overview and a
detailed daily screen with notepad and optional reminder chime;
includes editing, printing, and archiving facilities and can be used
as either a standalone or a memory-resident utility (15KB RAM
required).

| Format: SCHEDULE [/I] [/U] [/Hn] [/Pn...n] [/G] [/An] [/C] [/M] [/B]

| A description of the various options can be obtained at any time
| by running "SCHEDULE ?".

Remarks: When installed as memory-resident by using the optional /I switch,
SCHEDULE automatically reminds you of appointments by chiming and
| popping up its appointment screen. The default hotkey is Ctrl-].
| (Holding the Ctrl-key and right bracket key simultaneously).
This can be changed with the /H switch to any alphanumeric Ctrl- or
Alt-key combination (n), either at or after installation. To make
Ctrl-S the hotkey, enter SCHEDULE /H Ctrl S. The /P parameter allows
sending up to 10 decimal printer set-up codes (n...n). Include the
/G switch for printers that support the IBM line-drawing characters.

The reminder chime can be disabled by including the /C switch, and
| automatic screen pop-up can be toggled by using the /A option. /A0
| will turn off the automatic screen pop-up, /A1 will turn it on. This
| option has been added because STSC's APL*PLUS steals the keyboard
| interrupts and the keyboard will be frozen if the pop-up screen appears
| while in APL. I include the line "SCHEDULE /A0 > NUL" in a batch file
| which runs APL prior to running APL.EXE, and the line "SCHEDULE /A1 >
| NUL" in the file subsequent to running APL. The /M parameter prevents
the default midnight pop-up so overnight programs can be run. If
screen contrast is a problem (e.g. with laptops), use the /B
(black-and-white) option or change the default colors, as explained in
the article. SCHEDULE can be uninstalled with the /U option, subject
to usual limitations.

| SCHEDULE.COM must either be stored in the current directory, or
| the variable "SCHEDULE=" must be included in the environment. This
| may be done by either including the command "SET SCHEDULE=" in an
| autoexec.bat file or running the command directly from DOS. Note
| that a directory must follow the "=" sign. I use
| "SET SCHEDULE=C:\TODAY"
| as my command contained in an autoexec.bat file. If such a line is
| added to the environment, then the only requirement is that
| SCHEDULE.COM be available from the path command. SCHEDULE.DAT and
| SCHEDULE.ASC will be created and maintained in the directory indicated
| by the SET command. If such a line is not added to the environment,
| then the first sentence of the following paragraph applies. Otherwise
| that sentence can be ignored.

SCHEDULE.COM and the two files it creates (SCHEDULE.DAT and
SCHEDULE.ASC) must be stored in the current directory when the program
is run as a standalone or installed as a memory resident. Batch files,
described in the published article, will simplify this requirement. As
a text-based program, SCHEDULE will not come up over a graphics screen
(e.g. Microsoft Windows); it must be installed before SideKick (if
used).

SCHEDULE.DAT contains all appointment records saved by pressing F2 (see
command summary overside). It can be purged or archived in whole or
part by pressing F4. A suitable date up to which to purge can be
selected by F3 (today) or with the PgUp/PgDn keys (moves by days) or
with Ctrl-PgUp/PgDn (moves by months). F8 selects an individual day
for purging. Menu prompts are provided for determining whether the
selected records are deleted or automatically appended to SCHEDULE.ASC
to provide a permanent record usable by any ASCII editor.

The monthly ("calendar") and daily ("appointment") displays cover the
| period from 6:00 A.M. to 9:30 P.M. in hour and half-hour increments,
respectively. Within each screen the following commands can be
executed:

Keystroke Calendar Screen Appointment Screen

PgUp/PgDn Next month Next Day
Ctrl-PgUp/PgDn Next year Next Month
Arrow keys Select day Navigate screen
Home(1) Beg. of column Beg. section column
Home(2) Beg. of calendar Top of section
End(1) End of column End section column
End(2) End of calendar End of section
Ctrl-Home Beg. of calendar Beg. of section
Ctrl-End End of calendar End of section
Ctrl <- Beg. of column Beg. section column
Ctrl -> End of Column End section column
Enter Select app't. Enter
Esc Exit Schedule Return to Calendar
F2 Save app'ts. Save app'ts.
F3 Today Today
F4 Purge app'ts. Purge app'ts.
F5 Print calendar Print app'ts.
F6 Go to Notepad
Shift-F6 undefined Clear section
Ctrl-F6 undefined Clear all 3 sections
Tab undefined Go to next section
Shift-Tab undefined Go to prev. section
Del undefined Del. char. at cursor


CUSTOMIZING SCHEDULE

The following instructions will enable you to customize the colors used by
SCHEDULE and to change the tone of its chime. Start by making a backup copy
of SCHEDULE.COM and then enter:

DEBUG SCHEDULE.COM

You are now ready to modify SCHEDULE.COM. If at any time you make a mistake,
you can abort the editing process by entering Q. After entering any desired
modifications last two commands you enter are:
W
Q
for Write to disk and Quit DEBUG.

COLOR SCHEME
Enter the following DEBUG (E)nter instructions, replacing the xx with a new
hexadecimal color value. The default color values and descriptions that
SCHEDULE uses are shown as comments, to the right of the semi-colons.

| E 597 xx ; 17 Lt. gray on blue.
| E 598 xx ; 71 Blue on light gray.
| E 599 xx ; 1E Yellow on blue.
| E 5A0 xx ; 39 Bright blue on cyan.
| E 5A1 xx ; 1B Bright cyan on blue.
| E 5A2 xx ; 70 Black on light gray.

Alternative colors may be selected from those listed below. The background
color number is entered for the first x and the foreground color for the
second x. Do not use a light color for the foreground, or the display will
blink.
Dark colors Light colors
0 Black 8 Dark gray
1 Blue 9 Bright blue
2 Green A Bright green
3 Cyan B Bright cyan
4 Red C Orange
5 Magenta D Violet
6 Brown E Yellow
7 Light gray F White

For example, to change the yellow on blue (1E) to red on blue (14) you would
enter

| E 599 14

CHIME TONE
The value used to calculate the tone of the chime is a hexadecimal number that
can range from a low of 0025 to a high of 1150. The default value is 0416.
You'll find numbers close to the default more pleasing. To change the tone,
enter

| E 5AA yy xx

where xxyy is the new tone divisor. For example, to change the tone from the
416 Hz C note to an A (a divisor of 370), you would enter

| E 5AA 70 03

Note that the numbers must be entered exactly as shown above. The 70 03
(yy xx) represent 0370 (xxyy).


 December 15, 2017  Add comments

Leave a Reply