HP 3000 Manuals

Automatically Responding to HP Desk Prompts [ HP DeskManager Customization ] MPE/iX 5.0 Documentation


HP DeskManager Customization

Automatically Responding to HP Desk Prompts 

There is a facility available to increase the usability of Script files.
This feature uses the plus sign character (+), followed by any text, to
allow the script file to run without user intervention.  The script file
takes information from itself rather than taking input from the keyboard.

The following script will send a message to Mary Smith at ACCTS/01:

     SEND
     +Test message
     +Mary Smith/ACCTS/01
     +//
     +This is then the text
     +of the message
     +//
     MAIL
     &EXIT

This script can be modified to include the use of variables as responses
to the usual HP Desk prompts:

     &SAVE name "Mary Smith/ACCTS/01"
     SEND
     +Test Message to <VAR name>
     +<VAR name>
     +//
     +<VAR name>
     +Hello again
     +//
     MAIL
     &EXIT

You can, of course, use prompts to enter data into the variables.



MPE/iX 5.0 Documentation