home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 424.lha / Mach_III / MachIII.doc.pp / MachIII.doc
Text File  |  1990-10-07  |  48KB  |  2,158 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.             User's Manual
  14.  
  15.              for
  16.  
  17.          MachIII Version 3.0
  18.  
  19.              and
  20.  
  21.         SetMachIII Version 3.0
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.       Copyright 1988-1990 by Brian Moats
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41. Copyright
  42.  
  43. MachIII,  SetMachIII and this documentation are  Copy-
  44. right 1988-1990 by Brian Moats. Lawful users of  these
  45. programs  are  hereby licensed only to read  the  pro-
  46. grams, from their media into the memory of a computer,
  47. solely    for  the purpose of  executing    the  programs.
  48. Duplicating or copying for purposes other than    backup
  49. is  forbidden. This manual, or parts thereof, may  not
  50. be reproduced in any form without the written  permis-
  51. sion of Brian Moats and Polyglot Software.
  52.  
  53.  
  54. Disclaimer
  55.  
  56. This product is sold "as is" without representation or
  57. warranty of any kind, either expressed or implied. The
  58. user assumes all risks and responsibilities related to
  59. its use.
  60.  
  61. Information And Technical Support
  62.  
  63.                Polyglot Software
  64.                884 W. Melrose Ln
  65.                Boise, ID  83706
  66.             (208) 336-4583
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.           Table Of Contents
  80.  
  81.  
  82. Introduction ................................  1
  83.     Terms Used ..............................  1
  84.  
  85. Chapter 1.  Usage ...........................  2
  86.     Running SetMachIII ......................  2
  87.  
  88. Chapter 2.  Mouse Features ..................  5
  89.     Mouse Accelerator .......................  5
  90.     SunMouse ................................  5
  91.     Window Cycling ..........................  5
  92.     Click To Front ..........................  5
  93.     Mouse Off ...............................  6
  94.     Mouse To Menu ...........................  6
  95.  
  96. Chapter 3.  Clock Features ..................  7
  97.     Basic Clock Types .......................  7
  98.     Clock To Top Window .....................  8
  99.     Clock To Top Screen .....................  8
  100.     Online Meter ............................  8
  101.     Alarm ...................................  8
  102.     Low Memory Warning ......................  8
  103.     Clock Position ..........................  9
  104.     Clock On And Off ........................  9
  105.  
  106. Chapter 4.  Hotkeys And Macros .............. 11
  107.     Recording Macros ........................ 11
  108.     Correcting Mistakes ..................... 12
  109.     Aborting Execution ...................... 12
  110.     Clearing A Macro ........................ 12
  111.  
  112. Chapter 5.  Using SetmachIII And Macros ..... 13
  113.     Changing The Current Hotkey ............. 13
  114.     Using Select Hotkey ..................... 13
  115.     Selecting By Name ....................... 14
  116.     Modifying Macros ........................ 14
  117.     Copying And Appending ................... 14
  118.     To A Named Macro .................... 14
  119.     To Another Configuration ............ 15
  120.     Maximum Macro Size ...................... 15
  121.     Help .................................... 15
  122.     Using Show All .......................... 15
  123.  
  124. Chapter 6.  More About Macros ............... 17
  125.     ARexx Support ........................... 17
  126.     Help In Viewing A Macro ................. 17
  127.     Recording Mouse Clicks .................. 18
  128.     Using Escaped Characters ................ 19
  129.     Moving Windows And Screens .............. 20
  130.     Sizing Windows .......................... 20
  131.     Layering Windows ........................ 21
  132.     Pausing Within A Macro .................. 21
  133.     Auto Execution .......................... 22
  134.     Executing Programs ...................... 24
  135.     Terminating Strings ..................... 24
  136.     Identifying Labels ...................... 25
  137.  
  138. Chapter 7.  Configurations .................. 27
  139.     Changing Configurations ................. 27
  140.     Adding And Deleting ..................... 28
  141.     Loading And Saving ...................... 29
  142.     The Configuration File .................. 29
  143.  
  144. Chapter 8.  Priorities And Screen Blanking .. 31
  145.  
  146. Chapter 9. Miscellaneous Features ........... 33
  147.     Suspend ................................. 33
  148.     Remove .................................. 33
  149.     Check Waltz ............................. 33
  150.     No Caps Lock ............................ 33
  151.     Beep .................................... 33
  152.     Hold Qualifiers ......................... 34
  153.  
  154. Chapter 10.  Foreign Names .................. 35
  155.  
  156. Appendix A - Table of Escaped Characters .... 37
  157.  
  158. Appendix B - Common Questions ............... 41
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.                       Introduction
  167.  
  168.  
  169.     MachIII is a utility program that provides hotkeys
  170. and many optional features for both CLI and  Workbench
  171. users.    All options and macros may be changed  at  any
  172. time with SetMachIII.
  173.  
  174.     The supplied disk is a standard 1.3 Workbench disk
  175. that you may boot from. The sample configuration file,
  176. MachIII.Cfg,  is in the s: directory. MachIII will  be
  177. run  from  the startup-sequence, and  then  SetMachIII
  178. will run.
  179.  
  180.     If    you do not boot from the disk, make that  disk
  181. the  current disk (with cd df0: for example) and  type
  182. Run  MachIII   and then Cancel the  s:MachIII.Cfg  Not
  183. Found and  Using Defaults requesters. Now activate the
  184. clock  window  with  your mouse and  press  the  right
  185. button. This will run SetMachIII, the program used  to
  186. configure your options and modify your macros.    Change
  187. s:MachIII.Cfg to s/MachIII.Cfg and click on Load.
  188.  
  189. Terms Used
  190.  
  191.     In    this  manual, qualifiers mean  the  keys  Ctl,
  192. Shift, Alt, Left-Amiga (C=), and Right-Amiga. The term
  193. hotkey means any other key pressed in combination with
  194. one  or  more  qualifiers. The term  macro  means  the
  195. string    of characters that are sent as keystrokes,  or
  196. backslash  functions  that  are  interpreted  as  some
  197. special action. A macro may be attached to a hotkey or
  198. to  no    key  at all. Any macro may have  a  name,  but
  199. macros    not attached to a key must have a name. A  key
  200. may  have up to 32 macros attached to it, each with  a
  201. unique qualifier combination.
  202.  
  203.     IMPORTANT:    All hotkeys referred to in this  docu-
  204. mentation are included in the sample MachIII.Cfg file.
  205. You may change them later to suit your needs.
  206.  
  207.              -1-
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.              -2-
  249.  
  250.  
  251.  
  252.                          Chapter 1
  253.  
  254.                          Usage
  255.  
  256.  
  257. SetMachIII and MachIII    should normally be in your  c:
  258. directory and MachIII.Cfg in your s: directory.
  259.  
  260. Type:
  261.  
  262.   Run MachIII
  263.  
  264.      Or...
  265.  
  266.   ARun MachIII NOIO  Allows the CLI window to close.
  267.  
  268.      Or...
  269.  
  270.   RunBack c:MachIII >Nil:  The CLI window can close.
  271.  
  272.      Or...
  273.  
  274.   RunBack c:MachIII  RunBack needs the full path.
  275.  
  276.     Any one of these commands may be included in  your
  277. startup-sequence file, and MachIII will run every time
  278. that  you  start or reboot your computer.  If  you  do
  279. this,  be  sure that the command is  after  your  Path
  280. command (if you have one).
  281.  
  282.     The  only obvious indication that MachIII is  run-
  283. ning is the title bar clock. The real power of MachIII
  284. is  lying  in the background waiting  to  assist  you.
  285. Exactly what it does will depend on your configuration
  286. file.
  287.  
  288. Running SetMachIII
  289.  
  290.     There are four ways to run SetMachIII. The easiest
  291. is  to    activate the clock and press the  right  mouse
  292.  
  293.              -3-
  294.  
  295.  
  296.  
  297. button.  You  may use the  hotkey  Ctl-Left-Amiga-ESC,
  298. which  has  \x as its macro. Or you  may  simply  type
  299. SetMachIII in your CLI window. The final method is  to
  300. execute  an \XSetMachIII macro. \x is  preferred  over
  301. this  because  \x will bring SetMachIII to  the  front
  302. immediately if it is already running, while  \XSetMac-
  303. hIII must load SetMachIII.
  304.  
  305.     NOTE: Do not rename SetMachIII or MachIII won't be
  306. able  to find it. SetMachIII must also be in the  path
  307. as it was set when MachIII was run.
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.  
  337.  
  338.              -4-
  339.  
  340.  
  341.  
  342.  
  343.                          Chapter 2
  344.  
  345.                     Mouse Features
  346.  
  347.  
  348.     All  mouse features are adjusted or toggled on  or
  349. off in the Mouse Features section of SetMachIII.  Some
  350. features may also be modified with macros.
  351.  
  352. Mouse Accelerator
  353.  
  354.     Move the mouse. Notice how much quicker it    moves?
  355. Both  the  speed and sensitivity are  adjustable.  The
  356. Speed  is  an  acceleration factor  applied  to  mouse
  357. movements.  The Threshold adjusts the  sensitivity  of
  358. the mouse. Low values equal decreased sensitivity. Set
  359. the Speed to 0 to disable the accelerator.
  360.  
  361. SunMouse
  362.  
  363.     Now move the mouse into another window. The window
  364. under  the  mouse  automatically  becomes  the    active
  365. window. This is called the SunMouse, named for the way
  366. in  which mice behave on Sun work stations.  This  may
  367. also be toggled on and off with \Ms in a macro.
  368.  
  369. Window Cycling
  370.  
  371.     If you have more than one window open, place  them
  372. so  that one is behind the other. Now with  the  mouse
  373. over  the top window, press and hold the  left    button
  374. and press and release the right button. The top window
  375. will move to the back. This is called Window  Cycling.
  376. If  the mouse is over a "back drop" window or no  win-
  377. dow, the screen will be sent to the back.
  378.  
  379. Click To Front
  380.  
  381.     Now place a window behind another so that you  can
  382.  
  383.              -5-
  384.  
  385.  
  386.  
  387.  
  388. see just part of it. Move the mouse into this area and
  389. click quickly twice. That window should now be the top
  390. window.  This  is the N Click feature where N  is  the
  391. number of clicks required and may be set from 0 to  9.
  392. If the mouse is over  a  backdrop  window,  the screen
  393. will become the top screen.
  394. CAUTION! Due to a bug in the intuition library, click-
  395. ing  to  front over an icon may cause  a  lockup.  The
  396. program  WTFPatch3 (included in the c:  directory)  by
  397. David Jenkins will fix this.
  398.  
  399. Mouse Off
  400.  
  401.     Press  a key. Notice that the  mouse  disappeared?
  402. Now move the mouse. It reappears! MachIII assumes that
  403. if  you are typing, you do not want the mouse  in  the
  404. way.  It will also turn the mouse off after 5  seconds
  405. of  inactivity. This time delay is adjustable in  Set-
  406. MachIII or with \Monn in a macro, where nn equals  the
  407. number of seconds. Set Mouse Off to 0 to disable  this
  408. feature.
  409.  
  410. Mouse To Menu
  411.  
  412.     One feature that defaults to off is Mouse To Menu.
  413. When  this is on, every time that you press the  right
  414. mouse  button the pointer will jump to the  menu  bar.
  415. When  you release the button, the pointer will    return
  416. to where it was. This is the MTM gadget in SetMachIII.
  417. It may also be toggled with \MM in a macro.
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.              -6-
  430.  
  431.  
  432.  
  433.  
  434.                          Chapter 3
  435.  
  436.                     Clock Features
  437.  
  438.  
  439.     There  is a wide variety of clocks to choose  from
  440. Click  on the clock type gadget in the Clock  Features
  441. area  to change types. These are shown below. Each  of
  442. these  may be either horizontal or vertical  by  using
  443. the  H/V gadget and the time may be in 12 or  24  hour
  444. format. If you select Clock+Memory or Memory Only, and
  445. if  you do not have any "Fast" memory, the clock  will
  446. not show Chip and Fast, just Mem.
  447.  
  448. Basic Clock Types
  449.  
  450.      Clock+Memory
  451. -------------------------------
  452. |Chip  456 Fast  357   4:32:45|
  453. -------------------------------
  454.  
  455.       Memory Only
  456.      ---------------------
  457.      |Chip  456 Fast  357|
  458.      ---------------------
  459.  
  460.       Clock+Date
  461.      -------------------
  462.      | 8-01-90    4:32:45|
  463.      -------------------
  464.  
  465.       Clock Only
  466.       ---------
  467.       |4:32:45|
  468.       ---------
  469.  
  470.      Clock+Memory (No fast memory available)
  471.      -------------------
  472.      |Mem  456    4:32:45|
  473.      -------------------
  474.  
  475.              -7-
  476.  
  477.  
  478.  
  479.  
  480.  
  481.  
  482. Clock To Top Window
  483.  
  484.     You may select to have the clock pop to the  front
  485. window by having Clock Front selected. If Clock  Depth
  486. is selected, invisible depth gadgets are placed on the
  487. far right side of the clock (horizontal clocks only).
  488.  
  489. Clock To Top Screen
  490.  
  491.     The  clock    may pop to the top  screen  by    having
  492. Clock  To  Top    selected. This and  the  Screen  Depth
  493. option will place an invisible screen depth gadget  on
  494. the  left  side  of the clock. Or you  may  select  WB
  495. Screen to keep it on the Workbench screen. (These must
  496. be  used  with some caution as not all    programs  work
  497. properly  with    another window on their  screen.)  You
  498. cannont  drag  a vertical clock unless you  select  WB
  499. Screen.
  500.  
  501. Online Meter
  502.  
  503.     You  may select to have the time portion  of  your
  504. clock  keep  track of your online costs  by  selecting
  505. Meter On. Clear your costs with Reset. Put the    online
  506. rate (per hour) in the Rate gadget.
  507.  
  508. Alarm
  509.  
  510.     An    alarm may be set in the Alarm gadget.  Use  24
  511. hour  format.  The clock will beep six times  when  it
  512. goes  off. (There are ways to set more alarms in  mac-
  513. ros.)
  514.  
  515. Low Memory Warning
  516.  
  517.     If    you  would like to be alerted  to  low    memory
  518. situations,  enter  the memory warning    level  in  the
  519. LowMem gadget. When free memory drops below this value
  520. (in  kilobytes),  the clock's text will  turn  red  or
  521. orange (or the color that is set by color number 3.
  522.  
  523.              -8-
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530. Clock Position
  531.  
  532.     You  can change the clock's position  by  entering
  533. the left edge and top edge in the appropriate gadgets.
  534. An  easier  method is to position the clock  with  the
  535. mouse and then enter a -1 in the gadgets. The  correct
  536. value will then be entered for you.
  537.  
  538. Clock On And Off
  539.  
  540.     You may, of course, turn the clock on or off  with
  541. the Clock On / Off gadget.
  542.  
  543.     Within a macro, a clock may be turned on with \KD,
  544. turned    off with \KK, toggled on or off with  \KZ  and
  545. sent to the top screen with \KT.
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562.  
  563.  
  564.  
  565.  
  566.  
  567.  
  568.  
  569.  
  570.  
  571.              -9-
  572.  
  573.  
  574.  
  575.  
  576.  
  577.  
  578.  
  579.  
  580.  
  581.  
  582.  
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.              -10-
  610.  
  611.  
  612.  
  613.  
  614.                          Chapter 4
  615.  
  616.                     Hotkeys and Macros
  617.  
  618.  
  619.     The real power of MachIII is its ability to record
  620. and  playback macros. In their simplest  form,    macros
  621. are simply strings of keystrokes attached to  hotkeys.
  622. You  may, for example, have a macro that contains  the
  623. text  diskcopy df0: to df1:. When played  back,  these
  624. letters  will appear in your active window just as  if
  625. you  typed  them. But there is much  more  to  macros.
  626. Besides having letters in macros, you may include  any
  627. special  key by preceding a letter with  a  backslash.
  628. This is called an escape character. Some examples: \F1
  629. is  Function key 1, \E is the ESC key, \5  is  numeric
  630. key  pad 5. In addition, there are many special  func-
  631. tions that may be performed in a macro. You may send a
  632. screen to the back with \sB, or to the front with \sF.
  633. (Functions such as these cannot be recorded, they must
  634. be  entered using SetMachIII.) Left mouse button  down
  635. may be done with \Mld or up with \Mlu. There are  many
  636. more  of  these listed in Appendix A.
  637.  
  638. Recording Macros
  639.  
  640.     One of the most important escaped character  func-
  641. tions is \mk. This is the macro that starts or stops a
  642. recording session. In the sample MachIII.Cfg, this  is
  643. attached  to the key combination Alt-ESC. By  pressing
  644. this,  and then pressing the key combination that  you
  645. want  for the hotkey, you begin a  recording  session.
  646. Press  any keys that you want recorded and then  press
  647. Alt-ESC  again.  The macro is now ready to  be    played
  648. back.
  649.  
  650.     A practice session may help to understand this. To
  651. do this, you must be in a CLI or shell window.
  652.  
  653.              -11-
  654.  
  655.  
  656.  
  657.  
  658. Press Alt-ESC (you will hear a beep and the clock will
  659. display the message Select Hotkey...).
  660.  
  661. Press Alt-D (the clock will say Recording Macro...).
  662.  
  663. Now type dir df0: and press Return.
  664.  
  665. The directory of the disk in df0: will be displayed.
  666.  
  667. Now press Alt-ESC again to end recording.
  668.  
  669. You  may now press Alt-D and your recorded  keystrokes
  670. will be played back.
  671.  
  672.     There  is  a  beep for each  keystroke  and  mouse
  673. button entered during recording. This is not the  same
  674. sound as in the Beep gadget, it is very brief.
  675.  
  676. Correcting Mistakes
  677.  
  678.     Ctl-H  may be used to correct a keystroke  without
  679. recording  the    mistake or the backspace.  Because  of
  680. this feature, you cannot record Ctl-H. You may    howev-
  681. er, enter it as \Ch in the macro.  (If you are using a
  682. keymap that has "H" in a different location, you  must
  683. use the key that has the key code of 25 hex.)
  684.  
  685. Aborting Execution
  686.  
  687.     Pressing  ESC  during macro execution  will  abort
  688. further execution. An exception to this is when  paus-
  689. ing for variable length input (\PV). Press Ctl-ESC  to
  690. abort and ESC to terminate input.
  691.  
  692. Clearing A Macro
  693.  
  694.     To clear a macro, press Alt-ESC, then the  hotkey,
  695. then  Alt-ESC again. This records no keystrokes  which
  696. means that the macro is empty and the hotkey is free.
  697.  
  698.              -12-
  699.  
  700.  
  701.  
  702.                          Chapter 5
  703.  
  704.                Using SetmachIII And Macros
  705.  
  706.  
  707.     Macros  may also be created, modified,  copied  or
  708. appended  in SetMachIII. In the area titled  Hotkey  /
  709. Macro,    there  are many gadgets that are  used    to  do
  710. this.
  711.  
  712. Changing The Current Hotkey
  713.  
  714.     The  two up/down arrow gadgets next to Hotkey  are
  715. used to step through all your macros. The word    "More"
  716. will appear when there are more macros attached to the
  717. same  key but with different qualifiers.  The  gadgets
  718. Ctl, Shift, Alt, C= and Amiga show the qualifiers  for
  719. the  current hotkey. You may click on them  to    change
  720. current hotkeys. If you select qualifiers that have no
  721. macro, the Macro gadget will be empty, ready to accept
  722. a new macro.
  723.  
  724. Note:  Hotkey  is not a gadget. It just  displays  the
  725. current key.
  726.  
  727. Using Select Hotkey
  728.  
  729.     You  can  make  a hotkey current  by  clicking  on
  730. Select    Hotkey and then when prompted by the  flashing
  731. message,  press your desired hotkey combination.  This
  732. will  make  that combination your current  hotkey  and
  733. display the macro attached to that hotkey (if there is
  734. one).  If  you    want to display a macro  that  is  not
  735. attached  to  a hotkey (that is, a named  macro),  you
  736. should    press Caps Lock when prompted and  then  enter
  737. the name in the gadget that will pop up. Note that the
  738. red LED on your keyboard will remain on...you need  to
  739. press it again to deactivate it. If you want to make a
  740. mouse button current, hold down your selected qualifi-
  741. er keys and click INSIDE the message box.
  742.  
  743.              -13-
  744.  
  745.  
  746.  
  747.  
  748.  
  749.  
  750.     You may also press the letter S instead of    click-
  751. ing on Select Hotkey. Select Hotkey functions the same
  752. way in Show All.
  753.  
  754.  
  755. Selecting By Name
  756.  
  757.     Macro Name displays a (possibly) descriptive  name
  758. for the macro. You may select a named macro by    enter-
  759. ing  the  name in the Macro Name gadget  and  pressing
  760. Shift-Return. Pressing just Return will simply    change
  761. the name of the current macro. This operates the  same
  762. way in Show All.
  763.  
  764.  
  765. Modifying Macros
  766.  
  767.     The  gadget titled Macro holds the macro  that  is
  768. attached  to  the current key. You may modify  it,  or
  769. delete all its text to free that hotkey.
  770.  
  771.     To    enter  the example from Chapter  4,  click  on
  772. Select    Key and press Alt-D. Now enter dir  df0:\N  in
  773. the  Macro  gadget and press Return.  That's  it!  dir
  774. df0:<Return> will be played back when you press Alt-D.
  775. If  you recorded the previous example, the macro  will
  776. already be there.
  777.  
  778. Copying And Appending
  779.  
  780.     Copy will copy a macro from one hotkey to  another
  781. and  Append  will append a macro  to  another  hotkey.
  782. First make the hotkey that you want to copy or    append
  783. from  the current hotkey. Then select Copy or  Append.
  784. When  prompted    by  the flashing  message,  press  the
  785. desired  destination  hotkey  combination.
  786.  
  787. To A Named Macro
  788.  
  789.     To    copy  or  append to an    unkeyed  named    macro,
  790.  
  791.              -14-
  792.  
  793.  
  794.  
  795.  
  796.  
  797. proceed  as above but press CapsLock  when  prompted
  798. for  a    hotkey and then enter the name in  the    gadget
  799. that will appear.
  800.  
  801. To Another Configuration
  802.  
  803.     Proceed  as  above and then while the  message  is
  804. flashing,  switch  configurations  with  the   up/down
  805. arrows    in  the Configuration area. Then  select  your
  806. hotkey.
  807.  
  808.     CAUTION!  Since  any key or mouse  button  may  be
  809. copied    or  appended to, there is no way to  back  out
  810. when  the message is flashing. If you make  a  mistake
  811. and  do  not want to continue, you MUST  select  some-
  812. thing. Use a key that does not have a macro  attached,
  813. and then later delete that macro. Do not simply  click
  814. the  left mouse button or that button will replay  the
  815. macro whenever you press the left button.
  816.  
  817. Maximum Macro Size
  818.  
  819.     The  default maximum macro size is 512  characters
  820. but this may be changed in the Max Size gadget.   This
  821. controls  the size of dynamic buffers which are  allo-
  822. cated  only during macro recording or when  SetMachIII
  823. is  running.  The actual macros take up only  as  much
  824. space as they need plus a little bit of overhead.
  825.  
  826. Help
  827.  
  828.     Clicking on Help will show all the escaped charac-
  829. ters that may be used in macros. They are also    listed
  830. in Appendix A.
  831.  
  832.  
  833. Using Show All
  834.  
  835.     Show All opens a window that has most of the  same
  836. Macro / Hotkey functions, but up to eight macros for a
  837.  
  838.              -15-
  839.  
  840.  
  841.  
  842.  
  843.  
  844. particular  key  are displayed together. If  you  have
  845. more  than  eight macros for a key, the  rest  may  be
  846. viewed    by using the scroll bar. The top macro is  the
  847. current  one. Only the current macro may be  modified.
  848. As you select other macros, the macros that scroll off
  849. the  top wrap around to the bottom. Some help is  dis-
  850. played in the upper right corner. The text depends  on
  851. just what you are doing at that moment.
  852.  
  853.     You  may  click on the Qualifier gadgets  to  make
  854. other  hotkeys current, or if no macro is attached  to
  855. the combination, you may enter a new macro.
  856.  
  857.     Selecting  Add Macro will prompt you to  select  a
  858. new  hotkey. Again, you may use CapsLock to select  an
  859. unkeyed named macro.
  860.  
  861.     Copy  and Append operate the same as in  the  main
  862. SetMachIII  window  except that you can  not  copy  or
  863. append to a macro in another configuration.
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.              -16-
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.                          Chapter 6
  893.  
  894.                      More About Macros
  895.  
  896.  
  897. ARexx Support
  898.  
  899.     Macros may be sent to MachIII from ARexx  programs
  900. with the ARexx command "address 'MachIII Port'  `macro
  901. string'".  MachIII will execute the macro just  as  if
  902. you pressed the hotkey.
  903.  
  904. Help In Viewing A Macro
  905.  
  906.     You  can view a macro by issuing the help  command
  907. (\h)  in  a  macro. This is  Alt-Help  in  the  sample
  908. MachIII.Cfg  file. You will be prompted for  a    hotkey
  909. combination. Use the same macro (\h) to end help.
  910.  
  911. An Example
  912.  
  913.     As    an  example of the flexibility    and  power  of
  914. MachIII  (and  to show why there are so  many  escaped
  915. characters),  this  macro will    toggle    the  Workbench
  916. screen    to  interlace  and  change  your  preferences:
  917. (Assuming  that  you have wbLace in c: and  a  system-
  918. configuration  (preferences)  file  named  prflace  in
  919. devs:)
  920.  
  921. Endcli\N\KK\PS1\Xc:wbLace\\pdevs:prflace\\KD\
  922. j\XNewShell "Newcon:0/0/640/400/AShell"
  923.  
  924. Ends the current shell    - Endcli\N
  925. Turns the clock off    - \KK
  926. Pauses 1 second     - \PS1
  927. Executes wbLace     - \Xc:wbLace\
  928. Changes preferences    - \pdevs:prflace\
  929. Turns the clock back on - \KD
  930. And creates a new shell - \j\XNewShell
  931.               "NewCon:0/0/640/400/AShell"
  932.  
  933.              -17-
  934.  
  935.  
  936.  
  937.  
  938.  
  939.  
  940. Recording mouse clicks
  941.  
  942.     Mouse  button clicks may be recorded,  or  entered
  943. manually in the string gadget. When recording a button
  944. click,    MachIII  puts in the mouse's  position,  which
  945. button it was and whether it was pressed or released.
  946.  
  947. For example:
  948.  
  949. \Mx155\My075\Mld
  950.  
  951. When played back, the mouse will be moved to x =  155,
  952. y = 75 and a left button down will be sent.
  953.  
  954. A  \PSnn  will be inserted for every nn  second  delay
  955. between  clicks. This will allow for menus to drop  or
  956. requesters  and  windows to open. You  may  adjust  or
  957. delete them from your macro if desired.
  958.  
  959.     If you record just the left button, you might  see
  960. something like this for the macro:
  961.  
  962. \Mx152\My\095\Mld\Mx152\My095\Mlu
  963.  
  964. unless    you  moved the mouse between clicks  in  which
  965. case  the  x and y values would change. You  may  edit
  966. this to \Mx152\My095\Mld\Mlu if the x and y values are
  967. unchanged.
  968.  
  969. Notes:
  970.  
  971.     The  mouse will be moved to the same  position  as
  972. when recorded which may or may not be over the desired
  973. gadget    or icon.
  974.  
  975.     If you are pressing a qualifier such as Shift,  it
  976. (\S)  will be placed before a \M and will  affect  the
  977. mouse     movement   and   the    first    click.      e.g.
  978. \S\Mx330\My122\Mld.
  979.  
  980.  
  981.              -18-
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.     When  a menu item has a subitem it may be  necces-
  989. sary  to bring the mouse down to the menu item,  click
  990. the  left button on it, then move the mouse  over  the
  991. subitem and click the left button or release the right
  992. button.
  993.  
  994.     Sometimes  gadgets    will not respond  to  a  quick
  995. button    down/up.  It may require a pause of  1    second
  996. between the down and up (\PS1).
  997.  
  998.     Do not depend on the SunMouse to activate a window
  999. on  playback. When recording, click in the  window  to
  1000. activate it even if it is activated by the SunMouse.
  1001.  
  1002.  
  1003. Using Escaped Characters
  1004.  
  1005.     All non-printable keys and many special  functions
  1006. are preceded by a \. For example, \B is the  Backspace
  1007. key, \H is the help key and \F3 is function key 3.
  1008.  
  1009.     These qualifiers modify the key or mouse  activity
  1010. immediately following them:
  1011.  
  1012.     \C    Control.
  1013.     \S    Shift (either one).
  1014.     \A    Alternate (either one).
  1015.     \L    Left-Amiga (C=).
  1016.     \R    Right-Amiga.
  1017.  
  1018. An example:
  1019.  
  1020.     \Cc\u\A\S\l
  1021.  
  1022. This plays back the key combinations:
  1023.  
  1024.     Ctl-c up-arrow and Alt-Shift-Left-Arrow
  1025.  
  1026.     You do not need \S or \A before any character that
  1027. is printable. For example Alt-E displays the copyright
  1028.  
  1029.              -19-
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036. symbol.  You can press Alt-E instead of entering  \Ae.
  1037. But if you need Alt-E played back, use \Ae.
  1038.  
  1039.     Note  that all escaped characters must be used  in
  1040. the case as shown. That is, if a macro is described as
  1041. \WF, you cannot use \wF or \Wf.
  1042.  
  1043.  
  1044. Moving Windows And Screens
  1045.  
  1046.     MachIII  implements  many  functions  by   putting
  1047. certain  escape sequences in macros. For example,  \WF
  1048. will bring the back window to the front while \WB will
  1049. send it to the back.
  1050.  
  1051.     You can replace the combination Left-Amiga-N  with
  1052. the macro \sF to bring the back screen (instead of the
  1053. Workbench  screen) to the front. Replace  Left-Amiga-M
  1054. with  \sB.  Add \WA to make \sF\WA and    \sB\WA,  which
  1055. activates the window under the mouse.
  1056.  
  1057. CAUTION!  When using these, there are  some  instances
  1058. when you have an interlaced and non-interlaced    screen
  1059. - the interlaced may become deinterlaced and  possibly
  1060. lock up the computer.
  1061.  
  1062.     There are more functions listed in Appendix A.
  1063.  
  1064. Sizing Windows
  1065.  
  1066.     The  active or the top window may be resized  with
  1067. \Wsxxx,yyy or \WSxxx,yyy. Some examples:
  1068.  
  1069. \Ws640,200  Make the active window 640 by 200.
  1070. \Ws0,200    Make the active window 200 pixels tall and
  1071.         do not change the width.
  1072. \WS,+10     Increase the top window's height by 10.
  1073. \WS-90,+10  Decrease the top window's width by 90  and
  1074.         increase the height by 10 pixels.
  1075.  
  1076.  
  1077.              -20-
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.     An    omitted number is assumed to be 0, which  will
  1085. leave that value unchanged.
  1086.  
  1087.     If the requested size is to large for the window's
  1088. position, the window will be moved. If it is to  large
  1089. for the screen, the screen size will be used. Finally,
  1090. if it is to small, it will be ignored.
  1091.  
  1092.     So to make a full sized window, it is save to  use
  1093. "Ws1500,1500", for example.
  1094.  
  1095.     You  can  combine  this with \Watitle  to  size  a
  1096. specific  window. For example:    \WaAmigaShell\\Ws0,100
  1097. will  make your AmigaShell window 100 pixels tall.  Be
  1098. sure to note the \ terminating the title.
  1099.  
  1100.  
  1101. Layering Windows
  1102.  
  1103.     Windows  may be layered or stacked with \WL.  When
  1104. this  is executed in a macro, all windows will be  ar-
  1105. ranged in a stack. Windows listed in No Layer  Titles=
  1106. in  MachIII.Cfg will not be layered. Typically,  these
  1107. would  be MachIII and your shell. You can  include  as
  1108. many  as  5  titles. Due to the length    of  time  that
  1109. Workbench takes to refresh a window filled with icons,
  1110. this function may not be very useful when using  Work-
  1111. bench.
  1112.  
  1113. Pausing Within A Macro
  1114.  
  1115.     There  are three types of pauses, pause  for  1-99
  1116. seconds,  pause for fixed length input, and pause  for
  1117. variable length input.
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.              -21-
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133. Examples:
  1134.  
  1135.     \PS1   Pause for one second.
  1136.     \PK5   Pause for five keystrokes.
  1137.     \PV    Pause for a variable number of keystrokes.
  1138.        Terminate input with ESC. Abort this macro
  1139.        during input with Ctl-ESC.
  1140.  
  1141.     \PKn  and  \PV may be useful in  some  data  entry
  1142. macros where the macro performs some functions,  waits
  1143. for  some  user input, and then  continues  with  more
  1144. functions.  The  macro may even call itself  over  and
  1145. over.
  1146.  
  1147.     An    easy  way to setup such a macro  would    be  to
  1148. record    a  complete data entry loop, and  then,  using
  1149. SetMachIII, enter the pause in the appropriate place.
  1150.  
  1151.     A data entry macro might look like this:
  1152.  
  1153. \Mx150\My40\Mld\Mlu\PV\\Mx460\My23\Mld\Mlu\F1
  1154.  
  1155.     With this attached to the F1 key, the mouse  would
  1156. click  in  a  gadget at 150,40, wait  for  a  variable
  1157. number    of keystrokes, click on another gadget    (which
  1158. might  be a "Next" gadget), and then execute F1  which
  1159. would  then  cause it to repeat.
  1160.  
  1161.     Remember to abort a recursive macro like this with
  1162. Ctl-ESC for a \PV pause, or just ESC for all others.
  1163.  
  1164. Auto Execution
  1165.  
  1166.     \annnn is the auto execution command. If nnnn =  0
  1167. or is omitted, the macro will be automatically execut-
  1168. ed when MachIII is started.
  1169.  
  1170.  
  1171.  
  1172.  
  1173.              -22-
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.  
  1180. An example:
  1181.  
  1182.     \a\XNewCli will open a new CLI window automatical-
  1183. ly when MachIII is first run.
  1184.  
  1185.     If    nnnn equals a time of 0001 to 2400, the  macro
  1186. will be executed at that time.
  1187.  
  1188.     Another example:
  1189. \a930\XNewcli CON:220/50/200/50/Alarm\Call
  1190. Joe\G\PS3\CxEndCLI >nil:\N
  1191.     At    9:30 this will open a window in the center  of
  1192. the  screen,  print the text Call Joe, beep,  pause  3
  1193. seconds,  delete  (Ctl-x)  the text and  end  the  CLI
  1194. window. (Note the \ terminating the newcli string.)
  1195.  
  1196. \a1200\Xecho  >speak:  "Lunch  time. Why  not  take  2
  1197. hours?"
  1198.  
  1199.     Assuming that you have mounted the device  speak:,
  1200. at 1200, speak the quoted string.
  1201.  
  1202.     You  may  use \a+nn which will execute  the  macro
  1203. every nn minutes per hour. \a+30 will execute every 30
  1204. minutes,  but  \a+45 will execute only at  45  minutes
  1205. past the hour.
  1206.  
  1207.  
  1208. \a+10\RS
  1209.  
  1210.     Every  10  minutes, issue the key  combination  of
  1211. Right-Amiga-S (which might be a save file keystroke).
  1212.  
  1213.     A popular combination of macros is this:
  1214.  
  1215. \a+15\G
  1216. \a+30\G
  1217. \a+45\G\G
  1218. \a+60\G\G
  1219.  
  1220.  
  1221.              -23-
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228.     This will beep once at 15 after, twice on the half
  1229. hour,  three times at three quarters after,  and  four
  1230. times on the hour. These are 4 separate macros and may
  1231. be unkeyed.
  1232.  
  1233. Executing Programs
  1234.  
  1235.     Many programs can be run from a macro. Simply  put
  1236. \Xprogram  in a macro. For example, \Xrun myapp  would
  1237. run a program named myapp. Usually, you would want  to
  1238. use Run in your command string to keep from suspending
  1239. MachIII during the application's execution.
  1240.  
  1241.  
  1242. Terminating Strings
  1243.  
  1244.     Strings following escaped characters like \Xstring
  1245. and  \pconfiguration  must be terminated with a  \  if
  1246. anything will follow.
  1247.  
  1248. e.g. \XNewCLI\Dir\N or \XRun Comm\\F1\F2.
  1249.  
  1250.     Note  the  two \s after Comm. One  terminates  the
  1251. \XRun Comm string and one introduces a function key.
  1252.  
  1253.     When  creating  a  NewCLI, you  probably  want  to
  1254. preface  the  command  with \j. This  will  bring  the
  1255. Workbench screen to the front. For Example:
  1256.  
  1257. \j\XNewCLI
  1258.  
  1259.     You  need to have NewCLI and Run in the c:    direc-
  1260. tory. A full window example might look like this:
  1261.  
  1262. \j\XNewCLI CON:0/0/640/200/MyCLI
  1263.  
  1264. Or
  1265.  
  1266. \j\XNewShell NEWCON:0/0/640/200/MachShell
  1267.  
  1268.  
  1269.              -24-
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276. Identifying Labels
  1277.  
  1278.     For  the purpose of identifying portions  of  your
  1279. macro  or  for adding comments, you  may  insert  text
  1280. following \i. Terminate the text with a \. Example:
  1281.  
  1282. \iMouse To Close Gadget\\Mx014\My004\Mld\Mlu
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.              -25-
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.  
  1329.  
  1330.  
  1331.  
  1332.  
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.              -26-
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.                          Chapter 7
  1355.  
  1356.                     Configurations
  1357.  
  1358.  
  1359.     You  may have more than one  configuration    within
  1360. your  MachIII.Cfg  file. The term  "configuration"  in
  1361. this   section    refers    to  a    configuration    inside
  1362. MachIII.Cfg.
  1363.  
  1364.     Let's assume that you've set up the SunMouse, some
  1365. macros    attached to function keys and  other  features
  1366. that  work  well  in a shell. Now you want  to    run  a
  1367. program such as WordPerfect. Well, WordPerfect doesn't
  1368. like  the SunMouse and it uses the Function keys.  You
  1369. could  disable MachIII when running WP but that's  not
  1370. very  good.  Another  alternative is  to  add  another
  1371. configuration to the one that you have already set  up
  1372. and modify it to work with WP. To do this, select  Add
  1373. in  SetMachIII. This will make a duplicate  configura-
  1374. tion  and  number it 2. Set the SunMouse  to  off  and
  1375. clear  your macros that are attached to  the  function
  1376. keys. Next, in the gadget to the left of Add, type  in
  1377. "  WordP" (notice the space before the  WordP,  that's
  1378. like  it is in the title bar). Now whenever you  click
  1379. in  a  WordPerfect  window,  this  configuration  will
  1380. become    the active one. In your  first    configuration,
  1381. you should type in the title AmigaShell or whatever is
  1382. in the title bar of your shell. Now, when you click in
  1383. a WordPerfect window, the second configuration becomes
  1384. active. Click in your shell window and its  configura-
  1385. tion becomes active.
  1386.  
  1387. Changing Configurations
  1388.  
  1389.     You  may have as many configurations as you  like.
  1390. Each one may be attached to a window or screen through
  1391. its  title and activated by clicking in  that  window.
  1392. The first configuration with no title will be activat-
  1393. ed when no title matches. The title need be just  long
  1394.  
  1395.              -27-
  1396.  
  1397.  
  1398.  
  1399.  
  1400.  
  1401.  
  1402. enough to uniquely match a window's title. An @  as
  1403. the 1st character will lock a configuration which  may
  1404. then only be changed from SetMachIII or by executing a
  1405. macro that has \cN \cL or \cT in it (see Appendix  A).
  1406. When  a configuration is changed from within a    macro,
  1407. there will be no further execution of that macro.
  1408.  
  1409.     Note  that you must click in the window to    change
  1410. configurations, even if SunMouse activates it.
  1411.  
  1412.     When a new configuration is made active, its title
  1413. will appear in the clock for about one second.
  1414.  
  1415.     If    the  clock is identical to the    clock  in  the
  1416. previously active configuration, it will not be closed
  1417. and reopened when configurations are changed.
  1418.  
  1419.     You may put in multiple window titles separated by
  1420. a | such as Ashell|TextEd| WordP up to a maximum of 40
  1421. characters.
  1422.  
  1423.     Not  all windows or screens have real  titles.  It
  1424. may  be just text written where the title  should  be.
  1425. MachIII  cannot  locate these titles and  thus    cannot
  1426. change    to the proper configuration. You can  manually
  1427. change    to  these configurations with a \cN  macro.  A
  1428. program supplied with MachIII call AllTitles will list
  1429. the window and screen titles that are useable.    Simply
  1430. type AllTitles at the CLI prompt.
  1431.  
  1432. Adding And Deleting
  1433.  
  1434.     Add duplicates the current configuration and  then
  1435. makes that one current. You may then delete or    modify
  1436. macros in the new configuration.
  1437.  
  1438.     Delete  a configuration with the Del  gadget.  You
  1439. cannot delete the last configuration.
  1440.  
  1441.  
  1442.  
  1443.              -28-
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450. Loading And Saving
  1451.  
  1452.     For any changes to be permament, you just need  to
  1453. click on Save. When MachIII is first run, it looks for
  1454. s:MachIII.Cfg and loads that. You may save  configura-
  1455. tions to other file names, but only s:MachIII.Cfg will
  1456. be  loaded  automatically.  Click  on  Load  (or   use
  1457. \cLfilename in a macro) to load other configurations.
  1458.  
  1459. The Configuration File
  1460.  
  1461.     MachIII.Cfg  is  straight ASCII text  and  may  be
  1462. edited    (but  does not need to be except to  enter  No
  1463. Layer  Titles,    Month  Names,  Day  Names   and   Date
  1464. Format). Multiple configurations are all saved togeth-
  1465. er under one file name. Each configuration within this
  1466. file  must  start with ID=3.0. The specific  order  of
  1467. everything  else is not important except  Month  Names
  1468. and Day Names which must be sequential. These are  not
  1469. needed    unless    you want to use names other  than  the
  1470. English names that are internal to MachIII.
  1471.  
  1472. Macros must be in the following format:
  1473.  
  1474.     Macro=key\qualifiers{macroname}Macro body
  1475.  
  1476.     The keys and qualifiers are identified in Appendix
  1477. A.  The name should be no more than 12 characters.  To
  1478. enter no name use {}.
  1479.  
  1480. Examples:
  1481.  
  1482.     Macro=J\L{WinToFront}\WF
  1483.  
  1484.     This is Left-Amiga-J Window to front.
  1485.  
  1486.     Macro=\E\L{newshell}\j\XAShell
  1487.       "newcon:0/1/640/100AShell"
  1488.  
  1489.     This is Left-Amiga-ESC and executes a newshell
  1490.  
  1491.              -29-
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.     command. (Note the \j brings the Workbench to
  1499.     front before executing the command string.)
  1500.  
  1501.     Macro=\E\A{Start/Stop}\mk
  1502.  
  1503.     This is Alt-ESC and begins or ends a recording
  1504.     to key session.
  1505.  
  1506.     Macro=N\C\L{X named mac}\n
  1507.  
  1508.     This is Ctl-Left-Amiga-N and it will execute a
  1509.     named macro.
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537.              -30-
  1538.  
  1539.  
  1540.  
  1541.  
  1542.  
  1543.  
  1544.                          Chapter 8
  1545.  
  1546.             Priorities And Screen Blanking
  1547.  
  1548.  
  1549. Priorities
  1550.  
  1551.     All  tasks in the Amiga's  multitasking  operating
  1552. system    run at a particular priority. Higher  priority
  1553. tasks  have  higher numbers and will run  while  other
  1554. tasks wait. Most user tasks run at a priority of 0 and
  1555. share the computers time equally. MachIII runs well at
  1556. 1. MachIII can change its priority while playing  back
  1557. a  macro. A priority of 1 is usually ok here too.  You
  1558. may experiment with these numbers and your  particular
  1559. applications to find what works best. Don't try to set
  1560. them  very  high though, usually no more  than    6  and
  1561. certainly no more than 10.
  1562.  
  1563.  
  1564. Blanking
  1565.  
  1566.     After  a preset length of time, you may  have  the
  1567. screen    either go blank or just dim. If you  select  a
  1568. dimness  of 0 and have Check Waltz on, there  will  be
  1569. two  dancing  check marks on the  blanked  screen.  As
  1570. these  are sprites and the pointer is also  a  sprite,
  1571. the  pointer is moved to the lower right  corner.  You
  1572. may adjust the tempo with the keys 1-9.
  1573.  
  1574.     The screen may also be blanked with \b in a macro.
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.              -31-
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.              -32-
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.                          Chapter 9
  1637.  
  1638.                 Miscellaneous Features
  1639.  
  1640.  
  1641.     There are six features that don't fit into any  of
  1642. the above categories.
  1643.  
  1644. Suspend
  1645.  
  1646.     MachIII  may be temporarily suspended by  clicking
  1647. on the Suspend gadget. Or, you may create a macro that
  1648. has \Z as its first 2 characters. Pressing the    hotkey
  1649. that this macro is attached to will either suspend  or
  1650. activate MachIII.
  1651.  
  1652. Remove
  1653.  
  1654.     You  can remove MachIII completely by clicking  on
  1655. Remove. \Q in a macro may also be used.
  1656.  
  1657. Check Waltz
  1658.  
  1659.     When  you  have  selected 0 for  your  Dimness  in
  1660. screen    Blanking, and you have Check Waltz on,    screen
  1661. blanking  will    include two dancing check  marks.  The
  1662. speed of these may be adjusted with the keys 1 to 9.
  1663.  
  1664. No Caps Lock
  1665.  
  1666.     Selecting  No Caps Lock on will disable your  Caps
  1667. Lock  key. It actually may be still used  by  pressing
  1668. Left-Amiga-CapsLock.
  1669.  
  1670. Beep
  1671.  
  1672.     You can use a custom sound for MachIII's beep. The
  1673. sound should be a raw data file with the file size  in
  1674. bytes 1 to 4 and the period value in bytes 5 and 6. As
  1675. this  file is read in for each beep, it should    be  as
  1676.  
  1677.              -33-
  1678.  
  1679.  
  1680.  
  1681.  
  1682.  
  1683.  
  1684. small  as possible and perhaps even  copied  into RAM.
  1685. Several samples are provided.  This sound will not be
  1686. the sound used when recording macros. It  will    be re-
  1687. peated 6 times for the alarm.  Enter the name and com-
  1688. plete path in the Beep gadget.
  1689.  
  1690. Hold Qualifiers
  1691.  
  1692.     If    Hold Qualifiers is on, you may press  and  re-
  1693. lease  any  qualifier and it will  be  remembered  and
  1694. added to the next non-qualifier key or mouse button.
  1695.  
  1696.     Many  disabled  people find it  difficult  if  not
  1697. impossible   to   type    key   combinations   such   as
  1698. Ctl-Shift-F1.  So you could for example, press    Shift,
  1699. Alternate, and then F1. The Shift and Alternate  would
  1700. be added to the F1 just as if they were pressed at the
  1701. same  time. This feature is not intended  for  someone
  1702. who  doesn't need it as it sometimes may  cause  unex-
  1703. pected    results. For example, if you  press  Alternate
  1704. and then change your mind, the Alternate will still be
  1705. added  to the next key pressed. Pressing Caps Lock  or
  1706. the  right  mouse button will  clear  the  qualifiers.
  1707. Pressing a qualifier again will clear that qualifier.
  1708.  
  1709.     An orange or red (color #3) bar will appear on the
  1710. clock's left edge when there are qualifiers accumulat-
  1711. ing. Qualifiers may be held for multiple keystrokes if
  1712. you first press Alt-CapsLock.
  1713.  
  1714.     This  may also be used with  Workbench's  extended
  1715. selection.  Press  the Shift key, then click  on  your
  1716. icons.    Hit any non-qualifier key or the  right  mouse
  1717. button to clear the Shift.
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.              -34-
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.                         Chapter 10
  1733.  
  1734.                      Foreign Names
  1735.  
  1736.  
  1737. You  may  include in your MachIII.Cfg  file  alternate
  1738. names for months and days. The format to use is this:
  1739.  
  1740. Month Name=Name
  1741. Day Name=Name
  1742.  
  1743. These  may be placed anywhere after the  ID=3.0  line,
  1744. but they will be saved after Clock Screen Type=. Enter
  1745. 12  lines  of month names followed by 7 lines  of  day
  1746. names  followed  by  1 line of 3  characters  of  date
  1747. format. The date format can be mdy, dmy, ymd etc.  The
  1748. date  output  by the short form \y will  be  displayed
  1749. accordingly  as  will the Clock+Date display.  If  you
  1750. select    dmy, the long form \Y and the  Clock+Mem  will
  1751. display DD. Month Year.
  1752.  
  1753. (y = year, m = month, d = day).
  1754.  
  1755. Do not use names longer than 10 characters.
  1756.  
  1757. A German file might look like this:
  1758.  
  1759. Month Name=Januar
  1760. Month Name=Febuar
  1761. Month Name=Marz
  1762. Month Name=April
  1763. Month Name=Mai
  1764. Month Name=Juni
  1765. Month Name=Juli
  1766. Month Name=August
  1767. Month Name=September
  1768. Month Name=Oktober
  1769. Month Name=November
  1770. Month Name=Dezember
  1771.  
  1772.  
  1773.              -35-
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780. Day Name=Sonntag
  1781. Day Name=Montag
  1782. Day Name=Dienstag
  1783. Day Name=Mittwoch
  1784. Day Name=Donnerstag
  1785. Day Name=Freitag
  1786. Day Name=Samstag
  1787.  
  1788. Date Format=dmy
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814.  
  1815.  
  1816.  
  1817.  
  1818.  
  1819.  
  1820.  
  1821.              -36-
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.                         Appendix A
  1829.  
  1830.                     Escaped Characters
  1831.  
  1832.  
  1833. Letter    Funnction    Example         Comments
  1834.  
  1835.    A  Alt Qualifier    \A
  1836.    B  Backspace Key    \B
  1837.    C  Control Key      \C
  1838.    D  DELete Key       \D
  1839.    E  ESCape Key       \E
  1840.    F  Function key     \F1     Function key 10 is \F0.
  1841.    G  Beep Function    \G
  1842.    I
  1843.    J
  1844.  
  1845.    K  Clock
  1846.     D Display      \KD     Display the clock.
  1847.     K Kill           \KK     Turn off the clock.
  1848.     T Top screen   \KT     Clock to top screen.
  1849.     Z Toggle clock \KZ     Turn clock on / off.
  1850.  
  1851.    L  Left Amiga       \L      AKA C=.
  1852.  
  1853.    M  Mouse
  1854.     xnnn           \Mx127  Send mouse position.
  1855.     ynnn           \My058
  1856.     lu           \Mlu    Send left button up.
  1857.     ld           \Mld    Send left button down.
  1858.     mu           \Mmu    Send middle button up.
  1859.     md           \Mmd    Send middle button down
  1860.     ru           \Mru    Send right button up.
  1861.     rd           \Mrd    Send right button down
  1862.     onn           \Mo05   Set MouseOff seconds.
  1863.     s           \Ms     Toggle SunMouse.
  1864.     M           \MM     Toggle Mouse To Menu.
  1865.  
  1866.    N  Newline           \N      Return key.
  1867.    O  Macros On/Off    \O      Must be 1st in macro.
  1868.  
  1869.              -37-
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.    P  Pause
  1878.     Snn           \PS01   Pause 1 second.
  1879.     Knn           \PK4    Pause for 4 keystrokes
  1880.     V           \PV     Pause for a variable
  1881.                 number of keystrokes.
  1882.                 End input with ESC.
  1883.    Q  Quit           \Q      Remove MachIII
  1884.    R  Right Amiga      \R
  1885.    S  Shift           \S
  1886.    T  Tab Key           \T
  1887.    U
  1888.    V
  1889.    W  Window
  1890.     A           \WA     Activate window under
  1891.                 mouse.
  1892.     atitle           \WaAsh  Activate by title.
  1893.     B           \WB     Top window back.
  1894.     b           \Wb     Active window to back.
  1895.     F           \WF     Back window to front.
  1896.     f           \Wf     Active window to front
  1897.     L           \WL     Layer windows.
  1898.     N           \WN     Activate next window.
  1899.     Sxxx,yyy       \WS640,200  Size top window.
  1900.     sxxx,yyy       \Ws640,200  Size active window
  1901.  
  1902.    X  Execute command  \Xcomm  End the command with a
  1903.                 \ if not at the end of
  1904.                 the macro.
  1905.    Y  Long date        \Y      Send date as keystrokes
  1906.    Z  Suspend           \Z      Suspend MachIII. (Must
  1907.                 be 1st in the macro).
  1908.  
  1909.    a  Auto execute     \a1730macro  Execute at 5:30 pm
  1910.                \a+5macro    Execute every 5
  1911.                      minutes.
  1912.    b  Blank screen     \b
  1913.  
  1914.  
  1915.  
  1916.  
  1917.              -38-
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924.    c  Configuration
  1925.     L load           \cLfilename Load configuration
  1926.     N next           \cN       Switch to next.
  1927.     S save           \cS       Save configuration.
  1928.     T title        \cTtitle    Switch to configu-
  1929.                     ration with title.
  1930.    d  Down arrow key   \d
  1931.    e  Enter           \e      Numeric keypad.
  1932.    f
  1933.    g
  1934.    h  Help           \h     Display a macro.
  1935.    i  Identifier       \ilabel\  This is a comment.
  1936.    j  Workbench to     \j
  1937.       front
  1938.    k
  1939.    l  Left arrow key   \l
  1940.  
  1941.    m  Macro
  1942.     k           \mk     Record to a key.
  1943.     n           \mn     Record to a named macro
  1944.  
  1945.    n  Execute macro    \n      Get name from user.
  1946.       by name            Must be last item in a
  1947.                 macro or followed by a
  1948.                 blank.
  1949.    nname Execute macro \nsetup Execute macro named
  1950.                 setup.
  1951.    o
  1952.    p  Set preferences  \ppreffile
  1953.    q
  1954.    r  Right arrow key  \r
  1955.    s  Screen
  1956.        B           \sB      Screen to back.
  1957.        F           \sF      Screen to front.
  1958.        btitle           \sbWorkB   Screen titled
  1959.                    WorkB???? to back.
  1960.        ftitle           \sftitle   Titled screen to
  1961.                    front.
  1962.    t
  1963.    u  Up arrow key     \u
  1964.  
  1965.              -39-
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.    v
  1973.    w
  1974.    x  Run SetMachIII   \x    Brings to front or top
  1975.                   if already running.
  1976.    y  Short date       \y    Send date as keystrokes
  1977.    z
  1978.  
  1979.    0  Numeric pad number  \0 to \9
  1980.  
  1981.    ()/*.+-  Numeric pad \(  \)  \/  \*  \.  \+  \-
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.              -40-
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019.  
  2020.                         Appendix B
  2021.  
  2022.                       Common Questions
  2023.  
  2024.  
  2025. Q.   Why does the SunMouse sometimes not work?
  2026.  
  2027. A.   When a string gadget (or any gadget anywhere)  is
  2028.      active,  the  SunMouse will not  work.  You  must
  2029.      deactivate  the gadget with a click of  the  left
  2030.      mouse button.
  2031.  
  2032. Q.   Why  does    the SunMouse seem to fight  some  pro-
  2033.      grams?
  2034.  
  2035. A.   When a program such as WordPerfect has a  reques-
  2036.      ter  up, it tries to keep the requester's  window
  2037.      active.  If MachIII has the SunMouse  option  on,
  2038.      every mouse move will activate a window and  then
  2039.      WP will activate its requester's window. The only
  2040.      thing  to    do  in this case is to    turn  off  the
  2041.      SunMouse or hold down the left button. (Or use  a
  2042.      second  configuration with a title of  WordP  and
  2043.      the  SunMouse  turned off and  perhaps  move  the
  2044.      clock over off of the extra gadget.)
  2045.  
  2046. Q.   How can I run MachIII from an icon?
  2047.  
  2048. A.   This  program is usually run from    your  startup-
  2049.      sequence, but if you want to run it from an  icon
  2050.      you can by using XIcon. See your AmigaDos    manual
  2051.      for more information.
  2052.  
  2053. Q.   Why  can't  I close my CLI window  after  running
  2054.      MachIII?
  2055.  
  2056. A.   In  order to keep the current path, MachIII  does
  2057.      not detach from the CLI. Use RunBack c:MachIII or
  2058.      ARun MachIII NOIO. Either of these will allow the
  2059.      CLI window to close.
  2060.  
  2061.              -41-
  2062.  
  2063.  
  2064.  
  2065.  
  2066.  
  2067.  
  2068. Q.   Why does my application crash when I run it  from
  2069.      the NewCLI or \X?
  2070.  
  2071. A.   Programs  executed with \X (such as NewCLI)  will
  2072.      have  a stack the size that was set when  MachIII
  2073.      was  run. These and ones that you may run from  a
  2074.      new CLI may  need a larger stack. Either set  the
  2075.      stack before running MachIII, or after you create
  2076.      a NewCLI use the stack command to set your  stack
  2077.      to  a  larger value. The default  stack  size  is
  2078.      4000. Many programs need 10000 or more.
  2079.  
  2080. Q.   Why does MachIII ask for my Workbench disk when I
  2081.      run a program from a macro?
  2082.  
  2083. A.   MachIII  uses the "Run" program which may  be  in
  2084.      your c: directory. Also, if you made "Run"  resi-
  2085.      dent,  it    will not be found unless you  run  the
  2086.      patch program SetPatch (Workbench 1.3).
  2087.  
  2088. Q.   Why am I in the c: directory when I create a  new
  2089.      CLI?
  2090.  
  2091. A.   MachIII's  current directory is the one that  was
  2092.      current  when MachIII was run. If you bring up  a
  2093.      new CLI and find yourself in the c: directory for
  2094.      example,  it  is  because that  was  the  current
  2095.      directory when MachIII was run. You probably  did
  2096.      a "cd c:" somewhere before running MachIII.
  2097.  
  2098. Q.   Why am I getting a Close Screen Vector message?
  2099.  
  2100. A.   The  clock options Screen Depth and Clock To  Top
  2101.      replace the CloseScreen vector with one that will
  2102.      allow MachIII to close its clock window.  Select-
  2103.      ing  WB Screen or removing MachIII will put  back
  2104.      the  original  vector. If    another  program  also
  2105.      replaced the vector, you will be given the oppor-
  2106.      tunity  to  terminate  that  program  before  the
  2107.      original vector is replaced. If you get a reques-
  2108.  
  2109.              -42-
  2110.  
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.      ter  with    the message Close  Screen  Vector  Was
  2117.      Changed!,    either    terminate  the    program   that
  2118.      changed the vectors and click Retry or just click
  2119.      Cancel. If WB Screen is selected, the vectors are
  2120.      not changed.
  2121.  
  2122. Q.   How  can I display only the total memory  in  the
  2123.      clock?
  2124.  
  2125. A.   You can fool the clock into displaying your total
  2126.      memory even if you have fast ram. In your    start-
  2127.      up-sequence,  turn off your fast ram with a  com-
  2128.      mand  like  "nofastmem", run MachIII,  then  turn
  2129.      your fast ram back on.
  2130.  
  2131. Q.   Why doesn't it change configurations when I click
  2132.      in a window?
  2133.  
  2134. A.   The  title  entered in the string gadget  in  the
  2135.      Configurations  section  must exactly  match  the
  2136.      window or screen title (although it may be short-
  2137.      er).  It may also be that there is no real  title
  2138.      in  your window or screen. Check the  section  in
  2139.      Chapter 8 that deals with this.
  2140.  
  2141.  
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148.  
  2149.  
  2150.  
  2151.  
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.              -43-
  2158.