HOTKEY by Mike Nugent as published in Portable 100 Magazine, Sept/88 HOTKEY is a little utility that performs some special magic with simple, two-key commands. Whether you're in BASIC, TEXT, ADDRESS, or SCHEDL * Display the current day, date, and time * Automatically type day, date or time * Send a form feed to your printer * Offer a choice of five-space or eight-space tabs * Turn itself off It can be customized, uses only 379 bytes of RAM, and as a bonus, even fixes the Model 100 "date bug." INSTALLING 1) Kill all .BA files currently in the RAM. 2) Install HOTKEY.BA by loading from a .DO file. 3) DO NOT edit the installed version!!! USING 1) Run HOTKEY 2) After running it disappears so you can not run it again... cold start 3) HOTKEY commands work anywhere except in TELCOM, and the main menu HOTKEY MEANING esc-V (View) display day/date/time esc-D (Date) type date in MM/DD/YY format esc-T (Time) type time in HH:MM:SS format esc-W (Week) type day of the week esc-F (Form) send form feed to printer esc-O (Off) turn HOTKEY off esc-TAB (Tab) five-space tab LOADING ERROR Packing machine code into a .BA program can be a complex affair, because you can't predict where the program will reside in memory. Since the values of certain bytes depend on the program's location, sometimes a byte contains a value BASIC misinterprets. The load error message warns you of such a byte. You must move the code higher in memory, a byte at a time, until all the bytes are acceptable to BASIC. Here's how: 1. Type NEW and press ENTER. Type KILL"HOTKEY.BA and press ENTER. 2. Load a fresh copy of HOTKEY.BA and save it to RAM as HOTKEY.BA. 3. Edit line 10. Insert an X right after the REM, making it REMX 4. Edit line 110. Change the +5 to +6 5. Edit line 2000. Change the +5 to +6 6. You've moved the program up one byte in memory. COMPATIBILITY 1) TS-DOS likes it just fine. 2) There's no conflict with MENU.BA 3) It's completely compatible with DVORAK 4) SUPERA turns HOTKEY off, and vice versa, so use them one at a time. 5) Ultimate ROM II cooperates with a few exceptions: a) UR-2 programs exit to the main menu rather than to UR-2's menu b) After using HOTKEY's View command with UR-2's VIEW80 activited, the screen clears completely. Scrolling up or down restores the missing lines. c) CTRL-J, CTRL-O, and CTRL-L functions of UR-2's TEXT are disabled with HOTKEY active. To reenable them, turn HOTKEY off via its esc-O command. d) After exiting a text file from UR-2, the main menu shows TEXT as "TEXT." (with a period added). These problems appear to be harmless so far, but be cautious. With any new software, make frequent backups until you know what works with what.