MultiView 2000 Sample Active Rules JSB Computer Systems Ltd README September 1997 INTRODUCTION This directory contains sample files which show different ways Active Rules can be configured. These files are not intended as a definitive set of rules for the application. As samples they show you the syntax used to enhance the applications appearance. USING THE FILES 1. Copy the ZZR files to a working directory. 2. Load the Terminal Emulator. 3. Click the Rules Agent Editor button (!). 4. Open one of the sample files. 5. Click the save button in the Rules Agent Editor. 6. In the Terminal Emulator, select the appropriate terminal type for the ZZR file. 7. Connect to your remote system and run your application. FILES INCLUDED 1. SCO/WP51.ZZR Terminal Type: SCO Application: Word Perfect 5.1 Example rule syntax explained: Rule 1: LINE zero, the top most line. FIND "File Edit Search Layout Mark Tools Font Graphics Help", highlighting "File". APPEARANCE button effect. ACTION send "f" when clicked. Rule 10: LINE zero, the top most line. FIND "File Edit Search Layout Mark Tools Font Graphics Help " highlighting only 4 spaces after the menu. This creates an new button. ACTION send "\E\E" when clicked. 2. SCO/UNIPLEX.ZZR Terminal Type: SCO Application: Uniplex 8.00 Example rule syntax explained: Rule 1: LINE zero, the top most line. FIND any characters APPEARANCE raised border. ACTION none. Rule 3: LINE 13. FIND "5 = Calculator" APPEARANCE embossed out with color green ACTION launch Windows calc.exe when clicked. Rule 4: LINE any. FIND any single character except a space followed by " - " and any set of characters except a space. APPEARANCE embossed out with color brown. ACTION send the first single character in matched rule. 3. SCO/SYSADMSH.ZZR Terminal Type: SCO Application: SCO OS3 System Administration utility (sysadmsh) Example rule syntax explained: Rule 5: LINE 1. FIND any single character except a space followed any set of characters except a space. APPEARANCE button effect with shadowed text. ACTION send the first single character in matched rule. 4. SCO/SCOSH.ZZR Terminal Type: SCO Application: SCO OS5 menu-driven Shell (scosh) 5. SCO/ALPHAB.ZZR Terminal Type: SCO Application: JSB Alphabrowser 2.0.1 Example rule syntax explained: Rule 7: LINE 23. FIND "'m' for menus." APPEARANCE button effect. ACTION send "m" when clicked.