800.682.0200 | FAX: 360.568.2923 |  About Us  |  Downloads  |  Manuals  |  Home  |  Index

 
 Connectivity Applications
    Javelin Secure 320Pocket320MS3270MS5250MS92 Secure 92Pocket92 MS92/MAC
 
» Minisoft News

» Demo / Updates

FREE Demo
fully functional time-limited

Updates and Add-Ons
Call your salesperson for a password

 

 

Sample script to provide a pop-up menu
requesting a user's ID and password

 

 

;*******************************************
;* Set the Title and Prompt Message *
;*******************************************
LET HEADER = "User Name"
LET PROMPT = "Please enter Your User Name: "
;
;*******************************************
;* Display the prompt *
;* Place the data entered in USERID *
;*******************************************
ACCEPT USERID
;
;*******************************************
;* Set the Title and Prompt Message *
;*******************************************
LET HEADER = "Password"
LET PROMPT = "Please enter Your Password: "
;
;*******************************************
;* Display the prompt, Accept the data into*
;* the variable PASSWORD, display "*" in *
;* place of the data entered *
;*******************************************
ACCEPT PASSWORD NOECHO
;
;*******************************************
;* Send a Carriage Return *
;*******************************************
KBSPEC HP_RETRNKEY
;
;*******************************************
;* Wait for the String <CTRL> Q (DC1) *
;*******************************************
WAITS "^Q"
;
;*******************************************
;* Append the string "hello ", the variable*
;* USERID and the String ".MINISOFT^M" the *
;* ^M will send a <CTRL>M(Carriage Return) *
;* Send the append data to the Host *
;*******************************************
TRANSMIT "hello " & USERID & ".MINISOFT^m"
;
;*******************************************
;* Wait for the String <CTRL> Q (DC1) *
;*******************************************
WAITS "^Q"
;
;*******************************************
;* Sent the data that is stored in PASSWORD*
;* The SEND appends a Carriage Return after*
;* the variable's data *
SEND PASSWORD
END

 
 

Minisoft Inc.  1024 First Street Snohomish, WA 98290  Phone: (800) 682-0200  Fax: (360) 568-2923
 Copyright ©2008 Minisoft, Inc.   
License Agreement