; Logitec mouse menu for ZCOMM, Omen Technology's communications program.
; Designed for BBS transfers using zmodem.
; Edit this file, compile with newmenu.exe, add Zcomm to click.scr.
; Refer to Mouse user manual for additional information.
; Written by:  Ken Baldwin 12-88, leave mail on:
; Klamath River Data Exchange System (916) 493-2488, 2400 baud 8n1 24 hours.
;------------------------------------------------------------------------------
BEGIN leftb,midb,rightb,leftm,rightm,upm,downm,35,35  ;35 is h/v sensitivity
leftm: type 0,75                        
rightm: type 0,77
upm: type 0,72
downm: type 0,80
leftb: type enter
rightb: type esc
midb:  EXECUTE menu2         ;local commands menu
CHORDS lmb, lrb, mrb, allb
lmb:   type 0,59             ;f1, zcomm escape
allb:  type 0,121,"off",enter;exit zcomm
mrb:   type 0,60             ;f2, zcomm next logical
lrb:   EXECUTE menu1         ;remote commands menu
menu1:    MENU "ZCOMM REMOTE COMMANDS",1,50,8   ;menu title, position, color
        OPTION "CANCEL",cnl                     ;cancel this menu
        OPTION "SEND (G)OODBYE",g               ;menu lines may be rearranged
        OPTION "CALL (N)EW FILES",a
        OPTION "CALL (D)OWNLOAD(Z)",d
        OPTION "CALL (U)PLOAD(Z)",u
        OPTION "SEND NAME",n
        OPTION "SEND PASSWORD",p
        OPTION "HOST MODE",hst
MEND
menu2:    MENU "ZCOMM LOCAL COMMANDS",1,50,8
        OPTION "CANCEL",cnl
        OPTION "FILE UTILITY",pct
        OPTION "ARCHIVE UTILITY",af
        OPTION "EDITOR",t
        OPTION "EDITOR IN /dl",dt
        OPTION "DIRECTORY /dl",dl
        OPTION "CD\MODEM",dm
        OPTION "SEND-Z-auto.lst",al    ;uses dsz sz @c:/modem/dl/dsz-auto.lst
        OPTION "SEND-Z-browse",uz      ;can be used to browse dl directory
        OPTION "SEND-Z-file(s):",sz
        OPTION "CANCEL TRANSFER",ct
        OPTION "BROWSE /dl",uz         ;same instruction as "SEND-Z-browse"
        OPTION "BROWSE cur dir",br
        OPTION "CLEAR SCREEN",cls
        OPTION "SCREEN CAPTURE",scp
        OPTION "COMMAND LIST",yh
        OPTION "SCRPT LRN OFF",tlo
        OPTION "* PHONE LIST *",pl
        OPTION "------NUKE------",ho
        OPTION "---EXIT-ZCOMM---",em
MEND
menu3:    MENU "   CALL DIRECTORY   ",1,50,8
        OPTION "CANCEL",cnl
        OPTION "sys a",sa      ;edit here and at definitions to
        OPTION "sys b",sb      ;include your phone list, up to
        OPTION "sys c",sc      ;20 lines including "CANCEL"
        OPTION "sys d",sd
        OPTION "sys e",se
        OPTION "sys f",sf
        OPTION "Omen Technology",sg
        OPTION "NAVAL OBSRVTY",no
        OPTION "CALL, SCRIPT LEARN",tl
        OPTION "ADD SYSTEM",as
MEND

;;      The following lines define the action performed
;;      when an item from above menues is selected:

scp:     TYPE 0,44
sa:     TYPE "source timex;call       ",enter   ;uses timex (zcomtime.arc)
sb:     TYPE "call    ",enter         ;call phodir entries
sc:     TYPE "call    ",enter         ;insert names of systems in
sd:     TYPE "call    ",enter         ;your phodir.t
se:     TYPE "call    ",enter
sf:     TYPE "call    ",enter
sg:     TYPE "call omen",enter
no:     TYPE "call navobsy",enter
hst:    TYPE "host",enter
br:     TYPE 0,121,"bro",enter
yh:     TYPE 0,121, "type hlpfile", enter     ;your hlpfile name
ct:     TYPE 24,24,24,24,24,24,24,24,24,24    ;bunch of ^X to nuke remote
tl:     TYPE 0,62
tlo:    TYPE 0,46
as:     TYPE 0,67
pl:     EXECUTE menu3
ss:     TYPE 0,59,enter
em:     TYPE "off",enter                      ;could be "x", "off" hangs up
a:      TYPE "f",enter,"n",enter,enter,enter  ;common call for New files
al:     TYPE 0,121,"!dsz sz @c:\modem\dl\dsz-auto.lst",enter
uz:     TYPE 0,121,"cd dl",enter,0,121,"browse",enter ;dl is the name of a
sz:     TYPE 0,66                                     ;subdir
d:      TYPE "d",enter,"z",enter
dl:     TYPE 0,61,"cd/",enter         ;f3 defined as ddir (shareware) the upload
dm:     TYPE 0,121,"cd/modem",enter   ;directory, then change cur dir back
g:      TYPE "g",enter,enter
ho:     TYPE 0,49
p:      TYPE "password"               ;your password and name
n:      TYPE "first last"
u:      TYPE "u",enter,"z",enter
m:      TYPE 0,50
af:     TYPE "!a",enter               ;a, u and q are batch files that call
pct:    TYPE "!u",enter               ;the archive and file utilities and text
cls:    TYPE "cls",enter              ;editor, the last line of each is "menu
t:      TYPE "!q",enter               ;zcomm" to call this menu back
dt:     TYPE "!q c:\modem\dl",enter
cnl:    nothing

