MachII - Mouse Accelerator with Hotkeys. Version 2.0 04-23-88. This program may be freely distributed but may not be used in any commercial product without prior written permission. Source available. Shareware donations accepted. For those who hate doc files, just type "run MachII" and then "Cancel" the "Can't Open Configuration File!". Now activate the clock window with your mouse and press the right button. The requester displayed has all of your options and hotkeys. Change them to what you like and save it. AND TRY THIS; hit Alternate- Escape then Amiga-F1 then type (for example) "diskcopy df0: to df1:" then hit Alternate-Escape again. Now press Amiga-F1. Also look at F1 in the requester. Read on if you're still interested. FEATURES Hotkeys 20 macros activated with the Amiga- or Ctl-Amiga- Function keys or by typing the first few letters of the macro. Accelerator Speeds up mouse movements. Adjustable. PopCli Execute a NewCLI or any other command. Screen Blanker Blank the screen after an adjustable period of time. SunMouse Activate a window by moving the mouse into it. ClickToFront Move a window to the front by clicking in any part of it. Screen Shuffler Use Left_Amiga-M to push ANY screen to the back. Clock Title bar clock with memory watcher. Alarm Set an alarm. Beeper Beep every 15 minutes. Adjustable. Meter Maintain online costs. Adjustable rates. Qualifier Accum Accumulate qualifiers to be added to a key. All features may be turned off. Unused hotkeys are passed through and may be defined on the fly. Configuration saved to disk. NOTES: 1. All special keys and qualifiers except Amiga and Ctl-Amiga Function keys may be changed on the command line. The defaults are the Escape key qualified with: Alternate Begin/End a macro definition. Shift-Alternate Begin accepting macro name. Control-Amiga Popup requester. Amiga Execute command string. 2. When used in hotkey macros, function key numbers are single digits. This means that 0 is F10, 1 is F1, 9 is F9. UPDATES: 2.0 This is a major rewrite of Mach 1.6. Although it can still do everything that the old one could (and more), the method of setting your variables and hotkey macros has changed. It is about 8k larger (about 20k) but if this is to big, you can always use the old Mach. The nicest thing about this version is the ability to define a hotkey macro on the fly and if needed, edit it in a string gadget. There are now 20 hotkeys, the Amiga-Function keys and the Ctl-Amiga-Function keys. Bug fix: The accelerator works properly with ProWrite. May also help when using PageSetter. OVERVIEW: MachII is a utility program that provides many optional features for both CLI and WorkBench users. Your own configuration may be saved to disk. Each function key may be used as a hotkey and hotkeys may be defined on the fly. To do this, simply hit Alternate-Escape, an Amiga-Function or Ctl-Amiga-Function key and then type your macro. You will be prompted for these by messages in the clock and by beeps. You may use any keys including qualifiers, arrow keys and numeric keypad keys. When finished, hit Alternate-Escape again. You may now use your macro by hitting the Amiga-Function or Ctl-Amiga-Function key or by hitting Shift-Alternate-Escape, enough characters to uniquely match the macro followed by return. You may also edit the macro in a string gadget by hitting Control-Amiga-Escape or by activating the clock window and pressing the right mouse button. A configuration file is not neccessary but without one you will get the defaults. You will also get a "Can't Find Configuration File" requester. After you have setup your macros and other variables, save this to the file s:mach.config. USAGE: Run MachII [?ltfwmprn] Most people will not need any arguments. These are provided for those who find a key combination that conflicts with another program or who want the clock in a different location or want a different config file. Arguments: All optional. Any order. ? Display help. -lnnn Clock left edge. Default = 296. -tnnn Clock top edge. Default = 0. -fname Load configuration file "name". Default = s:Mach.config. -w Disable auto clock to front. -mCALRSk Change the macro begin/end key combination to the string following -m. -mAE is the default Alternate-ESC. -pCALRSk Change the PopCli/Command string key combination to the string following -p. -pLE is the default Left_Amiga-ESC. -rCALRSk Change the requester key combination to the string following -r. -rCLE is the default Control-Left_Amiga- ESC. -nCALRSk Change the macro invoking key combination to the string following -n. -nSAE is the default Shift-Alternate-ESC. C = Control. A = Alternate. L = Left-Amiga. R = Right-Amiga. S = Shift. k = Desired key T = Tab. E = ESC. D = Del B = Backspace. H = Help. F = F1. (F1 only!) 0-9 = Numeric pad 0-9. - = Numeric pad -. . = Numeric pad .. e = Numeric pad Enter. Usage eg. Run MachII -l270 -fs/wp After it is running, you may either activate the clock with the mouse and press the right button or press Control-Left_Amiga-ESC. This will pop up a requester jammed full of gadgets. All options and hotkeys may be modified here. The gadgets are: 1st ROW left: Toggle between Amiga and Control-Amiga hotkeys. center: Clear all hotkey definitions. center: Abort a macro definition. right: Change the maximum macro size. 2nd ROW Select each hotkey. 3rd ROW Hotkey definitions. 4th ROW Left_Amiga-ESC execute string. 5th ROW left: Activate/deactivate SunMouse. center: Activate/deactivate ClickToFront. right: Activate/deactivate Screen Shuffler. 6th ROW left: Activate/deactivate Qualifier Accumulator. center: Toggle clock. center: Toggle online meter. right: Reset online meter. 7th ROW left: Select blanking interval. (0-99 minutes) center: Select beep interval. (0-999 minutes) center: Set the alarm time. 24 hour format. center: Select online rate. ($00.00 - $99.99) right: Change the acceleration rate. (0-9) 8th ROW Configuration file name. 9th ROW left: Done. center: Load configuration file. center: Save configuration file. right: Remove MachII. Hotkeys: There are 20 hotkeys. 10 are the Amiga-Function keys and 10 are the Ctl-Amiga-Function keys. In the requester you can select each hotkey with the Fn gadgets and toggle the Ctl-Amiga/Amiga gadget. The hotkey macros may be edited in the string gadget. The default maximum macro size is 255 characters but this may be changed in the size gadget. You cannot change the size while you are creating a new macro and the new macro size will not take effect until you select "Done". This controls the size of dynamic buffers which are allocated only during macro definition or when the requester is up. The actual macros take up only as much space as they need. Macros are invoked either by hitting the Amiga- or Ctl-Amiga-Function key or by hitting Shift-Alternate-Escape and then type some of the first letters of the macro and then return. The first macro found that matchs will be executed. If none is found there will be a beep. See the overview for defining hotkey macros. The escape character "\" may be used for the following: \N Newline. \T Tab. \E Escape. \D Del. \B Baskspace. \H Help. \u Up arrow. \d Down arrow. \l Left arrow. \r Right arrow. \0 Number pad 0. . . \9 Numeric pad 9. \. Numeric pad ".". \- Numeric pad "-". \e Numeric pad ENTER. \F1 Function key 1. . . \F0 Function key 10. Qualifiers modify the character immediately following these: \C Control. \S Shift. \A Alternate. \L Left-Amiga. \R Right-Amiga. Function keys not assigned to a hotkey string are passed through. Accelerator: The accelerator speeds up mouse movements. Its speed is set 0 - 9. 0 = no acceleration. (I use 4). NewCLI: The Left-Amiga and ESCape combination will create a NewCLI. You need to have NewCLI and Run in the c: directory. The NewCLI will have the same size stack as MachII. You can change the command in the execute string gadget. A full window example is "NewCLI CON:0/0/640/200/MyCLI". Screen Blanker: After 5 minutes of no mouse or keyboard activity, the screen will go blank. You can change this default in the Blanking gadget. 0 disables blanking. Sun Mouse: The window that the pointer is over becomes the active window after the first mouse movement. To be able to drag icons, the Sun Mouse is disabled while the left button is held down. Turn on or off with the SunMouse gadget. Click To Front: You can click in any part of a window and bring it to the front. Turn on or off with the ClickToFront gadget. Screen Shuffler: Left_Amiga-M will push the front screen to the back instead of pushing workbench to the back. Left_Amiga-N will still bring the workbench to the front. This is useful if you have more than two screens on at once, especially if they don't have screen depth gadgets. Turn on or off with the Amiga-M gadget. Clock: MachII has a title bar clock that displays available memory and the time. You can change its left edge position with -lnnn and the top edge with -tnnn. The clock is updated every second and brings itself to the front (if covered up) every 4 seconds except when the left button is held down. Sometimes this covers up information in the title bar so if you don't like this use the option -w. This disables the auto upfront and adds an (almost) invisible depth gadget. Activate the clock with the mouse and press the right button to pop up the requester. Turn on or off with the Clock gadget. Alarm: You may set 1 alarm time in 24 hour format. When it goes off, it will beep longer than the interval beeper and the screen will flash. Beeper: MachII has a beeper (to keep you awake) which defaults to a 15 minute interval. Change this in the Beeping gadget. Meter: MachII has an online cost meter. Use the Meter gadget to toggle between the meter and the clock. Use the Reset gadget to reset the meter. The rate that it uses may be set in the Online Rate gadget. The meter runs continuously whether visible or not. The default rate is $4.75. Uninstall: Use the Remove gadget to uninstall MachII. EXAMPLES: Run MachII -l328 -t190 -mCSE -fs:maconfig This puts the clock at a left edge of 328 and a top edge of 190, uses Control-Shift-Escape to begin/end hotkey macros and loads your configuration from the file s:maconfig. Run MachII -pLT This sets the PopCli key combination to Left_Amiga-Tab. Run MachII -ne -fs/wpcfig This sets the macro invocation key to the keypad "Enter" key and loads a configuration file in the s directory named wpcfig Run MachII -mS. -rAH This sets the requester popup key combination to "Alternate-Help" and the macro invocation to "Shift-NumericPad ." . Run MachII -rLRH This sets the requester popup key combination to the "Left_Amiga- Right_Amiga-Help". Watch out that you don't have keys in conflict. The results of two functions that are assigned to a single key combination is unknown and is bound to cause headaches. MISCELLANEOUS: I have found that the hotkeys do not function properly with the program Sili(Con:). When a string gadget (or any gadget anywhere) is active, the SunMouse does not work. Let me know if you find any incompatibilities. MachII may fail to run for any number of reasons (e.g. no free signals, insufficient memory). You will be informed of this if it is started with the Run command. If started from RunBack or RunBackGround (public domain program that will allow the CLI window to close and available on Fred Fish disk # 65) MachII won't run and you won't get any messages. The NewCLI brought up by Left_Amiga-ESC will have a stack the same size as MachII. Many programs that you may run from this CLI need a larger stack so either run MachII with a larger stack or, after you get a NewCLI, use the stack command to set your stack to a larger value. If programs mysteriously crash when run from the NewCLI, it may be caused by the stack size. If the macro size is set too small and you try to load a config file with longer macros, you will get a "Not A Mach Configuration File!" message. If you set the size too small and then select "Done" then activate the requester again, the macro size will be set to the size needed for the largest macro. SPECIAL FEATURE: Many disabled people find it difficult if not impossible to type key combinations such as Control-Shift-F1. MachII has the ability to remember qualifiers that are pressed and add them to the first non-qualifier key pressed. So you could for example, type Control, Alternate, and then F1. The Control and Alternate would be added to the F1 just as if they were pressed at the same time. This is not for someone who doesn't need it as it sometimes may cause unexpected results. If you type Control and then change your mind, the Control will still be added to the next key pressed. Pressing Caps Lock will reset the qualifier accumulator. Note that because most people will not want this, it defaults to off unlike all the other features. Turn on or off with the Qual Accum gadget. Copyright 1988 by Brian Moats Polyglot Software 10431 Ardyce Court Boise, Idaho 83704 PeopleLink - BrianM CI$ - 76167,2334 Other programs for the Amiga 500/1000/2000 from Polyglot Software: M18Cheater - Lets you cheat in Mean 18 by causing your opponent to slice. Public domain. FunBut - Lets you use the F1 key instead of the left mouse button. It's useful when playing games like Defender of the Crown because it sends repeat mouse clicks. Public Domain. 4 IN ONE - Four easy to play games on one disk. SlotCars For 1 or 2 players, arcade type driving and shooting game. Seven screens, great graphics. CircuitMania For 1 or 2 players, surround your opponent in a maze of wires. ShufflePuzzle Like the sliding number puzzles that you used to play as a kid but this uses beautiful color pictures. Follow That Tune Follow the bouncing boy as he jumps from pedestal to pedestal playing musical notes. These games are integrated into an easy to use package. Enjoyable for all ages. All use digitized sound. $29.95 Dominoes - 3d graphics, speech, tutorial. More entertaining and challenging than Shanghai. $24.95 The Crossword Creator - Make or solve crossword puzzles. 40,000+ word pattern matching dictionary, med-res or interlace, IFF compatible and many more features. $49.95