home *** CD-ROM | disk | FTP | other *** search
- /* An example of a disterm`DISMENU command. */
- /* It takes at least 2 args, the menu # and item #. For example, the QUIT menu */
- /* item is in menu #0 (Project), and is the 5th item (always count from 0) */
- /* so here's the line that would QUIT disTerm: */
- /* 'MENU' 0 5 */
- /* Certain MENU items (such as "Baud Rate") may take additional args */
-
- /* Here's how I begin all of my rexx scripts meant to control disTerm */
- ADDRESS 'disTerm' /* All the following commands go to disTerm */
- OPTIONS FAILAT 20
- OPTIONS RESULTS
- quote = '27'X /* use this variable name in place of any ' char within a string */
-
- /* Bring disTerm window to the front */
- 'DISWIND'
-
- /* Let's toggle the Split Window item. (Menu #1, item #3) */
- 'DISMENU' 1 3
-