======= AREXX CMDS ====== Major modifications to this file by Kerry Zimmerman [71470,1340] 4/14/89 o Changed output buffer to 62, input buffer to 61 to avoid conflict with Eric Kennedy's VI extensions. o altctl-9 now displays current autotraffic status o altctl-0 now asks for a command name and a list of macronums. It adds these to the end of file U:REXXCOMM. This file is a database of macros understood by the new rexx autotraffic handler. Edit Rexx output buffer 62 Edit Rexx input buffer 61 Send output buffer 62 to Rexx Fetch Rexx input into buffer 61 Send hilite region to Rexx. Fetch Rexx input at cursor Send an OK reply to Rexx (NOTE: Amiga-ESC abort sends Failed reply.) Send an OK reply to Rexx along with text in hilite region Toggle flag to handle Rexx traffic automatically during idle periods. Make an x.rexx program with commands to send to Uedit. handle named macro messages Show numbers for a received Arexx msg or reply Show numbers for a sent ARexx msg or reply Show returncode error msgs 65535 bytes") } case(-4) { putMsg("Nothing to fetch or reply to") } case(-5) { putMsg("Fetch reply before sending this msg/reply") } } returnFalse .. so virtual-r/-s above will return False > ==================================================================== Some useful functions for the arexx macros The 'ask' macro. Usage: ask 'Do you want to continue?' ask a question and return true or false the 'text' macro. Usage: text 'this will be inserted' insert text at cursor the 'loadfile' macro. Usage: loadfile 'sys:myfile' edit given file the 'gotoline' macro Usage: gotoline 100 goto line the 'searchfor' macro Usage: searchfor pattern search for a given string The 'message' macro Usage: message 'my message' issue a message