Changes From MachIII 01-02-92 MachIV is not merely a compatibility upgrade but has undergone some major changes and has many new features. MachIV gives you the ability to do things like: Press a key and have all open window titles displayed in a scrollable list. You can then select one and have it brought to the front, closed or anything else that you can think of. You can view the clipboard and paste or print its contents. Macros may be automatically executed at a specific time and date, or wild cards may be used such as: EXE_AUTO"??:00,02-??-92" .... or EXE_AUTO"11:30,mon,wed,fri" .... All backslash macro functions have been changed to keywords. All text to be sent as keystrokes is now enclosed in double quotes. Some macro functions have arguments that also must be in quotes. Anything that is not within quotes or is not a macro function will be ignored. SetMachIV is functionally similar to SetMachIII or SetMachW but it uses the system gadgets and either the Workbench or a custom screen may be used. A utility is included to convert MachIII.Cfg to MachIV.prefs files. In order to use it, MachIII 3.2f or 3.2g must be running. If you do not have one of these versions, you will find one on this disk. In keeping with standards set by Commodore, you will notice that the file name for the settings file has been changed to MachIV.prefs. MachIV will look for this file in this order: 1. The command line argument or SETTINGS= option in Tool Types in the icon. 2. The current directory. 3. In the directory ENVARC:MachIV. The documentation file MachIV.doc has been completely rewritten. Here are some of the major changes. MACRO FUNCTIONS ===================================================================== Macro functions fall into one of thirteen categories. Each function is preceeded by a three letter token. Some examples: Is Now Used To Be ----------------------- ---------------------- CFG_LOAD"s:MachIV.prefs" \cLs:MachIII.Cfg\ CLK_ON \KD EXE_CMD"myapplication" \Xmyapplication\ EXE_AUTO"9:30" ... \a930 MAC_RECORD_KEYED \mk MAC_SELECT_NAMED \n Now pick name from a list. MOU_LBD \Mld MOU_XY"123,456" \Mxy123,456 MSC_BEEP \G MSC_CHG_DIR"df0:wp" \Jdf0:wp\ PAU_SECONDS"1" \PS1 PAU_FIX_INPUT"3" \PK3 SCR_BACK_TO_FRONT \sF SCR_WB_TO_FRONT \j SCR_TO_FRONT"title" \sftitle\ WIN_BACK_TO_FRONT \WF WIN_ACTIVATE"title" \Watitle\ WIN_SIZE"title,200,300" \Ws200,300 (Use WIN_SIZE",200,300" to size the active window. WIN_SEND_CLOSE"title" \ITtitle\200 WIN_SEND_MENU"title,1,3,2" \ITtitle\100,1,3,2 ===================================================================== These are all listed in Appendix A of MachIV.doc and in SetMachIV's help window. Generally, if a function requires a window title as an argument, you can omit it if you want the front window, use "" for the active window, or enclose a title in the quotes. e.g. WIN_SEND_CLOSE Front window WIN_SEND_CLOSE"" Active window WIN_SEND_CLOSE"title" Titled window WIN_MOVE",+10,5" Active window (notice the first comma). DEBUGGING! ===================================================================== A new and very useful feature is the "Debug" mode. If it is turned on (in "Miscellaneous Features") and a macro function is not understood, or a required argument is missing, or a quote is missing, SetMachIV will be run and the offending macro will be made current with the cursor on the bad function. CUSTOMIZING! ===================================================================== You may customize SetMachIV with the SET_SETMACHIV"" function. The four options are: wb Use the Workbench screen. custom Use a custom screen. lace Use an interlaced custom screen. scroll Scroll the screen up from the bottom. The normal usage of this function is in an auto-execute macro such as: EXE_AUTO"" SET_SETMACHIV"custom,scroll" When MachIV is first run, this will get executed automatically. Then when SetMachIV is run, it will scroll up on a custom screen. AUTO-EXECUTING ===================================================================== Auto executing macros may now use wild cards and a date. EXE_AUTO"??:15" Execute every 15 minutes. EXE_AUTO"15:20" Execute at 3:20pm. EXE_AUTO"09:15,01-15-92" Execute at 9:15 on Jan 15, 1992. EXE_AUTO"09:15,??-01-??" Execute at 9:15 on the first of every month. EXE_AUTO"09:15,sat" Execute at 9:15 every Saturday. FILE REQUESTERS AND A MENU! ===================================================================== SetMachIV now use a menus for configuration file loading and saving. It also uses the asl.library for the file requester. CLIPBOARD VIEWING, PASTING AND PRINTING! ===================================================================== You can view the contents of the clipboard at the touch of a key. The contents may be pasted (even to windows that do not support the clipboard) or printed. When pasting, you may have an append and prepend string applied to each line. CLP_VIEW CLP_PASTE CLP_PRINT Only IFF type FTXT CHRS is currently supported. GRAPHICS CUTTING, PASTING AND PRINTING ===================================================================== Graphics may be cut from a screen and printed, or the entire screen may be printed. Graphics macros: GFX_CUT_PRINT Graphics cut and dump to printer. GFX_SCREEN_PRINT Graphics screen dump to printer. GFX_CUT_PASTE Graphics cut and paste to a window. SPEAKING! ===================================================================== A new option for MachIV is the ability to speak the messages that are displayed in the clock. This may useful while learning or if you do not use the clock. Turn "Speak Messages" on and off from SetMachIV in the "Miscellaneous Features" section. QUICK BLANK! ===================================================================== If you have "Quick Blank" checked in the "Miscellaneous Features" window, the screen will blank when the mouse blanks if the mouse is in the upper left corner of the screen and if the "Mouse Off Delay" is greater than 0. This is true even if "Blank Delay" is set to 0 (turned off). Other Changes ===================================================================== The preference setting macro function \p has been eliminated as 2.0 handles Preferences differently. You can use the EXE_CMD"program" macro function to set specific preferences. Example: EXE_CMD"overscan sys:prefs/presets/overscan640x200.prefs use" \y, \Y and \t have changed to these: TXT_DATE_PASTE TXT_DATE_PASTE"long" or TXT_TIME_PASTE"am,pm" Sound files for the "beep" sound may now be 8SVX IFF or raw format. See MachIV.doc for more details.