home *** CD-ROM | disk | FTP | other *** search
- ; Logitech Mouse Menu definition for PCTOOLS 4.11
- ; Middle button will always bring up the appropriate menu
-
-
- BEGIN LeftB, MiddleB, RightB, mousel, mouser, mouseu, moused, 150, 50
- CHORDS LMB, LRB, RMB, ALLB
-
- LeftB: TYPE ENTER ;<CR>
- RightB: TYPE 0,61 ;F3 TO TOGGLE BETWEEN DISK AND FILE SRVCS
- MiddleB: EXECUTE menumat ; Begins MATCH for appropriate menu
-
- mousel: TYPE 0,75 ;LEFT ARROW
- mouser: TYPE 0,77 ;RIGHT ARROW
- mouseu: TYPE 0,72 ;UP ARROW
- moused: TYPE 0,80 ;DOWN ARROW
-
-
- LMB: TYPE 0,73 ;Page Down
- LRB: EXECUTE moushelp ;brings up mouse help menu
- RMB: TYPE 0,81 ;Page Up
- ALLB: TYPE ESC ;ESCAPE
-
- ; the following MATCH section insures the appropriate menu will be invoked
- ; when inside the different areas of PCTOOLS...
- ; when no menu is needed (such as with Attribute) the MATCH defaults to
- ; Mouse Help to remind user of buttons and chords that can be used
- ;Each Match chooses a word and location unique to that screen
-
- menumat: MATCH 23,2,,"Sort",main3,diskmat ; File Services menu
- diskmat: MATCH 2,28,,"Disk",dismain4,delmat ; Disk Services menu
- delmat: MATCH 14,21,,"bypass",delmen1,delmat2 ; Delete menu
- delmat2: MATCH 11,17,,"Multiple",delmen2,copmat ; Multiple file delete menu
- copmat: MATCH 12,1,,"File",copmen,prinmat ; alt copy menu
- prinmat: MATCH 2,31,,"File Print",prinmen,fsormat ; Print menu
- fsormat: MATCH 24,5,,"F7",sormen1,graf1 ; Sort menu
- graf1: MATCH 25,1,,"F1=rename",prunmen1,graf2 ; --
- graf2: MATCH 24,1,,"Please confirm",prunmen2,graf3 ; | Prune and Graft
- graf3: MATCH 24,1,,"Use",prunmen3,graf4 ; | menus
- graf4: MATCH 24,13,,"Please",prunmen4,viewmat ; --
- viewmat: MATCH 2,31,,"File View",viewmen,wordmat1 ; view/Edit menu
- wordmat1: MATCH 23,21,,"Press",wordmen1,wordmat2 ; Word
- wordmat2: MATCH 24,10,,"Search",wordmen2,wordmat3 ; Processing menus
- wordmat3: MATCH 22,15,,"You",wordmen3,argmat
- argmat: MATCH 5,6,,"Enter", argmen, sermat1 ;
- sermat1: MATCH 2,36,,"Search",sermen1,secmat ; File or Disk Search
- secmat: MATCH 10,20,,"Indicate",sec1,dviewmat ; Cluster change menu
- dviewmat: MATCH 25,37,,"F2=chg",dviewmen,sectrmat1 ; Disk View/Edit
- sectrmat1: MATCH 23,1,,"Sector",sectred2,sectrmat2 ; Update Confirmation
- sectrmat2: MATCH 25,1,,"Home=first",sectred1,mapmat1 ; Sector Edit
- mapmat1: MATCH 25,37,,"files",mapmen1,mapmat2 ; first map menu
- mapmat2: MATCH 21,33,,"mapped",mapmen3,mapmat3 ; Mapping options
- mapmat3: MATCH 25,16,,"view",mapmen2,undelmat ; second mapping menu
- undelmat: MATCH 22,4,,"F8=directory",undelmen1,unmat1 ; Undelete options1
- unmat1: MATCH 14,26,,"Automatic",undelmen2,unmat2 ; '' options2
- unmat2: MATCH 23,8,,"F1=Add",undelmen3,sermat2 ; '' options3
- sermat2: MATCH 16,2,,"Please",sermen1,mainmat ; Search options
- mainmat: MATCH 5,9,,"WELCOME",main1,moushelp ; opening menu or default
- ; to Mouse Help
-
- ;These are often needed keystrokes, so the labels correspond to the key
- ;and are refered to throughout the PCTOOLS mouse definition...although
- ;when multiple keystrokes are needed, the individual TYPE comands were used
- ;in series in most cases instead of EXECUTING these labels for simplicity.
-
- f1: TYPE 0,59 ;F1
- f2: TYPE 0,60 ;F2
- f3: TYPE 0,61 ;F3
- f4: TYPE 0,62 ;F4
- f5: TYPE 0,63 ;F5 Obvious eh?
- f6: TYPE 0,64 ;F6
- f7: TYPE 0,65 ;F7
- f8: TYPE 0,66 ;F8
- f9: TYPE 0,67 ;F9
- f10: TYPE 0,68 ;F10
- esc: TYPE ESC ;Escape
- any: TYPE " " ; The any key...so I choose <space>
- ent: TYPE ENTER ; <CR> or the ENTER key
-
- main1: popup 5,9,31
- text "╔═══════════════════ PCTOOLS SELECTOR ═══════════════════╗"
- text "║ ║"
- text "║ File Services Menu ║"
- text "║ File Services Menu + Drive/dir Change ║"
- text "║ Disk Services Menu ║"
- text "║ ║"
- text "║ FAST EXIT FROM PCTOOLS ║"
- text "║ ║"
- text "╠════════════════════════════════════════════════════════╣"
- text "║ ║"
- text "║ Middle Button birings up appropriate Menu ║"
- text "║ ║"
- text "║ Press Left and Right Buttons together for Mouse Help ║"
- text "║ ║"
- text "╚════════════════════════════════════════════════════════╝"
- select 3,11,39, any
- select 4,11,39, file1
- select 5,11,39, f3
- select 7,11,39, esc
- pend
-
- file1: EXECUTE f10,drivmen3 ;f10 toggle with DRIVE choice
-
- moushelp: popup 1,15, 31
- text "╔════════════════════════════════════════════════╗"
- text "║ MOUSE HELP ║"
- text "╠════════════════════════════════════════════════╣"
- text "║ ║"
- text "║ Mouse movement simulates Arrow Keys ║"
- text "║ ║"
- text "║ Middle Button brings up the appropriate Menu ║"
- text "║ ║"
- text "║ Left Button = Enter/Select/<CR> ║"
- text "║ ║"
- text "║ Right Button = F3 toggle between File and Disk ║"
- text "║ ║"
- text "║ Left and Middle = Page Down ║"
- text "║ ║"
- text "║ Middle and Right = Page Up ║"
- text "║ ║"
- text "║ Left and Right brings up Mouse Help-this Menu ║"
- text "║ ║"
- text "║ All Buttons = Escape ║"
- text "║ ║"
- text "║ RETURN TO PCTOOLS ║"
- text "║ ║"
- text "╚════════════════════════════════════════════════╝"
- select 21,17,17, ; selections with no following label exist for easy
- pend ; mouse menu exit without affecting the program
-
- main3: popup 1,1,31
- text "╔══════════════════╗"
- text "║ FILE SERVICES ║"
- text "╠══════════════════╣"
- text "║ EXIT MENU ║"
- text "║ Copy ║"
- text "║ Move ║"
- text "║ Compare ║"
- text "║ Find ║"
- text "║ Rename ║"
- text "║ Delete ║"
- text "║ Verify ║"
- text "║ View/Edit ║"
- text "║ Attribute ║"
- text "║ Word Processor ║"
- text "║ Print ║"
- text "║ List DIR to PRN ║"
- text "║ Sort ║"
- text "║ Help ║"
- text "║ Unselect ║"
- text "║ Alt Dir List ║"
- text "║ Dir List Arg. ║"
- text "║ File Select Arg. ║"
- text "║ Change Driv/Path ║"
- text "║ Fast Exit ║"
- text "╚══════════════════╝"
- select 4,3,16
- select 5,3,16 ,cop1
- select 6,3,16 ,mov1
- select 7,3,16 ,comp1
- select 8,3,16 ,find1
- select 9,3,16 ,ren1
- select 10,3,16,d1
- select 11,3,16,ver1
- select 12,3,16,view1
- select 13,3,16,attr1
- select 14,3,16,word1
- select 15,3,16,print1
- select 16,3,16,list1
- select 17,3,16,sort1
- select 18,3,16,help1
- select 19,3,16,f1
- select 20,3,16,f2
- select 21,3,16,f8
- select 22,3,16,f9
- select 23,3,16,chng1
- select 24,3,16,fast1
- pend
-
- cop1: EXECUTE cop2,cop3
- cop2: TYPE "C"
- cop3: Execute drivmen3 ;gives DISK choice
-
- copmen: menu ,12,45,31
- option " Replace All Files That Exist ", rep1
- option " Replace This File Only ", rep2
- option " Skip All Files That Exist ", skip1
- option " Skip This File Only ", skip2
- option " TERMINATE OPERATION ", esc
- mend
- rep1: menu " *** WARNING ALL FILES WILL BE OVERWRITTEN *** ", 18, 15, 75
- option " Continue With Overwrite ", cop4
- option " Terminate Operation ", esc
- mend
- cop4: TYPE "R"
- rep2: menu " *** WARNING FILE WILL BE OVERWRITTEN *** ", 18, 18, 75
- option " Continue With Overwrite ", cop5
- option " Terminate Operation ", esc
- mend
- cop5: TYPE "W"
- skip1: TYPE "S"
- skip2: TYPE "T"
-
- mov1: EXECUTE mov2, mov3,
- mov2: TYPE "M"
- mov3: EXECUTE mov4
- mov4: menu "FILE MOVE --Original Files will be deleted--", 10, 17, 31
- option "YES---Proceed with File Move", m1
- option "No---Return without changes ", esc
- mend
- m1: EXECUTE m2, m3
- m2: TYPE "Y"
- m3: EXECUTE drivmen3 ; Disk choice again
-
- comp1: EXECUTE co1, co2, co3
- co1: TYPE "O"
- co2: EXECUTE drivmen3
- co3: menu "FILE COMPARE----Please Select", 10, 24, 31
- option "Files with MATCHING NAMES " , co4
- option "Input individual Filename " , any
- option "Return without Comparing " , esc
- mend
- co4: TYPE "Y"
-
- find1: TYPE "F"
- ren1: TYPE "R"
-
- d1: popup 10,13,31
- text "╔═══════════════════════════════════════════════════════╗"
- text "║ You Have Chosen File Deletion ║"
- text "║ You may Continue or Return Without Changes ║"
- text "╠═══════════════════════════════════════════════════════╣"
- text "║ Exit Without File Deletion ║"
- text "║ Continue With Pctools File Deletion ║"
- text "╚═══════════════════════════════════════════════════════╝"
- select 5,11,37,
- select 6,11,37, d2
- pend
- d2: TYPE "D"
-
- delmen2: menu " MULTIPLE FILE DELETION ", 19,20,31
- option " Return Without Deletion ", esc
- option " CONFIRM each FILE ", d3
- option " DELETE all selected FILES ", d4
- mend
- d3: TYPE "N"
- d4: EXECUTE delmen3
-
- delmen3: menu " *** WARNING all FILES will be DELETED ***", 19,14,75
- option " EXIT DELETION SERVICE ", esc
- option " Continue with File Deletion ", d5
- mend
- d5: TYPE "Y"
-
- delmen1: menu " CONFIRMATION REQUESTED ", 10,35,31
- option " DELETE This FILE ", d6
- option " SKIP This FILE ", d7
- mend
- d6: TYPE "Y"
- d7: TYPE "N"
-
- ver1: TYPE "V"
- view1: TYPE "E"
- viewmen: menu " View/Edit ", 10,30,31
- option " Toggle ", f1
- option " EXIT ", esc
- mend
-
- attr1: TYPE "A"
- word1: TYPE "W"
- wordmen1: menu " Word Processing ", 8,29,31
- option " Create New File ", f2
- option " Edit Current File ", any
- option " END ", esc
- mend
-
- wordmen2: menu " OPTIONS ", 6,33,31
- option " Save ", f2
- option " Search ", f3
- option " Replace ", f4
- option " Select ", f5
- option " Cut ", f6
- option " Copy ", f7
- option " Paste ", f8
- option " Show ", f10
- option " EXIT ", esc
- mend
-
- wordmen3: menu ,11,20,31
- option " Save New File ",word2
- option " Return to Word Processing ",esc
- option " EXIT Word Processing without Save ",word3
- mend
- word2: TYPE "Y"
- word3: TYPE "N"
-
-
- print1: TYPE "P"
- prinmen: menu "File Printing Service" ,16,18,31
- option "Return Without Printing " ,esc
- option "Print as Standard Text (control Characters)" ,p1
- option "Print as Standard Text (input user options)" ,p2
- option "Each Sector DUMPED in ASCII and HEX " ,p3
- option "Skip this File and Go to Next One Selected " ,p4
- mend
- p1: TYPE "P"
- p2: TYPE "W"
- p3: TYPE "D"
- p4: TYPE "N"
-
- list1: menu "List Current Directory (Output to Printer)" ,10,20,31
- option " Return Without Listing " ,
- option " List Directory to PRN " ,li1
- mend
- li1: TYPE "L"
-
- sort1: TYPE "S"
- sormen1: menu " File Sort Options ", 7, 25, 31
- option " Sort By Name ", s1
- option " Sort By Extension ", s2
- option " Sort By Size ", s3
- option " Sort By Date ", s4
- option " Update New Sort to Disk ", s5
- option " EXIT FILE SORT ", esc
- mend
- s1: EXECUTE f7, sormen2
- s2: EXECUTE f8, sormen2
- s3: EXECUTE f9, sormen2
- s4: EXECUTE f10, sormen2
- s5: TYPE "U"
-
- sormen2: menu " SORT ORDER ", 9, 33, 31
- option " Ascending ",s7
- option " Descending ",s8
- mend
- s7: TYPE "A"
- s8: TYPE "D"
-
- help1: TYPE "H"
-
- argmen: menu ,20,24,31
- option "Blank the Name and Extention" ,f10
- option " EXIT " ,esc
- mend
-
- chng1: EXECUTE f10, drivmen3 ; F10 toggle + DRIVE menu
- fast1: TYPE ESC, "Y" ; example of multiple
- ; Keystrokes
-
- dismain4: menu "DISK SERVICES " ,1,62,31
- option " EXIT MENU " ,
- option " Copy " ,dcop2
- option " Compare " ,dcomp2
- option " Find " ,dfind2
- option " Rename Label " ,dren2
- option " Verify Disk " ,dver2
- option " View/Edit " ,dview2
- option " Map of Disk " ,dmap2
- option " Locate " ,dloc2
- option " Initialize " ,dinit2
- option " Dir Maint " ,ddman2
- option " Undelete " ,dundel2
- option " System Info " ,dsys2
- option " Park " ,dpark2
- option " Help " ,dhelp2
- option " File Srvc " ,f3
- option " File/Drive " ,ddriv2
- option " FAST EXIT " ,dfast2
- mend
-
- drivmen1: menu "Select Source Drive" , 10,30,31
- option " Drive A: " , sela
- option " Drive B: " , selb
- option " Escape " , esc
- mend
- sela: TYPE "A", ENTER ;---
- selb: TYPE "B", ENTER ; |
- selc: TYPE "C", ENTER ; | Drive selection labels and commands
- seld: TYPE "D", ENTER ; |
- sele: TYPE "E", ENTER ;---
-
-
- drivmen2: menu "Select Target Drive", 10,30,31
- option " Drive A: ", sela
- option " Drive B: ", selb
- option " Escape ", esc
- mend
-
- drivmen3: menu " Select New Drive ", 7,30,31
- option " Current Drive ", ent
- option " Drive A: ", sela
- option " Drive B: ", selb
- option " Drive C: ", selc
- option " Drive D: ", seld
- option " Drive E: ", sele
- option " Escape ", esc
- mend
-
- dcop2: EXECUTE dc1,drivmen1,drivmen2 ; initializes copy and asks
- dc1: TYPE "C" ; for source and target drives
-
- dcomp2: EXECUTE dco1,drivmen1,drivmen2 ; initializes compare and asks
- dco1: TYPE "O" ; for source and target drives
-
- dfind2: EXECUTE df1,drivmen3 ; initializes find and asks
- df1: TYPE "F" ; and asks for drive
-
- dren2: EXECUTE dr1, drivmen3 ; initializes label rename and
- dr1: TYPE "R" ; asks for drive to rename
-
- dver2: EXECUTE dv1, drivmen3 ; initializes verify and asks
- dv1: TYPE "V" ; for disk to verify
-
- dview2: EXECUTE dvi1, drivmen3 ; initializes View/Edit and
- dvi1: TYPE "E" ; asks for drive to edit
-
- dmap2: EXECUTE dm1, drivmen3 ; inializes mapping and asks
- dm1: TYPE "M" ; for disk to map
-
- dloc2: EXECUTE dl1, drivmen3 ; initializes location and asks
- dl1: TYPE "L" ; for drive to search
-
- dinit2: EXECUTE din1, drivmen2 ; initializes format and asks
- din1: TYPE "N" ; for disk to format (a or b)
-
- ddman2: EXECUTE ddm1, drivmen3 ; initializes Dir maintenance
- ddm1: TYPE "D" ; and asks for drive
-
- dundel2: EXECUTE dun1, drivmen3 ; initializes Undelete and asks
- dun1: TYPE "U" ; for drive
-
- dsys2: TYPE "I" ; lists system info
-
- dpark2: TYPE "P" ; Parks Heads
-
- dhelp2: TYPE "H" ; brings up pctools disk help
-
- ddriv2: EXECUTE f10, drivmen3 ; toggles and asks for new dr
-
- dfast2: Type ESC, "Y" ; quick exit from main pctools
- ; menu
-
-
- prunmen1: menu "Dir Maint Options", 5, 58,31
- option " EXIT MENU ",
- option " Rename ", f1
- option " Create ", f2
- option " Remove ", f3
- option " Chng DOS Cur ", f4
- option " Prune and Graft ", f5
- option " Exit Dir Maint ", esc
- mend
-
- prunmen2: menu " Dir Prune and Graft ", 5,54,31
- option " Exit this Menu ",
- option " Proceed with Prune ", prunproc
- option " EXIT Prune and Graft ", esc
- mend
- prunproc: TYPE "P"
-
- prunmen3: menu " Directory Prune Initialized ", 16,25,31
- option " Exit this Menu ",
- option " Accept Selected Dir and Proceed ", accep
- option " EXIT Prune Option ", esc
- mend
- accep: TYPE ENTER
-
- prunmen4: menu " Directory Grafting ", 16,25,31
- option " Exit this Menu ",
- option " Proceed with Graft ", grafproc
- option " Exit Prune and Graft ", esc
- mend
- grafproc: TYPE "G"
-
- sermen1: menu ,16,25,31
- option " Toggle Entry Mode " ,f1
- option " Begin Search " ,ent
- option " EXIT Search " ,se
- mend
- se: TYPE ESC, " " ; <escape> + <space> to exit quickly
-
- dviewmen: menu , 11,25,31
- option " Change Sector Number ", f2
- option " EDIT ", f3
- option " Get Name ", f4
- option " EXIT Disk View/Edit ", esc
- mend
-
- sec1: menu " Sector to Display ", 8,26,31
- option " BOOT Sector ", sec2
- option " First FAT Sector ", sec3
- option " First ROOT Sector ", sec4
- option " First DATA Sector ", sec5
- option " Enter a Cluster ", sec6
- option " Do Not Change ", esc
- mend
- sec2: TYPE "B"
- sec3: TYPE "F"
- sec4: TYPE "R"
- sec5: TYPE "D"
- sec6: TYPE "C"
-
- sectred1: menu " Sector Edit Service ", 9,25,31
- option " Exit Menu ",
- option " Swap Entry Data ", f1
- option " Update Disk ", f5
- option " Cancel Update ", f6
- option " Exit Sector Edit ", esc
- mend
-
- sectred2: menu " CONFIRMATION REQUESTED ", 17,23,75
- option " Cancel Update ", sec7
- option " Proceed with Update ", sec8
- mend
- sec7: TYPE ESC," " ;<esc> + <space> for speedy return
- sec8: TYPE "U"," " ;"U" + <space> for quick update and return
-
- mapmen1: menu ,12,32,31
- option " Exit Menu ",
- option " Map Files ", map1
- option " EXIT MAPPING ", esc
- mend
- map1: TYPE "F"
-
- mapmen2: menu ,12,32,31
- option " Exit Menu ",
- option " View Entire Disk ", map2
- option " Reselect Files ", map3
- option " EXIT Mapping ", esc
- mend
- map2: TYPE "D"
- map3: TYPE "F"
-
- mapmen3: menu " MAPPING OPTIONS ", 6,28,31
- option " Exit Menu ",
- option " Proceed ", map4
- option " Dir List Argument ", f8
- option " File Selection Arg ", f9
- option " Change Path ", f10
- option " Unselect ", f1
- option " Alternate Dir List ", f2
- option " EXIT Mapping Servc ", esc
- mend
- map4: TYPE "G"
-
- undelmen1: menu " UNDELETE OPTIONS ", 6,28,31
- option " Exit Menu ",
- option " Proceed with Undel ", undel1
- option " Dir List Argument ", f8
- option " File Selection Arg ", f9
- option " Change Drive/Path ", undel2
- option " Unselect ", f1
- option " Alternate Dir List ", f2
- option " EXIT Undelete Srvc ", esc
- mend
- undel1: TYPE "G"
- undel2: EXECUTE f10,drivmen3
-
- undelmen2: menu " OPTIONS ", 19,30,31
- option " Automatic ", f1
- option " Manual ", f2
- option " Exit Undel ",esc
- mend
- undelmen3: menu " OPTIONS ", 8,24,31
- option " Exit Menu ",
- option " Add to File and display next ", f1
- option " Skip to next Cluster ", f2
- option " Save File ", f3
- option " Unselect ", f4
- option " Search ", f5
- option " Select Cluster Number ", f6
- option " EXIT Undelete Service ", esc
- mend
-
- ; end of Logitech mouse menu definition for PCTOOLS 4.11