home *** CD-ROM | disk | FTP | other *** search
- ;QMouse is a Microsoft Mouse Menu for QModem SST. The right mouse
- ;button brings up a series of context senstive menus including a
- ;"menu" which can be used to dial a number in a QModem phone directory
- ;by pointing and clicking the mouse. Enter the QModem dialing directory
- ;(from the main mouse menu or by typing ALT-D, CR) and the automatic
- ;dialing mode (from the Dial Option menu or by typing "D") and click
- ;the right mouse botton. Just click the right mouse buttom five
- ;times - its simpler than it sounds. All of the other menus are
- ;self-explanatory. In addition the clicking theleft mouse button
- ;always type a CR and clicking both mouse buttons type ESC.
-
- ;QMouse incorporates the menu system from Mark Lewis' QModemU.
- ;The auto dialing feature and modifications for QModem SST were
- ;added by R. Saeks - 5/3/87.
-
- ; Set up initial labels for mouse commands
- begin return,rb,keyesc,,,,,2,4
-
- ; --------------------Right Button ---------------------------
-
- ; Start QModem if in init mode, else Main menu menu/auto dial
-
- rb: match 25,15,,"Qmodem",Keyspc,redlchk ;Check for initing
- redlchk: match 2,9,,"Dial",dialmen,vchkl ;check for redial
- vchkl: match 5,5,,"Filename",keyspc,vchkn ;check for viewdir
- vchkn: match 2,6,,"View a file",keyspc,dlchk ;Check for viewdir
- dlchk: match 2,3,,"Page",dlchk1,menu1 ;Check for dial menu
- dlchk1: match 22,7,,"Number(s)",autodl,dialop ;check for auto dial
- ;
- ; Re-Dial menu is displayed if QModem is in redial mode
- ;
- dialmen: popup 3,45,9
- text "╔═[ Re-Dial ]═══╗"
- text "║ Cycle Call ║"
- text "║ Delete Call ║"
- text "║ Abort ║"
- text "║ Cancel Menu ║"
- text "╚═══════════════╝"
- select 2,2,15,Keyc
- select 3,2,15,keyd
- select 4,2,15,keyesc
- select 5,2,15
- pend
- ;
- dialagn: execute keyesc, keydial, keyd, autodl
- ;
- ; Initial menu displayed when left button pressed
- ;
- menu1: popup 2,32,9
- text "╔═[ Command Menu ]═════════════════════════╗"
- text "║ --- Primary ║"
- text "║ Dial Phone Redial Last Number ║"
- text "║ SCRIPT Execution DOS Shell ║"
- text "║ Hang-Up Modem Disk Directory ║"
- text "║ Clear Screen Exit Qmodem ║"
- text "║ Change Baud Rates Secondary Menu ║"
- text "║-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-║"
- text "║ Download files Toggles Menu ║"
- text "║ Upload Files Capture File Toggle ║"
- text "║ Scroll Back Send modem BREAK ║"
- text "║ Add Linefeed Toggle Printer echo Toggle ║"
- text "║ Cancel Menu ║"
- text "║ ║"
- text "╚══════════════════════════════════════════╝"
- select 3,2,21,keydial
- select 4,2,21,keyaltf
- select 5,2,21,keyalth
- select 6,2,21,keyaltc
- select 7,2,21,keyaltp
- ;
- select 3,23,21,keyaltq
- select 4,23,21,setdos
- select 5,23,21,keyaltw
- select 6,23,21,exitact
- select 7,23,21,menu2
- ;
- select 9,2,21,pgdn
- select 10,2,21,pgup
- select 11,2,21,up
- select 12,2,21,shfttab
- select 13,2,21
- ;
- select 9,23,21,menu3
- select 10,23,21,keycthm
- select 11,23,21,keyctnd
- select 12,23,21,keyctpt
- pend
- ;
- setdos: execute keyaltr,shellset
- shellset: assign ,shelrb
- shelrb: popup 5,5,78
- text "╔═[ DOS Shell ]════╗"
- text "║ Return to Qmodem ║"
- text "║ Cancel Menu ║"
- text "╚══════════════════╝"
- select 2,2,18,retshell
- select 3,2,18
- pend
- ;
- retshell: execute shellout,return,noshell
- noshell: assign ,rb
- ;
- menu2: popup 2,32,9
- text "╔═[ Command Menu ]═════════════════════════╗"
- text "║ -- Secondary -- ║"
- text "║ Translate Table Change Sub-Dirs ║"
- text "║ Function Key Set View a File ║"
- text "║ Log Drive Change Delete a File ║"
- text "║ ║"
- text "║ Primary Menu ║"
- text "║-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-║"
- text "║ Download files Toggles Menu ║"
- text "║ Upload Files Capture File Toggle ║"
- text "║ Scroll Back Send modem BREAK ║"
- text "║ Add Linefeed Toggle Printer echo Toggle ║"
- text "║ Cancel Menu ║"
- text "║ ║"
- text "╚══════════════════════════════════════════╝"
- select 3,2,21,keyalta
- select 4,2,21,keyaltj
- select 5,2,21,keyaltl
- ;
- select 3,23,21,keyalto
- select 4,23,21,keyaltv
- select 5,23,21,keyalty
- select 7,23,21,menu1
- ;
- select 9,2,21,pgdn
- select 10,2,21,pgup
- select 11,2,21,up
- select 12,2,21,shfttab
- select 13,2,21
- ;
- select 9,23,21,menu3
- select 10,23,21,keycthm
- select 11,23,21,keyctnd
- select 12,23,21,keyctpt
- pend
-
- menu3: popup 2,30,14
- text "╔═[ Command Menu ]═════════════════════════╗"
- text "║ --- Toggles --- ║"
- text "║ Beeps and Bells ANSI Music Mode ║"
- text "║ Echo Split Screen Mode ║"
- text "║ ANSI Graphics Mode Screen Dump ║"
- text "║ Program Info Xon / Xoff ║"
- text "║ Secondary Menu ║"
- text "║-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--║"
- text "║ Download files Primary Menu ║"
- text "║ Upload Files Capture File Toggle ║"
- text "║ Scroll Back Send modem BREAK ║"
- text "║ Add Linefeed Toggle Printer echo Toggle ║"
- text "║ Cancel Menu ║"
- text "║ ║"
- text "╚══════════════════════════════════════════╝"
- select 3,2,21,keyaltb
- select 4,2,21,keyalte
- select 5,2,21,keyaltg
- select 6,2,21,keyalti
- ;
- select 3,23,21,keyaltm
- select 4,23,21,keyalts
- select 5,23,21,keyaltt
- select 6,23,21,keyaltz
- select 7,23,21,menu2
- ;
- select 9,2,21,pgdn
- select 10,2,21,pgup
- select 11,2,21,up
- select 12,2,21,shfttab
- select 13,2,21
- ;
- select 9,23,21,menu1
- select 10,23,21,keycthm
- select 11,23,21,keyctnd
- select 12,23,21,keyctpt
- pend
-
- exitact: execute keyaltx,exitmen
-
- exitmen: popup 6,20,78
- text "╔═[ Leave Qmodem ]═╗"
- text "║ Are you SURE? ║"
- text "║ ║"
- text "║ Yes ║"
- text "║ No ║"
- text "║ Exit connected ║"
- text "╚══════════════════╝"
- select 4,2,18,Keyy
- select 5,2,18,Keyn
- select 6,2,18,keyx
- pend
- ;
- ;--------------------Dialing Options Menu-----------------------
- ;
- dialop: popup 6,45,9
- text "╔═[ Dial Options ]═╗"
- text "║ Auto Dialing ║"
- text "║ Manual ║"
- text "║ Page Up ║"
- text "║ Page Down ║"
- text "╚══════════════════╝"
- select 2,2,18,Keyd
- select 3,2,18,Keym
- select 4,2,18,pgup
- select 5,2,18,pgdn
- pend
- ;
- ;-----------------------Auto Dial Menu--------------------------
- ;
- autodl: popup 3,2,78
- text " Next Page Prev Page Cancel "
- select 1,1,13, pgdn
- select 1,14,13, pgup
- select 1,27,11
- select 2,1,37, first
- select 3,1,37, second
- select 4,1,37, third
- select 5,1,37, fourth
- select 6,1,37, fifth
- select 7,1,37, sixth
- select 8,1,37, seventh
- select 9,1,37, eigth
- select 10,1,37, ninth
- select 11,1,37, zeroth
- pend
- ;
- first: execute hidig19, key1, return
- second: execute hidig19, key2, return
- third: execute hidig19, key3, return
- fourth: execute hidig19, key4, return
- fifth: execute hidig19, key5, return
- sixth: execute hidig19, key6, return
- seventh: execute hidig19, key7, return
- eigth: execute hidig19, key8, return
- ninth: execute hidig19, key9, return
- zeroth: execute hidig0, key0, return
- ;
- hidig19: match 4,2,," ",midig19, hidig119
- hidig119: execute key1, midig19
- midig19: match 4,3,," ",EMPTY, midig119
- midig119: match 4,3,,"1",key1,midig219
- midig219: match 4,3,,"2",key2,midig319
- midig319: match 4,3,,"3",key3,midig419
- midig419: match 4,3,,"4",key4,midig519
- midig519: match 4,3,,"5",key5,midig619
- midig619: match 4,3,,"6",key6,midig719
- midig719: match 4,3,,"7",key7,midig819
- midig819: match 4,3,,"8",key8,midig919
- midig919: match 4,3,,"9",key9,midig019
- midig019: execute key0
- ;
- hidig0: match 13,2,," ",midig0, hidig10
- hidig10: match 13,2,,"1",hidig110,hidig20
- hidig110: execute key1, midig0
- hidig20: execute key2, midig0
- midig0: match 13,3,," ",EMPTY, midig10
- midig10: match 13,3,,"1",key1,midig20
- midig20: match 13,3,,"2",key2,midig30
- midig30: match 13,3,,"3",key3,midig40
- midig40: match 13,3,,"4",key4,midig50
- midig50: match 13,3,,"5",key5,midig60
- midig60: match 13,3,,"6",key6,midig70
- midig70: match 13,3,,"7",key7,midig80
- midig80: match 13,3,,"8",key8,midig90
- midig90: match 13,3,,"9",key9,midig00
- midig00: execute key0
- ;
- ; --- Key Commands ---
- ;
- shellout: TYPE "EXIT"
- keyc: Type "C" ;C
- keyd: Type "D" ;D
- keyx: type "X" ;X
- keyy: type "Y" ;Y
- keyn: type "N" ;N
- keym: type "M"
- keyesc: type 27 ;Escape
- keyspc: type " " ;Space
- keyaltc: type 0,46
- keydial: type 0,32,13
- keyaltf: Type 0,33
- keyalth: type 0,35
- keyaltp: type 0,25
- keyaltq: type 0,16
- keyaltr: type 0,19
- keyaltw: type 0,17
- keyaltx: type 0,45
- shfttab: type 0,15
- keyalta: type 0,30
- keyaltj: type 0,36
- keyaltl: type 0,38
- keyalto: type 0,24
- keyaltv: type 0,47
- keyalty: type 0,21
- keyaltb: type 0,48
- keyalte: type 0,18
- keyaltg: type 0,34
- keyalti: type 0,23
- keyaltm: type 0,50
- keyalts: type 0,31
- keyaltt: type 0,20
- keyaltz: type 0,44
- keyctnd: type 0,117
- keyctpt: type 0,114
- EMPTY: nothing
- return: type 13 ;return
- pgup: type 0,73
- pgdn: type 0,81
- up: type 0,72
- keycthm: type 0,119
- key1: type "1"
- key2: type "2"
- key3: type "3"
- key4: type "4"
- key5: type "5"
- key6: type "6"
- key7: type "7"
- key8: type "8"
- key9: type "9"
- key0: type "0"
- MEND
-
-