HPAD ÿÿ0Ð Jd©�«©�†«2ŽR«´¹j©�©�|7P«” Run ProgramÄ6Edit ProgramÌECommands¢g¹6ðžèOpü…P« §NScan/.È¢c¼TìO6ð{�††P« )VRMZR ÿÿØ]3*F=B=:=6=.=*=¢vhý�WÀW#*'*+*-*1*4*H*Z*b*t*U‹ìƒìW¹Ä~ë �&€= u&ÆAG&€=uî‰~ŒF‰Nþ‹Á_‹å]ÂU‹ìƒìVÇFþƒ~~‹v‹ÆFþÿvÿvšJ3ƒÄ@FNuë‹F‹V^‹å]ÂU‹ìƒìWVƒ~t ¸^_‹å]Ë�è�F‰FìŒVîƒFìÄ^ì&‹Gü&‹Wþ‰Fö‰VøÄ^ö&ÿw&ÿ7èIÿ‰FðÑàPš *£‰ ÇFôƒ~ð~‰Fè‰Vê‹vô‹NðÄ~è&‰5ƒÇF;ñ|õ‰vôÄ^ö&‹&‹W‰Fü‰VþÇFôƒ~ðéoÿÇFâ‹Fô‰Fò‹Fð9Fò}\‹~â‹÷+Fô‰FäFòÿvþÿvüÄ&ÿ0èôþRPÿvþÿvüÄ&ÿ1èâþRPšb3ƒÄ À~Ä&‹‰Fú&‹&‰‹Fú&‰ƒÆÿNäu²ƒFâÿFô‹Fð9Fô|éîþë‚ÿ6 ÿ6š*+À£ £¸Ë�èâÿË�U‹ìƒìWVƒ~u ¡  u ¸^_‹å]Ë�F‰FìŒVîƒFìÄ^ì&‹Gü&‹Wþ‰Fô‰VöÄ^ô&ÿw&ÿ7šJ3ƒÄ@Pš*‰Fø‰VúÄ^ô&‹&‹W‰Fè‰VêÄ^ø&‹&‹W‰Fü‰VþÿvêÿvèèÈý‰FðÇFò À~UH‰Fæ+ÿ‹vòÿvêÿvèÄ&ÿ1è×ýRPÿvþÿvüš3ƒÄÿvþÿvüšJ3ƒÄFü9væ~ Ä^ü&Æ ÿFüƒÇF;vð|·‰vòÿvúÿvøš*é"ÿ�°é~°éy°ét° éoì(=D*^*=*¸=ŽØº`´ Í!¸LÍ!VW¸=ŽØ¾‚¿‚è#_^š3ËVW¸=ŽØ¾‚¿‚è _^š¬Ë;÷sƒï‹ EtòÿëîÃ2ä.ÿ.Ë�U‹ì‹×‹ÞÅv ‹þŒØŽÀ3À¹ÿÿò®÷ÑÄ~‹Ç¨t¤IÑéó¥Éó¤‹ó‹úŒÂ]ËU‹ì‹×Ä~3À¹ÿÿò®÷ÑI‘‹ú]ËU‹ì‹ÖÅv Ä^°ÿ Àt-¬&Š'C:àtó,A<É€á ÁA†à,A<É€á ÁA:ÄtÓÀÿ˜‹ò]Ësortinitapplysortsortterm =p=²=’FFFFFFFFThis program requires HyperPAD. $SORT|B%5-Handler Select; Begin help; End; Òž57X  ï:*H FN˜žâ F1=Helpon‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡1‡GGpÿ‡OPH&IS PIF ITEM.1/*‹…Ÿ4ž1p07pÿ[7G?handler cancel; begin go to page "Run Program"; end;7G7Run Program*sM"‚ HyperPAD 2.2¨ Brightbi‚l-Roberts & Co.‚бÿÿÿÿÿÿÿÿÿÿÿÿÿÿ¾Ðpÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡¾‡Ð0@  & p >(80Handler Select; Begin go home; End; Òž87‹*HIOÔž¯ Homeutton0m00±‡±‡±‡±‡±‡±‡±‡‡‡1‡GGpÿ‡ú-- EXE, EXT, KEYS, PARMS, WORK FILE DIR handler runprogram; begin global pinfo,cline; put item 2 of pinfo into wext; if wext <> empty then begin answer "Load a work file?" with "Yes","No","Cancel"; if it is "Cancel" or it is empty then exit; if it is "Yes" then begin put item 5 of pinfo into wdir; if the last char of wdir is not "\" then put "\" after wdir; put fileopen("Work File","Work filename:",wdir & "*." & wext) into wname; if wname is empty then exit; put GetDirPart(wname) into item 5 of line cline of field "Program Info"; push this page; runfile(wname); exit; end; end; push this page; runit(wname); end; handler select; begin global pinfo,cline; if the shiftkey is "down" then editprogram the currentline of me else begin put the currentline of me into cline; put line cline of field "program info" into pinfo; runprogram; end; end;€�oÒwŽ$ runprogram7pinfoX2� XXX� .0CancelNoYesLoad a work file? XU�X+CancelX+2*YesX+åpinfoX5� XXX\ Xl——>.\� XX Work FileWork filename: *. ,,   N:� XXX� +*   getdirpart;:�XProgram Info&Xcline5 X`]   runfile;:*`]   runit;:*7downX  :+ f€g Ú c  editprogram;:$Xf€g Ú c�clineXXXXprogram info&##Xcline�pinfoXXXX runprogram;:*P‡;xž9Programs‡‡‡‡‡‡‡‡‡‡‡‡‡�p‡4žpÿ‡P‡ PProgram Info‡‡‡‡‡‡‡‡‡‡‡�p‡ˆžpÿ‡B%5-Handler Select; Begin help; End; Òž57X  ï:*HFNÀ7üF1=Helpon‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡1‡GGpÿ‡O„Z&‚ HyperPAD 2.2¨ Brightbi‚l-Roberts & Co.‚‚± Programsıÿÿÿÿÿÿÿÿÿÿÿÿÿÿ¾Ðp‚‡Š0ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ÿ‡ƒ‡!@Šï Xª@‡€H‡€Hý6.function askdeletecurrent; begin put the currentline of field "Programs" into cline; get line cline of field "Programs"; if it is not empty then begin answer "Are you sure you want to remove" && quote & it & quote && "from the Programs list?"; if it is not "Ok" then exit to hyperpad; end else exit to hyperpad; return cline; end; handler deleteprograms(plist); begin put the number of items of plist into nm; for i = nm down to 1 do begin delete line (item i of plist) of field "Programs"; delete line (item i of plist) of field "Program Info"; end; set the focus to field "Programs"; end; Handler Select; Begin get the markedlines of field "programs"; if it is empty then get askdeletecurrent(); deleteprograms it; End;€‚:.€�ðÒš$askdeletecurrent7XPrograms&  Ú c� XXXXPrograms&##X �XXXX�X.Yfrom the Programs list?�X�Are you sure you want to remove-,,-XXUOkX.0*$0* 9*$deleteprograms87X@� XXX  XXX1 4Z�XPrograms&XXX  W�XProgram Info&XXX  W1  XXX$›ÿXPrograms& h*7Xprograms&  á c�XXXX�X+ X askdeletecurrent;:�XXXXX  deleteprograms;:*H”h:_3-Removev”‡‡‡‡Ôèž1 p3zI6.>6Handler Select; Begin go to pad "add"; End;Ò7>7add *H  „B8¨2-Addtonv”‡‡‡‡Ôèž1 p2yU64D<Handler Select; Begin go to page "Commands"; End;ÒžD7Commands*H=  ”ž=4-Misc.ds..v”‡‡‡‡Ôèž1 p4{´6ÿHandler Select; Begin if field "Programs" is empty then exit; get the markedlines of field "Programs"; if it is empty then get the currentline of field "Programs" else put field "Programs" into field "Programs"; editprogram item 1 of it; End; Òž7�XPrograms&##+*XPrograms&  á c�XXXX�X+XPrograms&  Ú c�XXXX$&XPrograms&##�XPrograms&X XXX1  editprogram;:*H> žÞ1-Edit..v”‡‡‡‡Ôèž1 p1xÓ­ ó µ -- EXE, EXT, KEYS, PARMS, WORK FILE DIR handler domenu(d); begin if d is not "next" and d is not "previous" then pass; end; handler openPage; begin set the focus to field "Programs"; end; handler checkList; begin if field "Programs" is empty then begin answer "The program list is empty." with "Ok","Scan Disk","Add One Program"; if it is "Scan Disk" then begin go to page "Commands"; send "select" to page button id 5; end else if it is "Add One Program" then send "select" to pg btn "2-Add"; end; end; function translate(s,fname); begin put substitute(s,"",GetFilePart(fname)) into s; put substitute(s,"",GetDirPart(fname)) into s; put substitute(s,"",fname) into s; put substitute(s,"",GetPrefix(fname)) into s; get GetDirPart(fname); if the last char of it <> "\" then put "\" after it; put substitute(s,"",it) into s; return s; end; handler runfile(wname); begin global pinfo; put item 3 of pinfo into lcmd; if lcmd is not empty then begin record translate(lcmd,wname); playback; put empty into wname; end; runit(wname); end; handler runit(wname); begin global pinfo; get (item 1 of pinfo) && translate(item 4 of pinfo,wname); pop page; if item 6 of pinfo then run it with programdirectory else run it; end; handler editprogram(l); begin put line l of field "Programs" into description; get line l of field "Program Info"; go to page "Edit Program"; put l into page field "Saved"; put description into page field "Program Description"; put item 1 of it into page field "Program Path"; put item 2 of it into page field "Work File Extension"; put item 3 of it into page field "Keystrokes"; put item 4 of it into page field "Command Line Parameters"; put item 5 of it into page field "Work File Directory"; set the check of page button id 10 to item 6 of it; end; handler tobutton; begin get the markedlines of field "programs"; if it is empty then get the currentline of field "Programs"; set the lockscreen to true; get item 1 of it; domenu "new button"; put the number of page buttons into bnum; put line it of field "program info" into pinfo; put line it of field "programs" into description; set the withedge of page button bnum to false; set the name of page button bnum to description; set the color of page button bnum to 23; set the shadow of page button bnum to true; set the rect of page button bnum to 10,10,10 + length(description) + 2,11; set the hiliteiffocus of page button bnum to true; put "handler Select;" & return & "begin" & return into s; get (item 1 of pinfo) && translate(item 4 of pinfo,""); put " run ^"" & it & quote after s; if item 6 of pinfo then put " with programdirectory;" after s; put return & "end;" after s; set the script of page button bnum to s; domenu "Cut Button"; domenu "Browse"; set the lockscreen to false; answer "The button has been created. Navigate to the pad you want to paste the button into (make sure the userlevel is set to Authoring) and select Edit - Paste Button" with "Ok"; end; handler sortprograms; begin put field "programs" into names; put field "program info" into info; sortinit names; put applysort(names) into field "programs"; put applysort(info) into field "program info"; sortterm; end; handler help; begin go to page id 45 of pad "home.hlp"; end; èžó é"€�ÿ+€‚ù€�;€�»€�ž2€�žÆ €�ëï½87previousX.nextX.1/*7XPrograms& h*$ checklist7�XPrograms&##+£Add One ProgramScan DiskOkThe program list is empty. XUScan DiskX+"CommandsselectX5N ‰$.Add One ProgramX+selectX2-AddL ‰*$ translate87X   getfilepart;:   P:�XXXXX   getdirpart;:   P:�XXXXX    P:�XXXXX   getprefix;:   P:�XXXX   getdirpart;:� XXX\ Xl——>.\� XX X    P:�XXXXX9*$ runfile87pinfoX3� XXX� .6 X  translate;:   ü:X  ý:��XXXXX  runit;:*$runit87pinfoX4X  translate;:pinfoX1-� XXX^pinfoX6  H$ XH*$ editprogram87XPrograms&##XX� XXXXProgram Info&##XX� XXXEdit ProgramX�XSaved%X X �XProgram Description%X X X1�XProgram Path%X X X2�XWork File Extension%X X X3�XKeystrokes%X X X4�XCommand Line Parameters%X X X5�XWork File Directory%X XX10N  Å X6 P*$ tobutton7Xprograms&  á c�XXXX�X+XPrograms&  Ú c�XXXXX "� PXX1�XXXXnew button   è:XD� XXXXprogram info&##XX� XXXXprograms&##XX� XXXX L  Á � PX L  X  PX L  º 23 PX L  Ç � PX L  )112    :101010 PX L  ¾ � P� begin� handler Select;,,,� XXX X4  translate;: X1-�XXXX�X run ",,� XX  X6% with programdirectory;� XX end;� ,� XX X L  Z  PCut Button   è:Browse   è:X "� POkThe button has been created. Navigate to the pad you want to paste the button into (make sure the userlevel is set to Authoring) and select Edit - Paste Button XU*$sortprograms7Xprograms&##� XXXXprogram info&##� XXX   sortinit;:   applysort;:�Xprograms&X X   applysort;:�Xprogram info&X XX sortterm;:*7home.hlp“45’*¥fÿÿ†Ú¥Ä¿Ü¨³�ProgramsŽ³Û¨äÄ´ÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛÏÛ©§ßå'Use  to highlight a program, then pre‚s ENTER.Ÿÿÿ†§€¨§€¨¤‚€Ï€Ï€Ï€Ï€Ï€Ï€Ï€Ï€Ï€Ï€Ï€Ï€Ï€Ï€Ï€Ï€©§€”„ÌÐ0) Þ³5U3I^󔔀H 47YÅ-- EXE, EXT, KEYS, PARMS, WORK FILE DIR Handler Select; Begin global pinfo; put page field "Saved" into cline; put trim(page field "Program Description") into description; get page field "Program Path" & "," & page field "Work File Extension" & "," & page field "Keystrokes" & "," & page field "Command Line Parameters" & "," & page field "Work File Directory" & "," & the check of page button id 10; put page field "load this file" into wname; go to page "Run Program"; put description into line cline of field "Programs"; put it into line cline of field "Program Info"; send "sortprograms" to this page; if wname is not empty then begin put it into pinfo; send "runfile" wname to this page; end; End;Òf7XSaved%##� XXXXProgram Description%##   6:� XXXX10N  Å c,XWork File Directory%##,XCommand Line Parameters%##,XKeystrokes%##,XWork File Extension%##,XProgram Path%##,,,,,,,,,,�XXXXXload this file%##� XXXRun Program �XPrograms&X  XX�XProgram Info&X  Xsortprograms` ‰� .$X�pinfoXXX runfile` ‰*HAE h:7Ok Button‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡1‡GGpÿ‡OD'7/Handler Select; Begin cancel; End; Òž77X  :*HGOðh:<Cancelton‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡1‡GGpÿ‡OHP7Program description±‡±‡±‡±‡±‡±‡±‡4p‡žÿ‡‡H‡PJProgram path‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡tp‡”À�ÿ‡HP  J Command line parameters±‡±‡±‡±‡±‡tp‡¼À�ÿ‡HÿP J Work file directory±‡±‡±‡±‡±‡±‡±‡tp‡´À�ÿ‡‡H‡P Work File Extension‡±‡±‡±‡±‡±‡±‡$p‡\À�ÿ‡‡H‡PJKeystrokesd‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡5p‡(7ÿ‡‡ H‡P  *Saved‡‡‡‡‡‡‡‡‡‡‡‡‡‡!p‡H7ÿÿpÿ‡He $Run from program directory°pÿ HPe hPload this filežN[0pPžÿÿpÿœú Handler Select; Begin answer "Ok to remove program ^"" & trim(page field "program description") & "^"?"; if it is "Ok" then begin get page field "Saved"; cancel; send "deleteprograms" it to page button id 3; end; End; Ò: 7"?Xprogram description%##   6:Ok to remove program ",,XXUOkX+;XSaved%##�XXXXX  :XdeleteprogramsX3N ‰*H Lh:2@3-Removen‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡1‡p‡3z/›·£{handler keypresss(k); begin if key(k) is "enter" then send "select" to page button "Ok" else pass; end;} handler cancel; begin if page field "load this file" is not empty then pop page else go to page "run program"; end; handler openpage; begin put empty into page field "load this file"; set the focus to page field id 3; end; handler help; begin go to page id 25 of pad "home.hlp"; end;ž·éíï7�Xload this file%##.^$run program*7��Xload this file%X XX3' h*7home.hlp“25’*zÒ Edit Program ÿäÉÇͻ܆ºÇºÛ†ÇÇĶۆºÇºÛ†ºÇºÛ†ºÇºÛ†ÇÇĶۆºÇºÛ†ºÇºÛ†ºWork file extension:.°ºÛ†ºÇ ºÛ†ºÇºÛ†ºÇºÛ†ºÇºÛ†ºÇºÛ†ÈÇͼۇÉßÿõUse TAB to move betw‚e%n fields, F2 to edit, then select Ok.”ÒŽ0ÿäÉ€†É€†É€†É€†É€†É€†É€†É€†É€†—±€†É€†É€†É€†É€†É€†É€†‡É€†ˇÒÐÐe BKDï6Î;^<¨<¾<=&=x=Ž=à=ö=H>^>°>Æ>?.?€?Ê?à?ÐA€Hg8H@Handler Select; Begin domenu "Run Program..."; End; ÒžH7Run Program...   è:*H‡ % \B8IFQuickly run a program..‡‡‡‡‡1‡00pÿ‡¹6õýHandler Select; Begin get environment("comspec"); if it is empty then get FindFile("COMMAND.COM"); if it is empty then answer "Unable to locate COMMAND.COM. The location of this file must be included in your path." else run it; End;Òž7comspec   &:�XXXX�X+COMMAND.COM   ]:�XXXX�X+_Unable to locate COMMAND.COM. The location of this file must be included in your path.XXU$XXH*H+ E  5üFGo to DOS promptmpt‡‡‡Ôèž100pÿ5|D'7/Handler Select; Begin cancel; End; Òž77X  :*HGO žICancelton‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡1‡GGpÿ‡O¸6p€xHandler Select; Begin go to page "scan"; put substitute(drives(),",",return) into page field "drives"; End;Ò6€7scanX  Y:,�   P:�Xdrives%X X*H % O6‘IScan for programs..‡‡‡Ôèž100pÿ5|¤6%Handler Select; Begin go to page "Run Program"; put the userlevel into saved; set the userlevel to 4; if the userlevel < 4 then begin answer "Unable to create the button." with "Ok"; end; send "tobutton" to this page; set the userlevel to saved; End;Òž%7Run ProgramX %c� XXXX %4 P4X %c5(OkUnable to create the button. XUtobutton` ‰X %  P*H+ E ž•JCreate buttonn button‡Ôèž100pÿ4{·‡w�handler cancel; begin go to page "Run Program"; end; handler help; begin go to page id 35 of pad "home.hlp"; end;��ï¡7Run Program*7home.hlp“35’*gýfÒ Run Program ” Co‚mands ÿÿšÚÂĿ܋³ƒ �What co‚mand do you want to do?‘³Û‹³Â³Û‹³Â³Û‹³Â³Û‹³Â³Û‹³Â³Û‹³Â³Û‹³Â³Û‹³Â³Û‹³Â³Û‹³Â³Û‹ÀÂÄÙÛ�ÃßÿÿÿšUse TAB to highlight a bu‚t on, then pre‚s ENTER.ŸÒ�0”Š0ÿÿšÄ€‹Ä€‹Ä€‹Ä€‹Ä€‹Ä€‹Ä€‹Ä€‹Ä€‹Ä€‹Ä€‹Ä€‹Ä€�Àÿÿÿé) …L>M3F²F·HGIKJ;L€HD'7/Handler Select; Begin cancel; End; Òž77X  :*H4<O6èNCancelton‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡1‡GGpÿ‡ODh\ž0/A: C: D: E: F: G: L: P: Q: S: T: U: V: X: Y: Z:D#3+Handler Select; Begin scan; End;Ò637X scan;:*P "øž¾ODrivesèO6¡päžÿÿpÿD#3+handler select; begin scan; end;Ò637X scan;:*H.2O6VPOk Button‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡±‡1‡GGpÿ‡O‰0KaShandler scan; begin get the markedlines of page field "Drives"; if it is empty then get the currentline of page field "Drives"; put page field "Drives" into dlist; put the number of items of it into numdrives; go to page 1; for i = 1 to numdrives do begin push this page; put field "program info" into duplist; go to page 5 of pad "setup"; send "scandisk" char 1 of line (item i of it) of dlist,duplist to this page; pop page; end; send "sortprograms" to this page; end; handler help; begin go to page id 37 of pad "home.hlp"; end; €�žaïs$scan7XDrives%  á c�XXXX�X+XDrives%  Ú c�XXXXXDrives%##� XXXX@� XXX11 XXX  6q`]Xprogram info&##� XXXsetup“5’  XXX 1scandisk` ‰^1  XXX$ƒÿsortprograms` ‰*7home.hlp“37’*¶2€Ò Run a Program � Scan for Programs ÿ‚ڪĿܣ³…What drive do you want to scan?†³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£³ª³Û£ÀªÄÙÛ¤¬ßÿ³Pre‚s ENTER to select a drive le‚ter, ALT for co‚mands™Ò�0�“0ÿ‚¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€£¬€¤¬€ÿÿƒ% æPqTÒN.OxOPœP