home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1996-07-31 | 396.4 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Audio Help
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Fri Mar 10 07:00:00 1995, modified Wed Jul 31 15:53:29 1996, creator HyperCard, type HyperCard stack, 188416 bytes "Audio Help" , at 0x2e080 217245 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 41 75 64 69 6f 20 | 48 65 6c 70 00 00 00 00 |..Audio |Help....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 e0 00 00 | 03 50 9d ab 85 ef c0 ae |........|.P......|
|00000060| 25 6a 39 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |%j9.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4e e9 00 00 |........|....N...|
|00000080| 00 00 74 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..t.STAK|........|
|00000090| 00 00 00 0a 00 02 e0 00 | 00 00 74 00 00 00 00 01 |........|..t.....|
|000000a0| 00 00 00 02 00 00 00 03 | 00 00 1d 53 00 00 00 6e |........|...S...n|
|000000b0| 00 00 47 e6 00 00 30 72 | 00 00 00 03 00 00 4b a0 |..G...0r|......K.|
|000000c0| 00 00 09 b3 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 00 60 15 02 30 60 03 | 02 30 60 03 02 30 80 00 |..`..0`.|.0`..0..|
|000000f0| 65 16 57 49 00 00 00 01 | 00 65 01 20 01 89 02 20 |e.WI....|.e. ... |
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 94 0c 00 00 0c cf | 01 24 01 00 00 00 00 00 |........|.$......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| 88 22 88 22 88 22 88 22 | b1 30 03 1b d8 c0 0c 8d |."."."."|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| f8 00 00 00 00 00 00 00 | ff 80 80 80 ff 08 08 08 |........|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 e2 40 00 00 0a 20 | 00 02 75 00 00 00 1b 40 |...@... |..u....@|
|00000490| 00 02 b9 a0 00 00 26 40 | 00 00 00 00 00 00 00 00 |......&@|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000690| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006c0| b0 b0 b0 b0 b0 b0 b0 0d | 41 75 64 69 6f 20 48 65 |........|Audio He|
|000006d0| 6c 70 0d 56 65 72 73 69 | 6f 6e 20 32 2e 33 0d 0d |lp.Versi|on 2.3..|
|000006e0| a9 43 6f 70 79 72 69 67 | 68 74 20 31 39 38 37 2d |.Copyrig|ht 1987-|
|000006f0| 31 39 39 35 20 62 79 20 | 41 70 70 6c 65 20 43 6f |1995 by |Apple Co|
|00000700| 6d 70 75 74 65 72 2c 49 | 6e 63 2e 0d 41 6c 6c 20 |mputer,I|nc..All |
|00000710| 52 69 67 68 74 73 20 52 | 65 73 65 72 76 65 64 2e |Rights R|eserved.|
|00000720| 0d 0d 54 48 45 20 4d 45 | 53 53 41 47 45 20 48 41 |..THE ME|SSAGE HA|
|00000730| 4e 44 4c 45 52 53 20 55 | 53 45 44 20 49 4e 20 54 |NDLERS U|SED IN T|
|00000740| 48 49 53 20 53 43 52 49 | 50 54 3a 0d 6f 70 65 6e |HIS SCRI|PT:.open|
|00000750| 53 74 61 63 6b 2c 63 6c | 6f 73 65 53 74 61 63 6b |Stack,cl|oseStack|
|00000760| 2c 72 65 73 75 6d 65 53 | 74 61 63 6b 2c 73 75 73 |,resumeS|tack,sus|
|00000770| 70 65 6e 64 53 74 61 63 | 6b 2c 68 65 6c 70 2c 63 |pendStac|k,help,c|
|00000780| 72 65 61 74 65 48 65 6c | 70 4d 65 6e 75 2c 0d 64 |reateHel|pMenu,.d|
|00000790| 65 6c 65 74 65 48 65 6c | 70 4d 65 6e 75 2c 73 65 |eleteHel|pMenu,se|
|000007a0| 74 4c 6f 63 61 74 69 6f | 6e 43 68 65 63 6b 4d 61 |tLocatio|nCheckMa|
|000007b0| 72 6b 2c 72 65 73 65 74 | 48 65 6c 70 47 6c 6f 62 |rk,reset|HelpGlob|
|000007c0| 61 6c 2c 73 74 6f 72 65 | 48 65 6c 70 49 6e 66 6f |al,store|HelpInfo|
|000007d0| 2c 0d 6c 65 61 76 65 48 | 65 6c 70 2c 67 6f 4f 76 |,.leaveH|elp,goOv|
|000007e0| 65 72 76 69 65 77 2c 67 | 6f 42 61 6c 6c 6f 6f 6e |erview,g|oBalloon|
|000007f0| 73 2c 67 6f 4d 61 69 6e | 54 6f 70 69 63 73 2c 67 |s,goMain|Topics,g|
|00000800| 6f 43 6f 6e 74 65 6e 74 | 2c 67 6f 43 61 72 64 2c |oContent|,goCard,|
|00000810| 67 6f 47 72 61 79 2c 0d | 73 74 6f 72 65 4d 6f 73 |goGray,.|storeMos|
|00000820| 74 52 65 63 65 6e 74 43 | 61 72 64 2c 73 65 6c 65 |tRecentC|ard,sele|
|00000830| 63 74 57 68 6f 6c 65 4c | 69 6e 65 2c 63 68 65 63 |ctWholeL|ine,chec|
|00000840| 6b 46 6f 72 4d 69 73 73 | 69 6e 67 46 6f 6e 74 73 |kForMiss|ingFonts|
|00000850| 2c 73 61 76 65 53 65 6c | 65 63 74 69 6f 6e 2c 0d |,saveSel|ection,.|
|00000860| 63 68 65 63 6b 53 61 76 | 65 53 65 6c 65 63 74 2c |checkSav|eSelect,|
|00000870| 61 70 43 6c 6f 73 65 2c | 6f 70 65 6e 43 61 72 64 |apClose,|openCard|
|00000880| 2c 63 6c 6f 73 65 43 61 | 72 64 2c 6f 70 65 6e 46 |,closeCa|rd,openF|
|00000890| 69 65 6c 64 2c 61 70 4f | 70 65 6e 53 74 61 63 6b |ield,apO|penStack|
|000008a0| 2c 0d 61 70 43 6c 6f 73 | 65 53 74 61 63 6b 2c 61 |,.apClos|eStack,a|
|000008b0| 70 48 65 6c 70 2c 61 70 | 49 6e 76 6f 6b 65 2c 72 |pHelp,ap|Invoke,r|
|000008c0| 65 73 65 74 41 50 4d 65 | 6e 75 73 2c 61 70 53 61 |esetAPMe|nus,apSa|
|000008d0| 76 65 2c 61 70 42 65 67 | 69 6e 45 64 69 74 2c 0d |ve,apBeg|inEdit,.|
|000008e0| 61 70 42 65 67 69 6e 57 | 61 76 65 45 64 69 74 2c |apBeginW|aveEdit,|
|000008f0| 61 70 45 6e 64 57 61 76 | 65 45 64 69 74 2c 73 74 |apEndWav|eEdit,st|
|00000900| 61 72 74 53 6f 75 6e 64 | 2c 55 70 64 61 74 65 50 |artSound|,UpdateP|
|00000910| 72 6f 74 6f 53 63 72 69 | 70 74 73 2c 0d 61 6e 6e |rotoScri|pts,.ann|
|00000920| 6f 74 65 49 6e 73 74 61 | 6c 6c 2c 6e 6f 72 6d 61 |oteInsta|ll,norma|
|00000930| 6c 49 6e 73 74 61 6c 6c | 2c 55 70 64 61 74 65 41 |lInstall|,UpdateA|
|00000940| 6e 6e 6f 74 65 4d 65 6e | 75 73 2c 61 70 44 65 6c |nnoteMen|us,apDel|
|00000950| 56 4e 6f 74 65 2c 61 70 | 48 69 64 65 4e 6f 74 65 |VNote,ap|HideNote|
|00000960| 73 2c 0d 61 70 53 68 6f | 77 4e 6f 74 65 73 2c 61 |s,.apSho|wNotes,a|
|00000970| 70 41 64 64 4d 65 6d 6f | 2c 72 65 73 65 74 41 50 |pAddMemo|,resetAP|
|00000980| 42 75 74 74 6f 6e 73 2c | 50 6c 61 79 41 6c 6c 4d |Buttons,|PlayAllM|
|00000990| 65 6d 6f 73 0d 0d 54 48 | 45 20 46 55 4e 43 54 49 |emos..TH|E FUNCTI|
|000009a0| 4f 4e 20 48 41 4e 44 4c | 45 52 53 20 55 53 45 44 |ON HANDL|ERS USED|
|000009b0| 20 49 4e 20 54 48 49 53 | 20 53 43 52 49 50 54 3a | IN THIS| SCRIPT:|
|000009c0| 0d 6d 65 6e 75 49 74 65 | 6d 73 2c 6d 65 6e 75 43 |.menuIte|ms,menuC|
|000009d0| 6f 6d 6d 61 6e 64 73 2c | 67 65 74 48 65 6c 70 49 |ommands,|getHelpI|
|000009e0| 6e 66 6f 2c 73 74 61 63 | 6b 49 73 42 65 69 6e 67 |nfo,stac|kIsBeing|
|000009f0| 55 73 65 64 2c 72 65 61 | 6c 54 6f 70 69 63 4e 61 |Used,rea|lTopicNa|
|00000a00| 6d 65 2c 0d 74 72 75 6e | 63 61 74 65 4e 61 6d 65 |me,.trun|cateName|
|00000a10| 2c 63 68 65 63 6b 49 66 | 41 70 70 6f 69 6e 74 6d |,checkIf|Appointm|
|00000a20| 65 6e 74 73 2c 63 68 65 | 63 6b 49 66 41 64 64 72 |ents,che|ckIfAddr|
|00000a30| 65 73 73 65 73 2c 63 6f | 6d 70 75 74 65 4d 65 6d |esses,co|mputeMem|
|00000a40| 6f 4c 6f 63 2c 0d 62 75 | 74 74 6f 6e 41 6c 72 65 |oLoc,.bu|ttonAlre|
|00000a50| 61 64 79 54 68 65 72 65 | 2c 63 61 72 64 48 61 73 |adyThere|,cardHas|
|00000a60| 53 6f 75 6e 64 73 2c 69 | 73 53 6f 75 6e 64 42 75 |Sounds,i|sSoundBu|
|00000a70| 74 74 6f 6e 2c 66 69 72 | 73 74 53 6f 75 6e 64 42 |tton,fir|stSoundB|
|00000a80| 75 74 74 6f 6e 2c 0d 0d | b0 b0 b0 b0 b0 b0 b0 b0 |utton,..|........|
|00000a90| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000aa0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000ab0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000ac0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 0d |........|........|
|00000ad0| 0d 2d 2d 2d 2d 2d 2d a5 | a5 20 20 53 59 53 54 45 |.------.|. SYSTE|
|00000ae0| 4d 20 4d 45 53 53 41 47 | 45 53 20 20 a5 a5 2d 2d |M MESSAG|ES ..--|
|00000af0| 2d 2d 2d 2d 0d 0d 6f 6e | 20 6f 70 65 6e 53 74 61 |----..on| openSta|
|00000b00| 63 6b 0d 41 50 6f 70 65 | 6e 53 74 61 63 6b 20 2d |ck.APope|nStack -|
|00000b10| 2d 20 66 6f 72 20 74 68 | 65 20 41 75 64 69 6f 20 |- for th|e Audio |
|00000b20| 50 61 6c 65 74 74 65 0d | 69 66 20 73 74 61 63 6b |Palette.|if stack|
|00000b30| 49 73 42 65 69 6e 67 55 | 73 65 64 28 29 20 74 68 |IsBeingU|sed() th|
|00000b40| 65 6e 20 70 61 73 73 20 | 6f 70 65 6e 53 74 61 63 |en pass |openStac|
|00000b50| 6b 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |k.set cu|rsor to |
|00000b60| 77 61 74 63 68 0d 63 68 | 65 63 6b 46 6f 72 4d 69 |watch.ch|eckForMi|
|00000b70| 73 73 69 6e 67 46 6f 6e | 74 73 20 2d 2d 20 43 68 |ssingFon|ts -- Ch|
|00000b80| 65 63 6b 20 74 6f 20 73 | 65 65 20 74 68 61 74 20 |eck to s|ee that |
|00000b90| 6e 65 63 65 73 73 61 72 | 79 20 66 6f 6e 74 73 20 |necessar|y fonts |
|00000ba0| 61 72 65 20 61 76 61 69 | 6c 61 62 6c 65 2e 0d 63 |are avai|lable..c|
|00000bb0| 72 65 61 74 65 48 65 6c | 70 4d 65 6e 75 20 2d 2d |reateHel|pMenu --|
|00000bc0| 20 43 72 65 61 74 65 20 | 74 68 65 20 48 65 6c 70 | Create |the Help|
|00000bd0| 20 6d 65 6e 75 20 66 6f | 72 20 74 68 69 73 20 73 | menu fo|r this s|
|00000be0| 74 61 63 6b 2e 0d 72 65 | 73 65 74 48 65 6c 70 47 |tack..re|setHelpG|
|00000bf0| 6c 6f 62 61 6c 20 2d 2d | 20 45 6d 70 74 79 20 6f |lobal --| Empty o|
|00000c00| 75 74 20 74 68 65 20 73 | 74 61 63 6b 27 73 20 67 |ut the s|tack's g|
|00000c10| 6c 6f 62 61 6c 20 76 61 | 72 69 61 62 6c 65 2e 0d |lobal va|riable..|
|00000c20| 73 74 6f 72 65 4d 6f 73 | 74 52 65 63 65 6e 74 43 |storeMos|tRecentC|
|00000c30| 61 72 64 20 2d 2d 20 53 | 74 6f 72 65 20 74 68 65 |ard -- S|tore the|
|00000c40| 20 6d 6f 73 74 20 72 65 | 63 65 6e 74 20 63 61 72 | most re|cent car|
|00000c50| 64 2c 20 73 6f 20 69 74 | 20 63 61 6e 20 62 65 20 |d, so it| can be |
|00000c60| 72 65 74 75 72 6e 65 64 | 20 74 6f 2e 0d 73 68 6f |returned| to..sho|
|00000c70| 77 20 67 72 6f 75 70 73 | 20 2d 2d 20 50 75 74 20 |w groups| -- Put |
|00000c80| 61 20 67 72 61 79 20 75 | 6e 64 65 72 6c 69 6e 65 |a gray u|nderline|
|00000c90| 20 75 6e 64 65 72 20 74 | 68 65 20 67 72 6f 75 70 | under t|he group|
|00000ca0| 65 64 20 74 65 78 74 2e | 0d 70 61 73 73 20 6f 70 |ed text.|.pass op|
|00000cb0| 65 6e 53 74 61 63 6b 0d | 65 6e 64 20 6f 70 65 6e |enStack.|end open|
|00000cc0| 53 74 61 63 6b 0d 0d 6f | 6e 20 63 6c 6f 73 65 53 |Stack..o|n closeS|
|00000cd0| 74 61 63 6b 0d 61 70 43 | 6c 6f 73 65 53 74 61 63 |tack.apC|loseStac|
|00000ce0| 6b 20 2d 2d 20 66 6f 72 | 20 74 68 65 20 41 75 64 |k -- for| the Aud|
|00000cf0| 69 6f 20 50 61 6c 65 74 | 74 65 0d 69 66 20 73 74 |io Palet|te.if st|
|00000d00| 61 63 6b 49 73 42 65 69 | 6e 67 55 73 65 64 28 29 |ackIsBei|ngUsed()|
|00000d10| 20 74 68 65 6e 20 70 61 | 73 73 20 63 6c 6f 73 65 | then pa|ss close|
|00000d20| 53 74 61 63 6b 0d 73 65 | 74 20 63 75 72 73 6f 72 |Stack.se|t cursor|
|00000d30| 20 74 6f 20 77 61 74 63 | 68 0d 73 65 6e 64 20 72 | to watc|h.send r|
|00000d40| 65 73 65 74 4d 61 69 6e | 54 6f 70 69 63 73 43 61 |esetMain|TopicsCa|
|00000d50| 72 64 20 74 6f 20 63 61 | 72 64 20 31 0d 72 65 73 |rd to ca|rd 1.res|
|00000d60| 65 74 48 65 6c 70 47 6c | 6f 62 61 6c 0d 64 65 6c |etHelpGl|obal.del|
|00000d70| 65 74 65 48 65 6c 70 4d | 65 6e 75 0d 68 69 64 65 |eteHelpM|enu.hide|
|00000d80| 20 67 72 6f 75 70 73 0d | 70 61 73 73 20 63 6c 6f | groups.|pass clo|
|00000d90| 73 65 53 74 61 63 6b 0d | 65 6e 64 20 63 6c 6f 73 |seStack.|end clos|
|00000da0| 65 53 74 61 63 6b 0d 0d | 6f 6e 20 72 65 73 75 6d |eStack..|on resum|
|00000db0| 65 53 74 61 63 6b 0d 73 | 65 74 20 63 75 72 73 6f |eStack.s|et curso|
|00000dc0| 72 20 74 6f 20 77 61 74 | 63 68 0d 41 50 6f 70 65 |r to wat|ch.APope|
|00000dd0| 6e 53 74 61 63 6b 20 2d | 2d 20 66 6f 72 20 74 68 |nStack -|- for th|
|00000de0| 65 20 41 75 64 69 6f 20 | 50 61 6c 65 74 74 65 0d |e Audio |Palette.|
|00000df0| 69 66 20 73 74 61 63 6b | 49 73 42 65 69 6e 67 55 |if stack|IsBeingU|
|00000e00| 73 65 64 28 29 20 74 68 | 65 6e 20 70 61 73 73 20 |sed() th|en pass |
|00000e10| 72 65 73 75 6d 65 53 74 | 61 63 6b 0d 63 72 65 61 |resumeSt|ack.crea|
|00000e20| 74 65 48 65 6c 70 4d 65 | 6e 75 0d 73 68 6f 77 20 |teHelpMe|nu.show |
|00000e30| 67 72 6f 75 70 73 0d 73 | 65 6e 64 20 22 73 65 74 |groups.s|end "set|
|00000e40| 43 68 65 63 6b 4d 61 72 | 6b 20 74 72 75 65 22 20 |CheckMar|k true" |
|00000e50| 74 6f 20 74 68 69 73 20 | 63 61 72 64 0d 70 61 73 |to this |card.pas|
|00000e60| 73 20 72 65 73 75 6d 65 | 53 74 61 63 6b 0d 65 6e |s resume|Stack.en|
|00000e70| 64 20 72 65 73 75 6d 65 | 53 74 61 63 6b 0d 0d 6f |d resume|Stack..o|
|00000e80| 6e 20 73 75 73 70 65 6e | 64 53 74 61 63 6b 0d 61 |n suspen|dStack.a|
|00000e90| 70 43 6c 6f 73 65 53 74 | 61 63 6b 20 2d 2d 20 66 |pCloseSt|ack -- f|
|00000ea0| 6f 72 20 74 68 65 20 41 | 75 64 69 6f 20 50 61 6c |or the A|udio Pal|
|00000eb0| 65 74 74 65 0d 69 66 20 | 73 74 61 63 6b 49 73 42 |ette.if |stackIsB|
|00000ec0| 65 69 6e 67 55 73 65 64 | 28 29 20 74 68 65 6e 20 |eingUsed|() then |
|00000ed0| 70 61 73 73 20 73 75 73 | 70 65 6e 64 53 74 61 63 |pass sus|pendStac|
|00000ee0| 6b 0d 64 65 6c 65 74 65 | 48 65 6c 70 4d 65 6e 75 |k.delete|HelpMenu|
|00000ef0| 0d 70 61 73 73 20 73 75 | 73 70 65 6e 64 53 74 61 |.pass su|spendSta|
|00000f00| 63 6b 0d 65 6e 64 20 73 | 75 73 70 65 6e 64 53 74 |ck.end s|uspendSt|
|00000f10| 61 63 6b 0d 0d 6f 6e 20 | 68 65 6c 70 20 74 68 65 |ack..on |help the|
|00000f20| 54 6f 70 69 63 0d 70 75 | 74 20 22 48 79 70 65 72 |Topic.pu|t "Hyper|
|00000f30| 43 61 72 64 20 48 65 6c | 70 22 20 69 6e 74 6f 20 |Card Hel|p" into |
|00000f40| 74 68 65 53 74 61 63 6b | 20 20 2d 2d c6 0d 70 75 |theStack| --..pu|
|00000f50| 74 20 22 41 75 64 69 6f | 20 48 65 6c 70 22 20 69 |t "Audio| Help" i|
|00000f60| 6e 74 6f 20 41 75 64 69 | 6f 48 65 6c 70 20 20 2d |nto Audi|oHelp -|
|00000f70| 2d c6 0d 67 6f 20 74 6f | 20 73 74 61 63 6b 20 74 |-..go to| stack t|
|00000f80| 68 65 53 74 61 63 6b 20 | 69 6e 20 61 20 6e 65 77 |heStack |in a new|
|00000f90| 20 77 69 6e 64 6f 77 20 | 2d 2d 20 74 72 79 20 69 | window |-- try i|
|00000fa0| 6e 20 61 20 6e 65 77 20 | 77 69 6e 64 6f 77 0d 69 |n a new |window.i|
|00000fb0| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 3d 20 22 |f the re|sult = "|
|00000fc0| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 0d 67 6f 20 |Cancel" |then.go |
|00000fd0| 74 6f 20 73 74 61 63 6b | 20 41 75 64 69 6f 48 65 |to stack| AudioHe|
|00000fe0| 6c 70 20 69 6e 20 61 20 | 6e 65 77 20 77 69 6e 64 |lp in a |new wind|
|00000ff0| 6f 77 0d 65 78 69 74 20 | 68 65 6c 70 0d 65 6c 73 |ow.exit |help.els|
|00001000| 65 20 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |e if the| result |
|00001010| ad 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 67 6f 20 |. empty |then.go |
|00001020| 74 6f 20 73 74 61 63 6b | 20 74 68 65 53 74 61 63 |to stack| theStac|
|00001030| 6b 0d 65 6e 64 20 69 66 | 0d 69 66 20 73 68 6f 72 |k.end if|.if shor|
|00001040| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 73 |t name o|f this s|
|00001050| 74 61 63 6b 20 69 73 20 | 74 68 65 53 74 61 63 6b |tack is |theStack|
|00001060| 20 74 68 65 6e 20 66 69 | 6e 64 49 6e 54 69 74 6c | then fi|ndInTitl|
|00001070| 65 20 74 68 65 54 6f 70 | 69 63 20 2d 2d 20 69 6e |e theTop|ic -- in|
|00001080| 20 74 68 65 20 68 65 6c | 70 20 73 74 61 63 6b 0d | the hel|p stack.|
|00001090| 65 6e 64 20 68 65 6c 70 | 0d 0d 2d 2d 2d 2d 2d 2d |end help|..------|
|000010a0| a5 a5 20 20 53 43 52 49 | 50 54 53 20 46 4f 52 20 |.. SCRI|PTS FOR |
|000010b0| 48 41 4e 44 4c 49 4e 47 | 20 54 48 45 20 48 45 4c |HANDLING| THE HEL|
|000010c0| 50 20 4d 45 4e 55 20 20 | a5 a5 2d 2d 2d 2d 2d 2d |P MENU |..------|
|000010d0| 0d 0d 6f 6e 20 63 72 65 | 61 74 65 48 65 6c 70 4d |..on cre|ateHelpM|
|000010e0| 65 6e 75 0d 2d 2d 20 43 | 72 65 61 74 65 20 74 68 |enu.-- C|reate th|
|000010f0| 65 20 73 74 61 63 6b 2d | 73 70 65 63 69 66 69 63 |e stack-|specific|
|00001100| 20 6d 65 6e 75 2e 0d 67 | 6c 6f 62 61 6c 20 41 75 | menu..g|lobal Au|
|00001110| 64 69 6f 48 65 6c 70 4d | 65 6e 75 0d 70 75 74 20 |dioHelpM|enu.put |
|00001120| 22 48 65 6c 70 22 20 69 | 6e 74 6f 20 41 75 64 69 |"Help" i|nto Audi|
|00001130| 6f 48 65 6c 70 4d 65 6e | 75 20 2d 2d 20 c6 20 54 |oHelpMen|u -- . T|
|00001140| 68 65 20 6e 61 6d 65 20 | 6f 66 20 74 68 65 20 73 |he name |of the s|
|00001150| 74 61 63 6b 2d 73 70 65 | 63 69 66 69 63 20 6d 65 |tack-spe|cific me|
|00001160| 6e 75 2e 0d 2d 2d 20 52 | 65 6d 6f 76 65 20 61 6e |nu..-- R|emove an|
|00001170| 79 20 65 78 69 73 74 69 | 6e 67 20 6d 65 6e 75 73 |y existi|ng menus|
|00001180| 20 74 68 61 74 20 6d 69 | 67 68 74 20 68 61 76 65 | that mi|ght have|
|00001190| 20 74 68 65 20 73 61 6d | 65 20 6e 61 6d 65 2e 0d | the sam|e name..|
|000011a0| 64 65 6c 65 74 65 48 65 | 6c 70 4d 65 6e 75 0d 63 |deleteHe|lpMenu.c|
|000011b0| 72 65 61 74 65 20 6d 65 | 6e 75 20 41 75 64 69 6f |reate me|nu Audio|
|000011c0| 48 65 6c 70 4d 65 6e 75 | 0d 70 75 74 20 6d 65 6e |HelpMenu|.put men|
|000011d0| 75 49 74 65 6d 73 28 29 | 20 69 6e 74 6f 20 6d 65 |uItems()| into me|
|000011e0| 6e 75 20 41 75 64 69 6f | 48 65 6c 70 4d 65 6e 75 |nu Audio|HelpMenu|
|000011f0| 20 77 69 74 68 20 6d 65 | 6e 75 4d 73 67 20 6d 65 | with me|nuMsg me|
|00001200| 6e 75 43 6f 6d 6d 61 6e | 64 73 28 29 0d 2d 2d 20 |nuComman|ds().-- |
|00001210| 44 69 73 61 62 6c 65 20 | 74 68 65 20 6d 65 6e 75 |Disable |the menu|
|00001220| 20 69 74 65 6d 20 22 50 | 72 69 6e 74 20 54 6f 70 | item "P|rint Top|
|00001230| 69 63 22 0d 64 69 73 61 | 62 6c 65 20 6d 65 6e 75 |ic".disa|ble menu|
|00001240| 49 74 65 6d 20 36 20 6f | 66 20 6d 65 6e 75 20 41 |Item 6 o|f menu A|
|00001250| 75 64 69 6f 48 65 6c 70 | 4d 65 6e 75 0d 65 6e 64 |udioHelp|Menu.end|
|00001260| 20 63 72 65 61 74 65 48 | 65 6c 70 4d 65 6e 75 0d | createH|elpMenu.|
|00001270| 0d 66 75 6e 63 74 69 6f | 6e 20 6d 65 6e 75 49 74 |.functio|n menuIt|
|00001280| 65 6d 73 0d 2d 2d 20 52 | 65 74 75 72 6e 20 74 68 |ems.-- R|eturn th|
|00001290| 65 20 6d 65 6e 75 20 69 | 74 65 6d 73 20 66 6f 72 |e menu i|tems for|
|000012a0| 20 74 68 65 20 73 74 61 | 63 6b 2d 73 70 65 63 69 | the sta|ck-speci|
|000012b0| 66 69 63 20 6d 65 6e 75 | 2e 0d 72 65 74 75 72 6e |fic menu|..return|
|000012c0| 20 22 4d 61 69 6e 20 54 | 6f 70 69 63 73 2c 43 6f | "Main T|opics,Co|
|000012d0| 6e 74 65 6e 74 2c 51 75 | 69 63 6b 20 56 69 65 77 |ntent,Qu|ick View|
|000012e0| 2c 4f 76 65 72 76 69 65 | 77 2c 2d 2c 50 72 69 6e |,Overvie|w,-,Prin|
|000012f0| 74 20 54 6f 70 69 63 22 | 20 2d 2d 20 c6 0d 65 6e |t Topic"| -- ..en|
|00001300| 64 20 6d 65 6e 75 49 74 | 65 6d 73 0d 6d 65 6e 75 |d menuIt|ems.menu|
|00001310| 49 74 65 6d 73 0d 66 75 | 6e 63 74 69 6f 6e 20 6d |Items.fu|nction m|
|00001320| 65 6e 75 43 6f 6d 6d 61 | 6e 64 73 0d 2d 2d 20 52 |enuComma|nds.-- R|
|00001330| 65 74 75 72 6e 20 74 68 | 65 20 6d 65 6e 75 20 63 |eturn th|e menu c|
|00001340| 6f 6d 6d 61 6e 64 73 20 | 66 6f 72 20 74 68 65 20 |ommands |for the |
|00001350| 73 74 61 63 6b 2d 73 70 | 65 63 69 66 69 63 20 6d |stack-sp|ecific m|
|00001360| 65 6e 75 2e 0d 72 65 74 | 75 72 6e 20 22 67 6f 4d |enu..ret|urn "goM|
|00001370| 61 69 6e 54 6f 70 69 63 | 73 2c 67 6f 43 6f 6e 74 |ainTopic|s,goCont|
|00001380| 65 6e 74 2c 67 6f 42 61 | 6c 6c 6f 6f 6e 73 2c 67 |ent,goBa|lloons,g|
|00001390| 6f 4f 76 65 72 76 69 65 | 77 2c 2c 70 72 69 6e 74 |oOvervie|w,,print|
|000013a0| 54 6f 70 69 63 22 0d 65 | 6e 64 20 6d 65 6e 75 43 |Topic".e|nd menuC|
|000013b0| 6f 6d 6d 61 6e 64 73 0d | 0d 6f 6e 20 64 65 6c 65 |ommands.|.on dele|
|000013c0| 74 65 48 65 6c 70 4d 65 | 6e 75 0d 67 6c 6f 62 61 |teHelpMe|nu.globa|
|000013d0| 6c 20 41 75 64 69 6f 48 | 65 6c 70 4d 65 6e 75 0d |l AudioH|elpMenu.|
|000013e0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|000013f0| 6e 75 20 41 75 64 69 6f | 48 65 6c 70 4d 65 6e 75 |nu Audio|HelpMenu|
|00001400| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|00001410| 75 20 41 75 64 69 6f 48 | 65 6c 70 4d 65 6e 75 0d |u AudioH|elpMenu.|
|00001420| 65 6e 64 20 64 65 6c 65 | 74 65 48 65 6c 70 4d 65 |end dele|teHelpMe|
|00001430| 6e 75 0d 0d 6f 6e 20 73 | 65 74 4c 6f 63 61 74 69 |nu..on s|etLocati|
|00001440| 6f 6e 43 68 65 63 6b 4d | 61 72 6b 20 77 68 69 63 |onCheckM|ark whic|
|00001450| 68 49 74 65 6d 2c 62 6f | 6f 6c 65 61 6e 0d 2d 2d |hItem,bo|olean.--|
|00001460| 20 53 65 74 20 61 20 63 | 68 65 63 6b 20 6d 61 72 | Set a c|heck mar|
|00001470| 6b 20 74 6f 20 69 6e 64 | 69 61 74 65 20 74 68 65 |k to ind|iate the|
|00001480| 20 63 75 72 72 65 6e 74 | 20 6c 6f 63 61 74 69 6f | current| locatio|
|00001490| 6e 2e 0d 2d 2d 20 77 68 | 69 63 68 49 74 65 6d 20 |n..-- wh|ichItem |
|000014a0| 69 73 20 61 6e 20 69 6e | 74 65 67 65 72 2c 20 74 |is an in|teger, t|
|000014b0| 68 65 20 6d 65 6e 75 20 | 69 74 65 6d 20 74 68 61 |he menu |item tha|
|000014c0| 74 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 63 68 |t you wa|nt to ch|
|000014d0| 65 63 6b 0d 2d 2d 20 6f | 72 20 75 6e 63 68 65 63 |eck.-- o|r unchec|
|000014e0| 6b 2e 0d 2d 2d 20 77 68 | 69 63 68 49 74 65 6d 20 |k..-- wh|ichItem |
|000014f0| 69 73 20 74 72 75 65 20 | 6f 72 20 66 61 6c 73 65 |is true |or false|
|00001500| 20 64 65 70 65 6e 64 69 | 6e 67 20 6f 6e 20 77 68 | dependi|ng on wh|
|00001510| 65 74 68 65 72 20 79 6f | 75 20 77 61 6e 74 20 74 |ether yo|u want t|
|00001520| 6f 0d 2d 2d 20 63 68 65 | 63 6b 20 6f 72 20 75 6e |o.-- che|ck or un|
|00001530| 63 68 65 63 6b 20 74 68 | 65 20 6d 65 6e 75 20 69 |check th|e menu i|
|00001540| 74 65 6d 2e 0d 67 6c 6f | 62 61 6c 20 41 75 64 69 |tem..glo|bal Audi|
|00001550| 6f 48 65 6c 70 4d 65 6e | 75 0d 69 66 20 74 68 65 |oHelpMen|u.if the|
|00001560| 72 65 20 69 73 20 6e 6f | 20 6d 65 6e 75 20 41 75 |re is no| menu Au|
|00001570| 64 69 6f 48 65 6c 70 4d | 65 6e 75 20 74 68 65 6e |dioHelpM|enu then|
|00001580| 0d 63 72 65 61 74 65 48 | 65 6c 70 4d 65 6e 75 0d |.createH|elpMenu.|
|00001590| 65 6e 64 20 69 66 0d 69 | 66 20 74 68 65 72 65 20 |end if.i|f there |
|000015a0| 69 73 20 61 20 6d 65 6e | 75 49 74 65 6d 20 77 68 |is a men|uItem wh|
|000015b0| 69 63 68 49 74 65 6d 20 | 69 6e 20 6d 65 6e 75 20 |ichItem |in menu |
|000015c0| 41 75 64 69 6f 48 65 6c | 70 4d 65 6e 75 20 74 68 |AudioHel|pMenu th|
|000015d0| 65 6e 0d 73 65 74 20 63 | 68 65 63 6b 4d 61 72 6b |en.set c|heckMark|
|000015e0| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 77 68 69 | of menu|Item whi|
|000015f0| 63 68 49 74 65 6d 20 6f | 66 20 6d 65 6e 75 20 41 |chItem o|f menu A|
|00001600| 75 64 69 6f 48 65 6c 70 | 4d 65 6e 75 20 74 6f 20 |udioHelp|Menu to |
|00001610| 62 6f 6f 6c 65 61 6e 0d | 65 6e 64 20 69 66 0d 65 |boolean.|end if.e|
|00001620| 6e 64 20 73 65 74 4c 6f | 63 61 74 69 6f 6e 43 68 |nd setLo|cationCh|
|00001630| 65 63 6b 4d 61 72 6b 0d | 0d 2d 2d 2d 2d 2d 2d a5 |eckMark.|.------.|
|00001640| a5 20 20 53 43 52 49 50 | 54 53 20 46 4f 52 20 48 |. SCRIP|TS FOR H|
|00001650| 41 4e 44 4c 49 4e 47 20 | 54 48 45 20 48 45 4c 50 |ANDLING |THE HELP|
|00001660| 20 47 4c 4f 42 41 4c 20 | 20 a5 a5 2d 2d 2d 2d 2d | GLOBAL | ..-----|
|00001670| 2d 0d 0d 6f 6e 20 72 65 | 73 65 74 48 65 6c 70 47 |-..on re|setHelpG|
|00001680| 6c 6f 62 61 6c 0d 67 6c | 6f 62 61 6c 20 41 75 64 |lobal.gl|obal Aud|
|00001690| 69 6f 48 65 6c 70 49 6e | 66 6f 0d 70 75 74 20 65 |ioHelpIn|fo.put e|
|000016a0| 6d 70 74 79 20 69 6e 74 | 6f 20 41 75 64 69 6f 48 |mpty int|o AudioH|
|000016b0| 65 6c 70 49 6e 66 6f 0d | 65 6e 64 20 72 65 73 65 |elpInfo.|end rese|
|000016c0| 74 48 65 6c 70 47 6c 6f | 62 61 6c 0d 0d 6f 6e 20 |tHelpGlo|bal..on |
|000016d0| 73 74 6f 72 65 48 65 6c | 70 49 6e 66 6f 20 6c 69 |storeHel|pInfo li|
|000016e0| 6e 65 4e 75 6d 62 65 72 | 2c 74 68 65 56 61 6c 75 |neNumber|,theValu|
|000016f0| 65 0d 2d 2d 20 55 73 65 | 20 74 68 69 73 20 68 61 |e.-- Use| this ha|
|00001700| 6e 64 6c 65 72 20 74 6f | 20 70 75 74 20 61 20 76 |ndler to| put a v|
|00001710| 61 6c 75 65 20 69 6e 74 | 6f 20 74 68 65 20 67 6c |alue int|o the gl|
|00001720| 6f 62 61 6c 20 41 75 64 | 69 6f 48 65 6c 70 49 6e |obal Aud|ioHelpIn|
|00001730| 66 6f 2e 0d 2d 2d 20 6c | 69 6e 65 4e 75 6d 62 65 |fo..-- l|ineNumbe|
|00001740| 72 20 69 73 20 61 6e 20 | 69 6e 74 65 67 65 72 2c |r is an |integer,|
|00001750| 20 74 68 65 20 6c 69 6e | 65 20 6e 75 6d 62 65 72 | the lin|e number|
|00001760| 20 6f 66 20 74 68 65 0d | 2d 2d 20 67 6c 6f 62 61 | of the.|-- globa|
|00001770| 6c 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 70 75 |l you wa|nt to pu|
|00001780| 74 20 74 68 65 20 76 61 | 6c 75 65 20 69 6e 74 6f |t the va|lue into|
|00001790| 2e 20 74 68 65 56 61 6c | 75 65 20 69 73 20 74 68 |. theVal|ue is th|
|000017a0| 65 20 76 61 6c 75 65 0d | 2d 2d 20 79 6f 75 20 77 |e value.|-- you w|
|000017b0| 61 6e 74 20 74 6f 20 73 | 74 6f 72 65 20 69 6e 20 |ant to s|tore in |
|000017c0| 74 68 65 20 67 6c 6f 62 | 61 6c 2e 0d 67 6c 6f 62 |the glob|al..glob|
|000017d0| 61 6c 20 41 75 64 69 6f | 48 65 6c 70 49 6e 66 6f |al Audio|HelpInfo|
|000017e0| 0d 70 75 74 20 74 68 65 | 56 61 6c 75 65 20 69 6e |.put the|Value in|
|000017f0| 74 6f 20 6c 69 6e 65 20 | 6c 69 6e 65 4e 75 6d 62 |to line |lineNumb|
|00001800| 65 72 20 6f 66 20 41 75 | 64 69 6f 48 65 6c 70 49 |er of Au|dioHelpI|
|00001810| 6e 66 6f 0d 65 6e 64 20 | 73 74 6f 72 65 48 65 6c |nfo.end |storeHel|
|00001820| 70 49 6e 66 6f 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |pInfo..f|unction |
|00001830| 67 65 74 48 65 6c 70 49 | 6e 66 6f 20 6c 69 6e 65 |getHelpI|nfo line|
|00001840| 4e 75 6d 62 65 72 0d 2d | 2d 20 55 73 65 20 74 68 |Number.-|- Use th|
|00001850| 69 73 20 68 61 6e 6c 64 | 65 72 20 74 6f 20 67 65 |is hanld|er to ge|
|00001860| 74 20 61 20 76 61 6c 75 | 65 20 66 72 6f 6d 20 74 |t a valu|e from t|
|00001870| 68 65 20 41 75 64 69 6f | 48 65 6c 70 49 6e 66 6f |he Audio|HelpInfo|
|00001880| 20 67 6c 6f 62 61 6c 2e | 0d 2d 2d 20 6c 69 6e 65 | global.|.-- line|
|00001890| 4e 75 6d 62 65 72 20 69 | 73 20 61 6e 20 69 6e 74 |Number i|s an int|
|000018a0| 65 67 65 72 2c 20 74 68 | 65 20 6c 69 6e 65 20 6e |eger, th|e line n|
|000018b0| 75 6d 62 65 72 20 6f 66 | 20 74 68 65 0d 2d 2d 20 |umber of| the.-- |
|000018c0| 67 6c 6f 62 61 6c 20 74 | 68 61 74 20 79 6f 75 20 |global t|hat you |
|000018d0| 77 61 6e 74 20 74 6f 20 | 72 65 74 75 72 6e 2e 0d |want to |return..|
|000018e0| 67 6c 6f 62 61 6c 20 41 | 75 64 69 6f 48 65 6c 70 |global A|udioHelp|
|000018f0| 49 6e 66 6f 0d 72 65 74 | 75 72 6e 20 6c 69 6e 65 |Info.ret|urn line|
|00001900| 20 6c 69 6e 65 4e 75 6d | 62 65 72 20 6f 66 20 41 | lineNum|ber of A|
|00001910| 75 64 69 6f 48 65 6c 70 | 49 6e 66 6f 0d 65 6e 64 |udioHelp|Info.end|
|00001920| 20 67 65 74 48 65 6c 70 | 49 6e 66 6f 0d 0d 2d 2d | getHelp|Info..--|
|00001930| 2d 2d 2d 2d a5 a5 20 20 | 53 43 52 49 50 54 53 20 |----.. |SCRIPTS |
|00001940| 46 4f 52 20 42 41 53 49 | 43 20 4e 41 56 49 47 41 |FOR BASI|C NAVIGA|
|00001950| 54 49 4f 4e 20 20 a5 a5 | 2d 2d 2d 2d 2d 2d 0d 0d |TION ..|------..|
|00001960| 6f 6e 20 6c 65 61 76 65 | 48 65 6c 70 0d 2d 2d 20 |on leave|Help.-- |
|00001970| 54 68 69 73 20 68 61 6e | 64 6c 65 72 20 69 73 20 |This han|dler is |
|00001980| 63 61 6c 6c 65 64 20 77 | 68 65 6e 20 79 6f 75 20 |called w|hen you |
|00001990| 63 6c 69 63 6b 20 74 68 | 65 20 4c 65 61 76 65 20 |click th|e Leave |
|000019a0| 48 65 6c 70 20 62 75 74 | 74 6f 6e 20 69 6e 0d 2d |Help but|ton in.-|
|000019b0| 2d 20 65 69 74 68 65 72 | 20 62 61 63 6b 67 72 6f |- either| backgro|
|000019c0| 75 6e 64 2e 0d 70 75 74 | 20 67 65 74 48 65 6c 70 |und..put| getHelp|
|000019d0| 49 6e 66 6f 28 31 29 20 | 69 6e 74 6f 20 74 68 65 |Info(1) |into the|
|000019e0| 43 61 72 64 20 2d 2d 20 | 70 61 74 68 20 6f 66 20 |Card -- |path of |
|000019f0| 74 68 65 20 72 65 74 75 | 72 6e 20 63 61 72 64 0d |the retu|rn card.|
|00001a00| 69 66 20 74 68 65 43 61 | 72 64 20 69 73 20 65 6d |if theCa|rd is em|
|00001a10| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 22 48 6f |pty then| put "Ho|
|00001a20| 6d 65 22 20 69 6e 74 6f | 20 74 68 65 43 61 72 64 |me" into| theCard|
|00001a30| 0d 67 6f 20 74 68 65 43 | 61 72 64 0d 65 6e 64 20 |.go theC|ard.end |
|00001a40| 6c 65 61 76 65 48 65 6c | 70 0d 0d 6f 6e 20 67 6f |leaveHel|p..on go|
|00001a50| 4f 76 65 72 76 69 65 77 | 0d 2d 2d 20 47 6f 20 74 |Overview|.-- Go t|
|00001a60| 6f 20 74 68 65 20 4f 76 | 65 72 76 69 65 77 20 63 |o the Ov|erview c|
|00001a70| 61 72 64 2e 0d 70 75 74 | 20 74 68 65 20 6e 61 6d |ard..put| the nam|
|00001a80| 65 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 69 |e of thi|s card i|
|00001a90| 6e 74 6f 20 63 61 72 64 | 4e 61 6d 65 0d 70 75 74 |nto card|Name.put|
|00001aa0| 20 72 65 61 6c 54 6f 70 | 69 63 4e 61 6d 65 28 29 | realTop|icName()|
|00001ab0| 20 69 6e 74 6f 20 74 6f | 70 69 63 4e 61 6d 65 0d | into to|picName.|
|00001ac0| 67 6f 43 61 72 64 20 22 | 4f 76 65 72 76 69 65 77 |goCard "|Overview|
|00001ad0| 22 0d 65 6e 64 20 67 6f | 4f 76 65 72 76 69 65 77 |".end go|Overview|
|00001ae0| 0d 0d 6f 6e 20 67 6f 42 | 61 6c 6c 6f 6f 6e 73 0d |..on goB|alloons.|
|00001af0| 2d 2d 20 47 6f 20 74 6f | 20 74 68 65 20 51 75 69 |-- Go to| the Qui|
|00001b00| 63 6b 20 56 69 65 77 20 | 63 61 72 64 2e 0d 70 75 |ck View |card..pu|
|00001b10| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 74 68 |t the na|me of th|
|00001b20| 69 73 20 63 61 72 64 20 | 69 6e 74 6f 20 63 61 72 |is card |into car|
|00001b30| 64 4e 61 6d 65 0d 70 75 | 74 20 72 65 61 6c 54 6f |dName.pu|t realTo|
|00001b40| 70 69 63 4e 61 6d 65 28 | 29 20 69 6e 74 6f 20 74 |picName(|) into t|
|00001b50| 6f 70 69 63 4e 61 6d 65 | 0d 67 6f 43 61 72 64 20 |opicName|.goCard |
|00001b60| 22 51 75 69 63 6b 20 56 | 69 65 77 22 0d 65 6e 64 |"Quick V|iew".end|
|00001b70| 20 67 6f 42 61 6c 6c 6f | 6f 6e 73 0d 0d 6f 6e 20 | goBallo|ons..on |
|00001b80| 67 6f 4d 61 69 6e 54 6f | 70 69 63 73 0d 2d 2d 20 |goMainTo|pics.-- |
|00001b90| 47 6f 20 74 6f 20 74 68 | 65 20 66 69 72 73 74 20 |Go to th|e first |
|00001ba0| 6d 61 69 6e 20 74 6f 70 | 69 63 73 20 63 61 72 64 |main top|ics card|
|00001bb0| 2e 0d 67 6f 20 66 69 72 | 73 74 20 63 61 72 64 0d |..go fir|st card.|
|00001bc0| 65 6e 64 20 67 6f 4d 61 | 69 6e 54 6f 70 69 63 73 |end goMa|inTopics|
|00001bd0| 0d 0d 6f 6e 20 67 6f 43 | 6f 6e 74 65 6e 74 0d 2d |..on goC|ontent.-|
|00001be0| 2d 20 47 6f 20 74 6f 20 | 74 68 65 20 43 6f 6e 74 |- Go to |the Cont|
|00001bf0| 65 6e 74 20 62 61 63 6b | 67 72 6f 75 6e 64 0d 67 |ent back|ground.g|
|00001c00| 6f 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 22 43 6f |o backgr|ound "Co|
|00001c10| 6e 74 65 6e 74 22 0d 65 | 6e 64 20 67 6f 43 6f 6e |ntent".e|nd goCon|
|00001c20| 74 65 6e 74 0d 0d 6f 6e | 20 67 6f 43 61 72 64 20 |tent..on| goCard |
|00001c30| 63 61 72 64 4e 61 6d 65 | 0d 2d 2d 20 47 6f 20 74 |cardName|.-- Go t|
|00001c40| 6f 20 61 20 63 61 72 64 | 20 62 79 20 6e 61 6d 65 |o a card| by name|
|00001c50| 2c 20 6d 61 6b 69 6e 67 | 20 73 75 72 65 20 74 6f |, making| sure to|
|00001c60| 20 74 72 75 6e 63 61 74 | 65 20 74 68 65 20 6e 61 | truncat|e the na|
|00001c70| 6d 65 0d 2d 2d 20 74 6f | 20 32 38 20 63 68 61 72 |me.-- to| 28 char|
|00001c80| 73 2e 20 41 6c 6c 20 63 | 61 72 64 20 6e 61 6d 65 |s. All c|ard name|
|00001c90| 73 20 61 72 65 20 61 6c | 72 65 61 64 79 20 74 72 |s are al|ready tr|
|00001ca0| 75 6e 63 61 74 65 64 2e | 0d 2d 2d 20 63 61 72 64 |uncated.|.-- card|
|00001cb0| 4e 61 6d 65 20 69 73 20 | 74 68 65 20 73 68 6f 72 |Name is |the shor|
|00001cc0| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 65 20 63 61 |t name o|f the ca|
|00001cd0| 72 64 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 67 |rd you w|ant to g|
|00001ce0| 6f 20 74 6f 2e 0d 73 65 | 74 20 63 75 72 73 6f 72 |o to..se|t cursor|
|00001cf0| 20 74 6f 20 77 61 74 63 | 68 0d 69 66 20 63 61 72 | to watc|h.if car|
|00001d00| 64 4e 61 6d 65 20 69 73 | 20 65 6d 70 74 79 20 74 |dName is| empty t|
|00001d10| 68 65 6e 20 65 78 69 74 | 20 67 6f 43 61 72 64 0d |hen exit| goCard.|
|00001d20| 77 61 69 74 20 35 0d 67 | 6f 20 63 61 72 64 20 74 |wait 5.g|o card t|
|00001d30| 72 75 6e 63 61 74 65 4e | 61 6d 65 28 63 61 72 64 |runcateN|ame(card|
|00001d40| 4e 61 6d 65 29 0d 69 66 | 20 74 68 65 20 72 65 73 |Name).if| the res|
|00001d50| 75 6c 74 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ult is n|ot empty|
|00001d60| 20 74 68 65 6e 0d 2d 2d | 20 54 68 65 20 72 65 71 | then.--| The req|
|00001d70| 75 65 73 74 65 64 20 63 | 61 72 64 20 77 61 73 6e |uested c|ard wasn|
|00001d80| 27 74 20 66 6f 75 6e 64 | 2e 0d 67 65 74 20 74 68 |'t found|..get th|
|00001d90| 65 20 72 65 73 75 6c 74 | 0d 62 65 65 70 0d 61 6e |e result|.beep.an|
|00001da0| 73 77 65 72 20 69 74 20 | 26 26 20 71 75 6f 74 65 |swer it |&& quote|
|00001db0| 20 26 20 63 61 72 64 4e | 61 6d 65 20 26 20 71 75 | & cardN|ame & qu|
|00001dc0| 6f 74 65 20 26 20 22 2e | 22 0d 65 78 69 74 20 67 |ote & ".|".exit g|
|00001dd0| 6f 43 61 72 64 0d 65 6e | 64 20 69 66 0d 69 66 20 |oCard.en|d if.if |
|00001de0| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 64 6f 77 |the mous|e is dow|
|00001df0| 6e 20 74 68 65 6e 20 65 | 78 69 74 20 67 6f 43 61 |n then e|xit goCa|
|00001e00| 72 64 20 2d 2d 20 74 72 | 61 70 20 64 6f 75 62 6c |rd -- tr|ap doubl|
|00001e10| 65 20 63 6c 69 63 6b 0d | 65 6e 64 20 67 6f 43 61 |e click.|end goCa|
|00001e20| 72 64 0d 0d 6f 6e 20 67 | 6f 47 72 61 79 0d 2d 2d |rd..on g|oGray.--|
|00001e30| 20 59 6f 75 20 63 6c 69 | 63 6b 65 64 20 6f 6e 20 | You cli|cked on |
|00001e40| 6f 6e 65 20 6f 66 20 74 | 68 65 20 67 72 61 79 20 |one of t|he gray |
|00001e50| 6e 61 76 69 67 61 74 69 | 6f 6e 20 62 75 74 74 6f |navigati|on butto|
|00001e60| 6e 73 2e 0d 62 65 65 70 | 0d 65 6e 64 20 67 6f 47 |ns..beep|.end goG|
|00001e70| 72 61 79 0d 0d 2d 2d 2d | 2d 2d 2d a5 a5 20 20 47 |ray..---|---.. G|
|00001e80| 45 4e 45 52 41 4c 20 4d | 45 53 53 41 47 45 20 48 |ENERAL M|ESSAGE H|
|00001e90| 41 4e 44 4c 45 52 53 20 | 20 a5 a5 2d 2d 2d 2d 2d |ANDLERS | ..-----|
|00001ea0| 2d 0d 0d 6f 6e 20 73 74 | 6f 72 65 4d 6f 73 74 52 |-..on st|oreMostR|
|00001eb0| 65 63 65 6e 74 43 61 72 | 64 0d 2d 2d 20 54 68 69 |ecentCar|d.-- Thi|
|00001ec0| 73 20 68 61 6e 64 6c 65 | 72 20 73 74 6f 72 65 73 |s handle|r stores|
|00001ed0| 20 74 68 65 20 6d 6f 73 | 74 20 72 65 63 65 6e 74 | the mos|t recent|
|00001ee0| 20 63 61 72 64 20 69 6e | 20 61 20 67 6c 6f 62 61 | card in| a globa|
|00001ef0| 6c 2c 20 73 6f 20 79 6f | 75 0d 2d 2d 20 63 61 6e |l, so yo|u.-- can|
|00001f00| 20 72 65 74 75 72 6e 20 | 74 6f 20 69 74 20 77 68 | return |to it wh|
|00001f10| 65 6e 20 79 6f 75 20 63 | 6c 69 63 6b 20 74 68 65 |en you c|lick the|
|00001f20| 20 22 4c 65 61 76 65 20 | 48 65 6c 70 22 20 62 75 | "Leave |Help" bu|
|00001f30| 74 74 6f 6e 2e 0d 70 75 | 73 68 20 72 65 63 65 6e |tton..pu|sh recen|
|00001f40| 74 20 63 61 72 64 0d 70 | 6f 70 20 63 61 72 64 20 |t card.p|op card |
|00001f50| 69 6e 74 6f 20 74 68 65 | 43 61 72 64 0d 73 74 6f |into the|Card.sto|
|00001f60| 72 65 48 65 6c 70 49 6e | 66 6f 20 31 2c 74 68 65 |reHelpIn|fo 1,the|
|00001f70| 43 61 72 64 20 2d 2d 20 | 70 61 74 68 20 6f 66 20 |Card -- |path of |
|00001f80| 74 68 65 20 72 65 74 75 | 72 6e 20 63 61 72 64 0d |the retu|rn card.|
|00001f90| 65 6e 64 20 73 74 6f 72 | 65 4d 6f 73 74 52 65 63 |end stor|eMostRec|
|00001fa0| 65 6e 74 43 61 72 64 0d | 0d 6f 6e 20 73 65 6c 65 |entCard.|.on sele|
|00001fb0| 63 74 57 68 6f 6c 65 4c | 69 6e 65 20 4e 2c 74 68 |ctWholeL|ine N,th|
|00001fc0| 65 46 69 65 6c 64 2c 6e | 65 78 74 4e 0d 2d 2d 20 |eField,n|extN.-- |
|00001fd0| 54 68 69 73 20 68 61 6e | 64 6c 65 72 20 73 65 6c |This han|dler sel|
|00001fe0| 65 63 74 73 20 61 20 77 | 68 6f 6c 65 20 6c 69 6e |ects a w|hole lin|
|00001ff0| 65 20 6f 66 20 74 65 78 | 74 2c 20 69 6e 63 6c 75 |e of tex|t, inclu|
|00002000| 64 69 6e 67 20 74 68 65 | 20 66 69 6e 61 6c 0d 2d |ding the| final.-|
|00002010| 2d 20 72 65 74 75 72 6e | 20 63 68 61 72 61 63 74 |- return| charact|
|00002020| 65 72 2c 20 69 6e 20 74 | 68 65 20 66 69 65 6c 64 |er, in t|he field|
|00002030| 2e 0d 2d 2d 20 4e 20 69 | 73 20 61 6e 20 69 6e 74 |..-- N i|s an int|
|00002040| 65 67 65 72 2c 20 74 68 | 65 20 6e 75 6d 62 65 72 |eger, th|e number|
|00002050| 20 6f 66 20 74 68 65 20 | 6c 69 6e 65 20 79 6f 75 | of the |line you|
|00002060| 20 77 61 6e 74 20 74 6f | 20 73 65 6c 65 63 74 2e | want to| select.|
|00002070| 0d 2d 2d 20 74 68 65 46 | 69 65 6c 64 20 69 73 20 |.-- theF|ield is |
|00002080| 61 20 63 6f 6d 70 6c 65 | 74 65 20 66 69 65 6c 64 |a comple|te field|
|00002090| 20 72 65 63 6f 72 64 20 | 61 73 20 69 6e 20 d2 74 | record |as in .t|
|000020a0| 68 65 20 74 61 72 67 65 | 74 2c d3 20 6e 6f 74 20 |he targe|t,. not |
|000020b0| 6a 75 73 74 0d 2d 2d 20 | 74 68 65 20 66 69 65 6c |just.-- |the fiel|
|000020c0| 64 20 6e 61 6d 65 2e 0d | 2d 2d 20 69 66 20 79 6f |d name..|-- if yo|
|000020d0| 75 20 77 61 6e 74 20 74 | 6f 20 73 65 6c 65 63 74 |u want t|o select|
|000020e0| 20 6d 6f 72 65 20 74 68 | 61 6e 20 6f 6e 65 20 6c | more th|an one l|
|000020f0| 69 6e 65 2c 20 70 75 74 | 20 74 68 65 20 6c 69 6e |ine, put| the lin|
|00002100| 65 20 6e 75 6d 62 65 72 | 20 69 6e 74 6f 0d 2d 2d |e number| into.--|
|00002110| 20 6e 65 78 74 4e 2e 0d | 69 66 20 6e 65 78 74 4e | nextN..|if nextN|
|00002120| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | is empt|y then p|
|00002130| 75 74 20 4e 20 69 6e 74 | 6f 20 6e 65 78 74 4e 0d |ut N int|o nextN.|
|00002140| 70 75 74 20 6c 69 6e 65 | 20 4e 20 74 6f 20 6e 65 |put line| N to ne|
|00002150| 78 74 4e 20 6f 66 20 74 | 68 65 20 76 61 6c 75 65 |xtN of t|he value|
|00002160| 20 6f 66 20 74 68 65 46 | 69 65 6c 64 20 69 6e 74 | of theF|ield int|
|00002170| 6f 20 74 68 65 54 65 78 | 74 0d 69 66 20 74 68 65 |o theTex|t.if the|
|00002180| 54 65 78 74 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |Text is |not empt|
|00002190| 79 20 74 68 65 6e 0d 70 | 75 74 20 28 6e 75 6d 62 |y then.p|ut (numb|
|000021a0| 65 72 20 6f 66 20 63 68 | 61 72 73 20 6f 66 20 6c |er of ch|ars of l|
|000021b0| 69 6e 65 20 31 20 74 6f | 20 6e 65 78 74 4e 20 6f |ine 1 to| nextN o|
|000021c0| 66 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |f the va|lue of t|
|000021d0| 68 65 46 69 65 6c 64 29 | 20 2b 20 31 20 c2 0d 69 |heField)| + 1 ..i|
|000021e0| 6e 74 6f 20 65 6e 64 43 | 68 61 72 0d 73 65 6c 65 |nto endC|har.sele|
|000021f0| 63 74 20 65 6d 70 74 79 | 0d 64 6f 20 22 73 65 6c |ct empty|.do "sel|
|00002200| 65 63 74 20 63 68 61 72 | 20 28 65 6e 64 43 68 61 |ect char| (endCha|
|00002210| 72 20 2d 20 6c 65 6e 67 | 74 68 28 74 68 65 54 65 |r - leng|th(theTe|
|00002220| 78 74 29 29 20 74 6f 20 | 65 6e 64 43 68 61 72 20 |xt)) to |endChar |
|00002230| 6f 66 22 20 c2 0d 26 26 | 20 74 68 65 46 69 65 6c |of" ..&&| theFiel|
|00002240| 64 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 73 65 6c |d.end if|.end sel|
|00002250| 65 63 74 57 68 6f 6c 65 | 4c 69 6e 65 0d 0d 6f 6e |ectWhole|Line..on|
|00002260| 20 6d 65 6e 75 52 65 73 | 65 74 0d 67 6c 6f 62 61 | menuRes|et.globa|
|00002270| 6c 20 49 73 61 53 6f 75 | 6e 64 53 74 61 63 6b 2c |l IsaSou|ndStack,|
|00002280| 69 6e 76 6f 6b 65 4d 49 | 74 65 6d 2c 68 65 6c 70 |invokeMI|tem,help|
|00002290| 4d 49 74 65 6d 2c 48 43 | 45 64 69 74 4d 65 6e 75 |MItem,HC|EditMenu|
|000022a0| 49 74 65 6d 73 0d 69 66 | 20 6c 61 73 74 20 6d 65 |Items.if| last me|
|000022b0| 6e 75 49 74 65 6d 20 6f | 66 20 6d 65 6e 75 20 33 |nuItem o|f menu 3|
|000022c0| 20 69 73 20 22 2d 22 20 | 74 68 65 6e 20 64 65 6c | is "-" |then del|
|000022d0| 65 74 65 20 6c 61 73 74 | 20 6d 65 6e 75 49 74 65 |ete last| menuIte|
|000022e0| 6d 20 6f 66 20 6d 65 6e | 75 20 33 0d 69 66 20 74 |m of men|u 3.if t|
|000022f0| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 6d 65 |here is |not a me|
|00002300| 6e 75 49 74 65 6d 20 69 | 6e 76 6f 6b 65 4d 49 74 |nuItem i|nvokeMIt|
|00002310| 65 6d 20 69 6e 20 6d 65 | 6e 75 20 33 20 74 68 65 |em in me|nu 3 the|
|00002320| 6e 0d 70 75 74 20 22 2d | 2c 22 20 26 20 69 6e 76 |n.put "-|," & inv|
|00002330| 6f 6b 65 4d 49 74 65 6d | 20 26 20 22 2c 22 20 26 |okeMItem| & "," &|
|00002340| 20 68 65 6c 70 4d 49 74 | 65 6d 20 61 66 74 65 72 | helpMIt|em after|
|00002350| c2 0d 6d 65 6e 75 20 33 | 20 77 69 74 68 20 6d 65 |..menu 3| with me|
|00002360| 6e 75 4d 73 67 73 20 22 | 2c 41 50 69 6e 76 6f 6b |nuMsgs "|,APinvok|
|00002370| 65 2c 41 50 68 65 6c 70 | 22 0d 65 6e 64 20 69 66 |e,APhelp|".end if|
|00002380| 0d 70 75 74 20 6d 65 6e | 75 20 33 20 69 6e 74 6f |.put men|u 3 into|
|00002390| 20 48 43 45 64 69 74 4d | 65 6e 75 49 74 65 6d 73 | HCEditM|enuItems|
|000023a0| 0d 69 66 20 49 73 41 53 | 6f 75 6e 64 53 74 61 63 |.if IsAS|oundStac|
|000023b0| 6b 20 74 68 65 6e 20 55 | 70 64 61 74 65 41 6e 6e |k then U|pdateAnn|
|000023c0| 6f 74 65 4d 65 6e 75 73 | 0d 69 66 20 74 68 65 72 |oteMenus|.if ther|
|000023d0| 65 20 69 73 20 61 20 6d | 65 6e 75 69 74 65 6d 20 |e is a m|enuitem |
|000023e0| 68 65 6c 70 4d 49 74 65 | 6d 20 69 6e 20 6d 65 6e |helpMIte|m in men|
|000023f0| 75 20 33 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |u 3 then|.set the|
|00002400| 20 63 68 65 63 6b 6d 61 | 72 6b 20 6f 66 20 6d 65 | checkma|rk of me|
|00002410| 6e 75 49 74 65 6d 20 68 | 65 6c 70 4d 49 74 65 6d |nuItem h|elpMItem|
|00002420| 20 69 6e 20 6d 65 6e 75 | 20 33 20 74 6f c2 0d 28 | in menu| 3 to..(|
|00002430| 74 68 65 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |the name| of this|
|00002440| 20 73 74 61 63 6b 20 3d | 20 74 68 65 20 6e 61 6d | stack =| the nam|
|00002450| 65 20 6f 66 20 6d 65 29 | 0d 65 6e 64 20 69 66 0d |e of me)|.end if.|
|00002460| 69 66 20 28 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |if (the |name of |
|00002470| 74 68 69 73 20 73 74 61 | 63 6b 20 3d 20 74 68 65 |this sta|ck = the|
|00002480| 20 6e 61 6d 65 20 6f 66 | 20 6d 65 29 20 74 68 65 | name of| me) the|
|00002490| 6e 0d 43 72 65 61 74 65 | 48 65 6c 70 4d 65 6e 75 |n.Create|HelpMenu|
|000024a0| 0d 73 65 6e 64 20 22 73 | 65 74 43 68 65 63 6b 4d |.send "s|etCheckM|
|000024b0| 61 72 6b 20 74 72 75 65 | 22 20 74 6f 20 74 68 69 |ark true|" to thi|
|000024c0| 73 20 63 61 72 64 0d 65 | 6e 64 20 69 66 0d 70 61 |s card.e|nd if.pa|
|000024d0| 73 73 20 6d 65 6e 75 52 | 65 73 65 74 0d 65 6e 64 |ss menuR|eset.end|
|000024e0| 20 6d 65 6e 75 52 65 73 | 65 74 0d 0d 2d 2d 2d 2d | menuRes|et..----|
|000024f0| 2d 20 20 46 6f 6e 74 20 | 41 64 6a 75 73 74 6d 65 |- Font |Adjustme|
|00002500| 6e 74 20 53 63 72 69 70 | 74 73 3a 20 20 2d 2d 2d |nt Scrip|ts: ---|
|00002510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002520| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00002530| 0d 6f 6e 20 63 68 65 63 | 6b 46 6f 72 4d 69 73 73 |.on chec|kForMiss|
|00002540| 69 6e 67 46 6f 6e 74 73 | 0d 2d 2d 20 63 68 65 63 |ingFonts|.-- chec|
|00002550| 6b 20 74 6f 20 73 65 65 | 20 69 66 20 74 68 65 20 |k to see| if the |
|00002560| 66 6f 6e 74 73 20 6e 65 | 65 64 65 64 20 66 6f 72 |fonts ne|eded for|
|00002570| 20 74 68 69 73 20 73 74 | 61 63 6b 20 61 72 65 0d | this st|ack are.|
|00002580| 2d 2d 20 69 6e 73 74 61 | 6c 6c 65 64 20 69 6e 20 |-- insta|lled in |
|00002590| 74 68 65 20 73 79 73 74 | 65 6d 2e 20 49 6e 66 6f |the syst|em. Info|
|000025a0| 72 6d 20 74 68 65 20 75 | 73 65 72 20 69 66 20 74 |rm the u|ser if t|
|000025b0| 68 65 79 27 72 65 20 6e | 6f 74 2e 0d 67 6c 6f 62 |hey're n|ot..glob|
|000025c0| 61 6c 20 41 50 46 6f 6e | 74 73 43 68 65 63 6b 65 |al APFon|tsChecke|
|000025d0| 64 0d 69 66 20 41 50 46 | 6f 6e 74 73 43 68 65 63 |d.if APF|ontsChec|
|000025e0| 6b 65 64 20 69 73 20 6e | 6f 74 20 65 6d 70 74 79 |ked is n|ot empty|
|000025f0| 20 74 68 65 6e 20 65 78 | 69 74 20 63 68 65 63 6b | then ex|it check|
|00002600| 46 6f 72 4d 69 73 73 69 | 6e 67 46 6f 6e 74 73 20 |ForMissi|ngFonts |
|00002610| 2d 2d 20 61 6c 72 65 61 | 64 79 20 62 65 65 6e 20 |-- alrea|dy been |
|00002620| 68 65 72 65 2e 0d 70 75 | 74 20 22 66 6f 6e 74 73 |here..pu|t "fonts|
|00002630| 20 63 68 65 63 6b 65 64 | 2e 22 20 69 6e 74 6f 20 | checked|." into |
|00002640| 41 50 46 6f 6e 74 73 43 | 68 65 63 6b 65 64 0d 70 |APFontsC|hecked.p|
|00002650| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 6d 69 |ut empty| into mi|
|00002660| 73 73 69 6e 67 0d 69 66 | 20 6e 6f 74 20 46 6f 6e |ssing.if| not Fon|
|00002670| 74 45 78 69 73 74 73 28 | 22 50 61 6c 61 74 69 6e |tExists(|"Palatin|
|00002680| 6f 22 2c 31 32 29 20 74 | 68 65 6e 20 70 75 74 20 |o",12) t|hen put |
|00002690| 22 50 61 6c 61 74 69 6e | 6f 20 31 32 22 20 26 20 |"Palatin|o 12" & |
|000026a0| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 6d 69 73 |return a|fter mis|
|000026b0| 73 69 6e 67 20 20 2d 2d | c6 0d 69 66 20 6e 6f 74 |sing --|..if not|
|000026c0| 20 46 6f 6e 74 45 78 69 | 73 74 73 28 22 50 61 6c | FontExi|sts("Pal|
|000026d0| 61 74 69 6e 6f 22 2c 31 | 34 29 20 74 68 65 6e 20 |atino",1|4) then |
|000026e0| 70 75 74 20 22 50 61 6c | 61 74 69 6e 6f 20 31 34 |put "Pal|atino 14|
|000026f0| 22 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |" & retu|rn after|
|00002700| 20 6d 69 73 73 69 6e 67 | 20 20 2d 2d c6 0d 69 66 | missing| --..if|
|00002710| 20 6e 6f 74 20 46 6f 6e | 74 45 78 69 73 74 73 28 | not Fon|tExists(|
|00002720| 22 48 65 6c 76 65 74 69 | 63 61 22 2c 31 38 29 20 |"Helveti|ca",18) |
|00002730| 74 68 65 6e 20 70 75 74 | 20 22 48 65 6c 76 65 74 |then put| "Helvet|
|00002740| 69 63 61 20 31 38 22 20 | 26 20 72 65 74 75 72 6e |ica 18" |& return|
|00002750| 20 61 66 74 65 72 20 6d | 69 73 73 69 6e 67 20 20 | after m|issing |
|00002760| 2d 2d c6 0d 69 66 20 6d | 69 73 73 69 6e 67 20 69 |--..if m|issing i|
|00002770| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|00002780| 74 20 63 68 65 63 6b 46 | 6f 72 4d 69 73 73 69 6e |t checkF|orMissin|
|00002790| 67 46 6f 6e 74 73 0d 62 | 65 65 70 0d 61 6e 73 77 |gFonts.b|eep.answ|
|000027a0| 65 72 20 22 54 68 65 73 | 65 20 66 6f 6e 74 28 73 |er "Thes|e font(s|
|000027b0| 29 20 61 72 65 20 6d 69 | 73 73 69 6e 67 20 66 72 |) are mi|ssing fr|
|000027c0| 6f 6d 20 79 6f 75 72 20 | 73 79 73 74 65 6d 3a 22 |om your |system:"|
|000027d0| 20 26 20 c2 0d 72 65 74 | 75 72 6e 20 26 20 72 65 | & ..ret|urn & re|
|000027e0| 74 75 72 6e 20 26 20 6d | 69 73 73 69 6e 67 20 26 |turn & m|issing &|
|000027f0| 20 72 65 74 75 72 6e 20 | 26 20 22 46 6f 72 20 74 | return |& "For t|
|00002800| 65 78 74 20 74 6f 20 64 | 69 73 70 6c 61 79 20 63 |ext to d|isplay c|
|00002810| 6f 72 72 65 63 74 6c 79 | 22 c2 0d 26 26 20 22 69 |orrectly|"..&& "i|
|00002820| 6e 20 74 68 65 20 41 75 | 64 69 6f 20 48 65 6c 70 |n the Au|dio Help|
|00002830| 20 73 74 61 63 6b 2c 20 | 6d 61 6b 65 20 73 75 72 | stack, |make sur|
|00002840| 65 20 79 6f 75 20 68 61 | 76 65 20 69 6e 73 74 61 |e you ha|ve insta|
|00002850| 6c 6c 65 64 20 74 68 65 | 73 65 20 66 6f 6e 74 73 |lled the|se fonts|
|00002860| 2e 22 20 2d 2d 20 c6 0d | 65 6e 64 20 63 68 65 63 |." -- ..|end chec|
|00002870| 6b 46 6f 72 4d 69 73 73 | 69 6e 67 46 6f 6e 74 73 |kForMiss|ingFonts|
|00002880| 0d 0d 2d 2d 2d 2d 2d 2d | a5 a5 20 20 47 45 4e 45 |..------|.. GENE|
|00002890| 52 41 4c 20 46 55 4e 43 | 54 49 4f 4e 20 48 41 4e |RAL FUNC|TION HAN|
|000028a0| 44 4c 45 52 53 20 20 a5 | a5 2d 2d 2d 2d 2d 2d 0d |DLERS .|.------.|
|000028b0| 0d 66 75 6e 63 74 69 6f | 6e 20 73 74 61 63 6b 49 |.functio|n stackI|
|000028c0| 73 42 65 69 6e 67 55 73 | 65 64 0d 2d 2d 20 49 66 |sBeingUs|ed.-- If|
|000028d0| 20 41 75 64 69 6f 20 48 | 65 6c 70 20 69 73 20 62 | Audio H|elp is b|
|000028e0| 65 69 6e 67 20 75 73 65 | 64 20 62 79 20 74 68 65 |eing use|d by the|
|000028f0| 20 61 63 74 69 76 65 20 | 73 74 61 63 6b 2c 20 74 | active |stack, t|
|00002900| 68 65 6e 20 72 65 74 75 | 72 6e 20 74 72 75 65 2e |hen retu|rn true.|
|00002910| 0d 72 65 74 75 72 6e 20 | 6e 6f 74 20 28 74 68 65 |.return |not (the|
|00002920| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00002930| 61 63 6b 20 69 73 20 74 | 68 65 20 6e 61 6d 65 20 |ack is t|he name |
|00002940| 6f 66 20 6d 65 29 0d 65 | 6e 64 20 73 74 61 63 6b |of me).e|nd stack|
|00002950| 49 73 42 65 69 6e 67 55 | 73 65 64 0d 0d 66 75 6e |IsBeingU|sed..fun|
|00002960| 63 74 69 6f 6e 20 72 65 | 61 6c 54 6f 70 69 63 4e |ction re|alTopicN|
|00002970| 61 6d 65 0d 2d 2d 20 52 | 65 74 75 72 6e 20 74 68 |ame.-- R|eturn th|
|00002980| 65 20 61 63 74 75 61 6c | 20 6e 61 6d 65 20 6f 66 |e actual| name of|
|00002990| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 74 6f 70 | the cur|rent top|
|000029a0| 69 63 20 65 76 65 6e 20 | 69 66 0d 2d 2d 20 74 68 |ic even |if.-- th|
|000029b0| 65 20 75 73 65 72 20 69 | 73 20 6f 6e 20 61 20 d2 |e user i|s on a .|
|000029c0| 63 6f 6e 74 69 6e 75 65 | 64 d3 20 63 61 72 64 2e |continue|d. card.|
|000029d0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 6e 6f 74 |.if ther|e is not|
|000029e0| 20 61 20 62 6b 67 6e 64 | 20 66 69 65 6c 64 20 22 | a bkgnd| field "|
|000029f0| 50 61 67 65 73 22 20 74 | 68 65 6e 20 72 65 74 75 |Pages" t|hen retu|
|00002a00| 72 6e 20 65 6d 70 74 79 | 0d 2d 2d 20 c6 20 54 68 |rn empty|.-- . Th|
|00002a10| 69 73 20 72 6f 75 74 69 | 6e 65 20 64 65 70 65 6e |is routi|ne depen|
|00002a20| 64 73 20 6f 6e 20 22 43 | 61 72 64 20 58 20 6f 66 |ds on "C|ard X of|
|00002a30| 20 59 22 20 66 6f 72 6d | 61 74 20 69 6e 20 74 68 | Y" form|at in th|
|00002a40| 65 20 66 69 65 6c 64 0d | 70 75 74 20 77 6f 72 64 |e field.|put word|
|00002a50| 20 32 20 6f 66 20 62 6b | 67 6e 64 20 66 69 65 6c | 2 of bk|gnd fiel|
|00002a60| 64 20 22 50 61 67 65 73 | 22 20 69 6e 74 6f 20 63 |d "Pages|" into c|
|00002a70| 75 72 72 65 6e 74 50 61 | 67 65 0d 67 65 74 20 74 |urrentPa|ge.get t|
|00002a80| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 68 69 |he numbe|r of thi|
|00002a90| 73 20 63 61 72 64 0d 70 | 75 74 20 62 6b 67 6e 64 |s card.p|ut bkgnd|
|00002aa0| 20 66 69 65 6c 64 20 22 | 54 69 74 6c 65 22 20 c2 | field "|Title" .|
|00002ab0| 0d 6f 66 20 63 61 72 64 | 20 28 69 74 20 2d 20 63 |.of card| (it - c|
|00002ac0| 75 72 72 65 6e 74 50 61 | 67 65 20 2b 20 31 29 20 |urrentPa|ge + 1) |
|00002ad0| 69 6e 74 6f 20 74 6f 70 | 69 63 4e 61 6d 65 0d 69 |into top|icName.i|
|00002ae0| 66 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |f number| of line|
|00002af0| 73 20 69 6e 20 74 6f 70 | 69 63 4e 61 6d 65 20 3e |s in top|icName >|
|00002b00| 20 31 20 74 68 65 6e 0d | 64 65 6c 65 74 65 20 6c | 1 then.|delete l|
|00002b10| 69 6e 65 20 32 20 6f 66 | 20 74 6f 70 69 63 4e 61 |ine 2 of| topicNa|
|00002b20| 6d 65 0d 70 75 74 20 22 | c9 22 20 61 66 74 65 72 |me.put "|." after|
|00002b30| 20 74 6f 70 69 63 4e 61 | 6d 65 20 2d 2d 20 c6 0d | topicNa|me -- ..|
|00002b40| 65 6e 64 20 69 66 0d 69 | 66 20 6e 75 6d 62 65 72 |end if.i|f number|
|00002b50| 20 6f 66 20 63 68 61 72 | 73 20 69 6e 20 74 6f 70 | of char|s in top|
|00002b60| 69 63 4e 61 6d 65 20 3e | 20 31 39 20 74 68 65 6e |icName >| 19 then|
|00002b70| 0d 70 75 74 20 63 68 61 | 72 20 31 20 74 6f 20 31 |.put cha|r 1 to 1|
|00002b80| 39 20 6f 66 20 74 6f 70 | 69 63 4e 61 6d 65 20 69 |9 of top|icName i|
|00002b90| 6e 74 6f 20 74 6f 70 69 | 63 4e 61 6d 65 0d 69 66 |nto topi|cName.if|
|00002ba0| 20 22 c9 22 20 69 73 20 | 6e 6f 74 20 69 6e 20 74 | "." is |not in t|
|00002bb0| 6f 70 69 63 4e 61 6d 65 | 20 74 68 65 6e 20 70 75 |opicName| then pu|
|00002bc0| 74 20 22 c9 22 20 61 66 | 74 65 72 20 74 6f 70 69 |t "." af|ter topi|
|00002bd0| 63 4e 61 6d 65 20 2d 2d | 20 c6 0d 65 6e 64 20 69 |cName --| ..end i|
|00002be0| 66 0d 72 65 74 75 72 6e | 20 74 6f 70 69 63 4e 61 |f.return| topicNa|
|00002bf0| 6d 65 0d 65 6e 64 20 72 | 65 61 6c 54 6f 70 69 63 |me.end r|ealTopic|
|00002c00| 4e 61 6d 65 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 74 |Name..fu|nction t|
|00002c10| 72 75 6e 63 61 74 65 4e | 61 6d 65 20 74 68 65 54 |runcateN|ame theT|
|00002c20| 65 78 74 0d 2d 2d 20 52 | 65 6d 6f 76 65 73 20 73 |ext.-- R|emoves s|
|00002c30| 70 61 63 65 73 20 66 72 | 6f 6d 20 61 20 63 61 72 |paces fr|om a car|
|00002c40| 64 20 6e 61 6d 65 2c 20 | 74 72 75 6e 63 61 74 65 |d name, |truncate|
|00002c50| 73 20 69 74 2c 20 61 6e | 64 20 72 65 6d 6f 76 65 |s it, an|d remove|
|00002c60| 73 0d 2d 2d 20 61 6e 79 | 20 73 70 61 63 65 73 20 |s.-- any| spaces |
|00002c70| 61 67 61 69 6e 2e 20 59 | 6f 75 20 73 68 6f 75 6c |again. Y|ou shoul|
|00002c80| 64 20 73 65 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |d set th|e name o|
|00002c90| 66 20 61 6c 6c 20 74 68 | 65 20 63 61 72 64 73 20 |f all th|e cards |
|00002ca0| 77 69 74 68 0d 2d 2d 20 | 74 68 69 73 20 66 75 6e |with.-- |this fun|
|00002cb0| 63 74 69 6f 6e 2e 0d 67 | 65 74 20 74 68 65 20 6e |ction..g|et the n|
|00002cc0| 75 6d 62 65 72 20 6f 66 | 20 77 6f 72 64 73 20 69 |umber of| words i|
|00002cd0| 6e 20 74 68 65 54 65 78 | 74 0d 70 75 74 20 77 6f |n theTex|t.put wo|
|00002ce0| 72 64 20 31 20 74 6f 20 | 69 74 20 6f 66 20 74 68 |rd 1 to |it of th|
|00002cf0| 65 54 65 78 74 20 69 6e | 74 6f 20 74 68 65 43 61 |eText in|to theCa|
|00002d00| 72 64 0d 72 65 74 75 72 | 6e 20 63 68 61 72 20 31 |rd.retur|n char 1|
|00002d10| 20 74 6f 20 32 38 20 6f | 66 20 74 68 65 43 61 72 | to 28 o|f theCar|
|00002d20| 64 0d 65 6e 64 20 74 72 | 75 6e 63 61 74 65 4e 61 |d.end tr|uncateNa|
|00002d30| 6d 65 0d 0d 2d 2d 2d 2d | 2d 2d a5 a5 20 20 53 43 |me..----|--.. SC|
|00002d40| 52 49 50 54 53 20 46 4f | 52 20 48 41 4e 44 4c 49 |RIPTS FO|R HANDLI|
|00002d50| 4e 47 20 54 48 45 20 41 | 55 44 49 4f 20 50 41 4c |NG THE A|UDIO PAL|
|00002d60| 45 54 54 45 20 20 a5 a5 | 2d 2d 2d 2d 2d 2d 0d 0d |ETTE ..|------..|
|00002d70| 2d 2d 73 79 73 74 65 6d | 20 6d 65 73 73 61 67 65 |--system| message|
|00002d80| 20 68 61 6e 64 6c 65 72 | 73 0d 6f 6e 20 73 61 76 | handler|s.on sav|
|00002d90| 65 53 65 6c 65 63 74 69 | 6f 6e 0d 67 6c 6f 62 61 |eSelecti|on.globa|
|00002da0| 6c 20 53 61 76 65 53 65 | 6c 65 63 74 2c 53 61 76 |l SaveSe|lect,Sav|
|00002db0| 65 4c 69 6e 65 2c 53 61 | 76 65 4c 6f 63 0d 70 75 |eLine,Sa|veLoc.pu|
|00002dc0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 73 61 76 |t empty |into sav|
|00002dd0| 65 53 65 6c 65 63 74 0d | 43 68 65 63 6b 53 61 76 |eSelect.|CheckSav|
|00002de0| 65 53 65 6c 65 63 74 0d | 65 6e 64 20 73 61 76 65 |eSelect.|end save|
|00002df0| 53 65 6c 65 63 74 69 6f | 6e 0d 0d 6f 6e 20 43 68 |Selectio|n..on Ch|
|00002e00| 65 63 6b 53 61 76 65 53 | 65 6c 65 63 74 0d 67 6c |eckSaveS|elect.gl|
|00002e10| 6f 62 61 6c 20 53 61 76 | 65 53 65 6c 65 63 74 2c |obal Sav|eSelect,|
|00002e20| 53 61 76 65 4c 69 6e 65 | 2c 53 61 76 65 4c 6f 63 |SaveLine|,SaveLoc|
|00002e30| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 66 |.if ther|e is a f|
|00002e40| 69 65 6c 64 20 22 6e 6f | 74 65 73 22 20 74 68 65 |ield "no|tes" the|
|00002e50| 6e 20 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |n put th|e number|
|00002e60| 20 6f 66 20 66 69 65 6c | 64 20 22 6e 6f 74 65 73 | of fiel|d "notes|
|00002e70| 22 20 69 6e 74 6f 20 4e | 6f 74 65 46 69 65 6c 64 |" into N|oteField|
|00002e80| 0d 67 65 74 20 74 68 65 | 20 73 65 6c 65 63 74 65 |.get the| selecte|
|00002e90| 64 43 68 75 6e 6b 0d 69 | 66 20 69 74 20 69 73 20 |dChunk.i|f it is |
|00002ea0| 6e 6f 74 20 65 6d 70 74 | 79 20 61 6e 64 20 22 6d |not empt|y and "m|
|00002eb0| 65 73 73 61 67 65 20 62 | 6f 78 22 20 69 73 20 6e |essage b|ox" is n|
|00002ec0| 6f 74 20 69 6e 20 69 74 | 20 61 6e 64 20 c2 0d 77 |ot in it| and ..w|
|00002ed0| 6f 72 64 20 36 20 74 6f | 20 38 20 6f 66 20 69 74 |ord 6 to| 8 of it|
|00002ee0| 20 69 73 20 6e 6f 74 20 | 22 62 6b 67 6e 64 20 66 | is not |"bkgnd f|
|00002ef0| 69 65 6c 64 22 20 26 26 | 20 4e 6f 74 65 46 69 65 |ield" &&| NoteFie|
|00002f00| 6c 64 20 74 68 65 6e 0d | 70 75 74 20 69 74 20 69 |ld then.|put it i|
|00002f10| 6e 74 6f 20 53 61 76 65 | 53 65 6c 65 63 74 0d 70 |nto Save|Select.p|
|00002f20| 75 74 20 74 68 65 20 73 | 65 6c 65 63 74 65 64 4c |ut the s|electedL|
|00002f30| 69 6e 65 20 69 6e 74 6f | 20 53 61 76 65 4c 69 6e |ine into| SaveLin|
|00002f40| 65 0d 70 75 74 20 74 68 | 65 20 73 65 6c 65 63 74 |e.put th|e select|
|00002f50| 65 64 4c 6f 63 20 69 6e | 74 6f 20 53 61 76 65 4c |edLoc in|to SaveL|
|00002f60| 6f 63 0d 73 65 74 20 74 | 68 65 20 74 65 78 74 73 |oc.set t|he texts|
|00002f70| 74 79 6c 65 20 6f 66 20 | 53 61 76 65 53 65 6c 65 |tyle of |SaveSele|
|00002f80| 63 74 20 74 6f 20 62 6f | 6c 64 0d 65 6e 64 20 69 |ct to bo|ld.end i|
|00002f90| 66 0d 65 6e 64 20 43 68 | 65 63 6b 53 61 76 65 53 |f.end Ch|eckSaveS|
|00002fa0| 65 6c 65 63 74 0d 0d 6f | 6e 20 61 70 43 6c 6f 73 |elect..o|n apClos|
|00002fb0| 65 0d 67 6c 6f 62 61 6c | 20 53 61 76 65 53 65 6c |e.global| SaveSel|
|00002fc0| 65 63 74 2c 49 6e 76 6f | 6b 65 4d 49 74 65 6d 0d |ect,Invo|keMItem.|
|00002fd0| 69 66 20 73 61 76 65 53 | 65 6c 65 63 74 20 ad 20 |if saveS|elect . |
|00002fe0| 65 6d 70 74 79 20 74 68 | 65 6e 0d 69 66 20 74 68 |empty th|en.if th|
|00002ff0| 65 20 74 65 78 74 73 74 | 79 6c 65 20 6f 66 20 73 |e textst|yle of s|
|00003000| 61 76 65 53 65 6c 65 63 | 74 20 69 73 20 62 6f 6c |aveSelec|t is bol|
|00003010| 64 20 74 68 65 6e 20 73 | 65 74 20 74 68 65 20 74 |d then s|et the t|
|00003020| 65 78 74 73 74 79 6c 65 | 20 6f 66 20 73 61 76 65 |extstyle| of save|
|00003030| 53 65 6c 65 63 74 20 74 | 6f 20 70 6c 61 69 6e 0d |Select t|o plain.|
|00003040| 65 6e 64 20 69 66 0d 70 | 61 73 73 20 61 70 43 6c |end if.p|ass apCl|
|00003050| 6f 73 65 0d 65 6e 64 20 | 61 70 43 6c 6f 73 65 0d |ose.end |apClose.|
|00003060| 0d 6f 6e 20 6f 70 65 6e | 43 61 72 64 0d 67 6c 6f |.on open|Card.glo|
|00003070| 62 61 6c 20 49 73 41 53 | 6f 75 6e 64 53 74 61 63 |bal IsAS|oundStac|
|00003080| 6b 0d 69 66 20 6e 6f 74 | 20 49 73 41 53 6f 75 6e |k.if not| IsASoun|
|00003090| 64 53 74 61 63 6b 20 74 | 68 65 6e 20 70 61 73 73 |dStack t|hen pass|
|000030a0| 20 6f 70 65 6e 43 61 72 | 64 0d 73 65 74 20 74 68 | openCar|d.set th|
|000030b0| 65 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |e cursor| to watc|
|000030c0| 68 0d 72 65 73 65 74 41 | 50 42 75 74 74 6f 6e 73 |h.resetA|PButtons|
|000030d0| 0d 70 61 73 73 20 6f 70 | 65 6e 43 61 72 64 0d 65 |.pass op|enCard.e|
|000030e0| 6e 64 20 6f 70 65 6e 43 | 61 72 64 0d 0d 6f 6e 20 |nd openC|ard..on |
|000030f0| 63 6c 6f 73 65 43 61 72 | 64 0d 67 6c 6f 62 61 6c |closeCar|d.global|
|00003100| 20 49 73 41 53 6f 75 6e | 64 53 74 61 63 6b 2c 73 | IsASoun|dStack,s|
|00003110| 61 76 65 53 65 6c 65 63 | 74 0d 69 66 20 6e 6f 74 |aveSelec|t.if not|
|00003120| 20 49 73 41 53 6f 75 6e | 64 53 74 61 63 6b 20 74 | IsASoun|dStack t|
|00003130| 68 65 6e 20 70 61 73 73 | 20 63 6c 6f 73 65 43 61 |hen pass| closeCa|
|00003140| 72 64 0d 69 66 20 73 61 | 76 65 53 65 6c 65 63 74 |rd.if sa|veSelect|
|00003150| 20 ad 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 69 66 | . empty| then.if|
|00003160| 20 74 68 65 20 74 65 78 | 74 73 74 79 6c 65 20 6f | the tex|tstyle o|
|00003170| 66 20 73 61 76 65 53 65 | 6c 65 63 74 20 69 73 20 |f saveSe|lect is |
|00003180| 62 6f 6c 64 20 74 68 65 | 6e 20 73 65 74 20 74 68 |bold the|n set th|
|00003190| 65 20 74 65 78 74 73 74 | 79 6c 65 20 6f 66 20 73 |e textst|yle of s|
|000031a0| 61 76 65 53 65 6c 65 63 | 74 20 74 6f 20 70 6c 61 |aveSelec|t to pla|
|000031b0| 69 6e 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |in.put e|mpty int|
|000031c0| 6f 20 73 61 76 65 53 65 | 6c 65 63 74 0d 65 6e 64 |o saveSe|lect.end|
|000031d0| 20 69 66 0d 70 61 73 73 | 20 63 6c 6f 73 65 43 61 | if.pass| closeCa|
|000031e0| 72 64 0d 65 6e 64 20 63 | 6c 6f 73 65 43 61 72 64 |rd.end c|loseCard|
|000031f0| 0d 0d 6f 6e 20 6f 70 65 | 6e 46 69 65 6c 64 0d 67 |..on ope|nField.g|
|00003200| 6c 6f 62 61 6c 20 49 73 | 41 53 6f 75 6e 64 53 74 |lobal Is|ASoundSt|
|00003210| 61 63 6b 2c 20 73 61 76 | 65 53 65 6c 65 63 74 0d |ack, sav|eSelect.|
|00003220| 69 66 20 6e 6f 74 20 49 | 73 41 53 6f 75 6e 64 53 |if not I|sASoundS|
|00003230| 74 61 63 6b 20 74 68 65 | 6e 20 70 61 73 73 20 6f |tack the|n pass o|
|00003240| 70 65 6e 46 69 65 6c 64 | 0d 69 66 20 73 61 76 65 |penField|.if save|
|00003250| 53 65 6c 65 63 74 20 ad | 20 65 6d 70 74 79 20 74 |Select .| empty t|
|00003260| 68 65 6e 0d 2d 2d 20 67 | 65 74 20 74 68 65 20 73 |hen.-- g|et the s|
|00003270| 65 6c 65 63 74 65 64 43 | 68 75 6e 6b 0d 73 65 74 |electedC|hunk.set|
|00003280| 20 74 68 65 20 74 65 78 | 74 73 74 79 6c 65 20 6f | the tex|tstyle o|
|00003290| 66 20 73 61 76 65 53 65 | 6c 65 63 74 20 74 6f 20 |f saveSe|lect to |
|000032a0| 70 6c 61 69 6e 0d 2d 2d | 20 69 66 20 69 74 20 69 |plain.--| if it i|
|000032b0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 61 6e 64 20 |s not em|pty and |
|000032c0| 22 6d 65 73 73 61 67 65 | 20 62 6f 78 22 20 69 73 |"message| box" is|
|000032d0| 20 6e 6f 74 20 69 6e 20 | 69 74 20 61 6e 64 20 22 | not in |it and "|
|000032e0| 6e 6f 74 65 73 22 20 69 | 73 20 6e 6f 74 20 69 6e |notes" i|s not in|
|000032f0| 20 69 74 0d 2d 2d 20 74 | 68 65 6e 20 70 75 74 20 | it.-- t|hen put |
|00003300| 65 6d 70 74 79 20 69 6e | 74 6f 20 73 61 76 65 53 |empty in|to saveS|
|00003310| 65 6c 65 63 74 0d 70 75 | 74 20 65 6d 70 74 79 20 |elect.pu|t empty |
|00003320| 69 6e 74 6f 20 73 61 76 | 65 53 65 6c 65 63 74 0d |into sav|eSelect.|
|00003330| 65 6e 64 20 69 66 0d 70 | 61 73 73 20 6f 70 65 6e |end if.p|ass open|
|00003340| 46 69 65 6c 64 0d 65 6e | 64 20 6f 70 65 6e 46 69 |Field.en|d openFi|
|00003350| 65 6c 64 0d 0d 6f 6e 20 | 61 70 4f 70 65 6e 53 74 |eld..on |apOpenSt|
|00003360| 61 63 6b 0d 67 6c 6f 62 | 61 6c 20 49 73 41 53 6f |ack.glob|al IsASo|
|00003370| 75 6e 64 53 74 61 63 6b | 0d 70 75 74 20 28 43 68 |undStack|.put (Ch|
|00003380| 65 63 6b 49 66 41 70 70 | 6f 69 6e 74 6d 65 6e 74 |eckIfApp|ointment|
|00003390| 73 28 29 20 6f 72 20 43 | 68 65 63 6b 49 66 41 64 |s() or C|heckIfAd|
|000033a0| 64 72 65 73 73 65 73 28 | 29 29 20 69 6e 74 6f 20 |dresses(|)) into |
|000033b0| 49 73 41 53 6f 75 6e 64 | 53 74 61 63 6b 0d 72 65 |IsASound|Stack.re|
|000033c0| 73 65 74 41 50 4d 65 6e | 75 73 0d 69 66 20 74 68 |setAPMen|us.if th|
|000033d0| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|000033e0| 22 41 75 64 69 6f 50 61 | 6c 65 74 74 65 22 0d 74 |"AudioPa|lette".t|
|000033f0| 68 65 6e 20 73 65 6e 64 | 20 22 75 70 64 61 74 65 |hen send| "update|
|00003400| 22 20 74 6f 20 77 69 6e | 64 6f 77 20 22 41 75 64 |" to win|dow "Aud|
|00003410| 69 6f 50 61 6c 65 74 74 | 65 22 20 2d 2d 72 65 62 |ioPalett|e" --reb|
|00003420| 75 69 6c 64 20 73 6f 75 | 6e 64 20 70 6f 70 2d 75 |uild sou|nd pop-u|
|00003430| 70 0d 65 6e 64 20 61 70 | 4f 70 65 6e 53 74 61 63 |p.end ap|OpenStac|
|00003440| 6b 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 43 68 65 63 |k..funct|ion Chec|
|00003450| 6b 49 66 41 70 70 6f 69 | 6e 74 6d 65 6e 74 73 0d |kIfAppoi|ntments.|
|00003460| 2d 2d 20 61 6c 73 6f 20 | 6d 61 6b 65 73 20 73 75 |-- also |makes su|
|00003470| 72 65 20 74 68 65 20 41 | 70 70 6f 69 6e 74 6d 65 |re the A|ppointme|
|00003480| 6e 74 73 20 73 74 61 63 | 6b 20 68 61 73 20 62 65 |nts stac|k has be|
|00003490| 65 6e 20 6d 6f 64 69 66 | 69 65 64 0d 2d 2d 20 74 |en modif|ied.-- t|
|000034a0| 6f 20 70 61 73 73 20 6f | 70 65 6e 43 61 72 64 2c |o pass o|penCard,|
|000034b0| 20 77 68 69 63 68 20 69 | 73 20 73 6f 6d 65 74 68 | which i|s someth|
|000034c0| 69 6e 67 20 77 65 20 6e | 65 65 64 2e 0d 69 66 20 |ing we n|eed..if |
|000034d0| 6e 6f 74 20 28 74 68 65 | 72 65 20 69 73 20 61 20 |not (the|re is a |
|000034e0| 62 67 20 49 44 20 32 36 | 30 33 29 20 74 68 65 6e |bg ID 26|03) then|
|000034f0| 20 72 65 74 75 72 6e 20 | 66 61 6c 73 65 20 2d 2d | return |false --|
|00003500| 20 66 61 73 74 65 72 20 | 74 68 61 6e 20 22 69 73 | faster |than "is|
|00003510| 20 6e 6f 74 20 61 22 0d | 69 66 20 22 72 65 73 65 | not a".|if "rese|
|00003520| 74 41 50 42 75 74 74 6f | 6e 73 22 20 69 73 20 6e |tAPButto|ns" is n|
|00003530| 6f 74 20 69 6e 20 74 68 | 65 20 73 63 72 69 70 74 |ot in th|e script|
|00003540| 20 6f 66 20 62 67 20 49 | 44 20 32 36 30 33 20 74 | of bg I|D 2603 t|
|00003550| 68 65 6e 20 72 65 74 75 | 72 6e 20 66 61 6c 73 65 |hen retu|rn false|
|00003560| 0d 69 66 20 22 70 61 73 | 73 20 6f 70 65 6e 43 61 |.if "pas|s openCa|
|00003570| 72 64 22 20 69 73 20 6e | 6f 74 20 69 6e 20 74 68 |rd" is n|ot in th|
|00003580| 65 20 73 63 72 69 70 74 | 20 6f 66 20 62 67 20 49 |e script| of bg I|
|00003590| 44 20 32 31 37 35 33 20 | 74 68 65 6e 0d 70 75 74 |D 21753 |then.put|
|000035a0| 20 73 63 72 69 70 74 20 | 6f 66 20 62 67 20 49 44 | script |of bg ID|
|000035b0| 20 32 31 37 35 33 20 69 | 6e 74 6f 20 54 68 65 53 | 21753 i|nto TheS|
|000035c0| 63 72 69 70 74 0d 67 65 | 74 20 6e 75 6d 62 65 72 |cript.ge|t number|
|000035d0| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 63 68 61 | of line|s in cha|
|000035e0| 72 20 31 20 74 6f 20 6f | 66 66 73 65 74 28 72 65 |r 1 to o|ffset(re|
|000035f0| 74 75 72 6e 20 26 20 22 | 65 6e 64 20 6f 70 65 6e |turn & "|end open|
|00003600| 43 61 72 64 22 2c 54 68 | 65 53 63 72 69 70 74 29 |Card",Th|eScript)|
|00003610| c2 0d 6f 66 20 54 68 65 | 53 63 72 69 70 74 0d 69 |..of The|Script.i|
|00003620| 66 20 69 74 20 3d 20 30 | 20 74 68 65 6e 20 72 65 |f it = 0| then re|
|00003630| 74 75 72 6e 20 74 72 75 | 65 0d 70 75 74 20 72 65 |turn tru|e.put re|
|00003640| 74 75 72 6e 20 26 20 22 | 70 61 73 73 20 6f 70 65 |turn & "|pass ope|
|00003650| 6e 43 61 72 64 22 20 61 | 66 74 65 72 20 6c 69 6e |nCard" a|fter lin|
|00003660| 65 20 69 74 20 6f 66 20 | 54 68 65 53 63 72 69 70 |e it of |TheScrip|
|00003670| 74 0d 73 65 74 20 74 68 | 65 20 73 63 72 69 70 74 |t.set th|e script|
|00003680| 20 6f 66 20 62 67 20 49 | 44 20 32 31 37 35 33 20 | of bg I|D 21753 |
|00003690| 74 6f 20 54 68 65 53 63 | 72 69 70 74 0d 65 6e 64 |to TheSc|ript.end|
|000036a0| 20 69 66 0d 72 65 74 75 | 72 6e 20 74 72 75 65 0d | if.retu|rn true.|
|000036b0| 65 6e 64 20 43 68 65 63 | 6b 49 66 41 70 70 6f 69 |end Chec|kIfAppoi|
|000036c0| 6e 74 6d 65 6e 74 73 0d | 0d 66 75 6e 63 74 69 6f |ntments.|.functio|
|000036d0| 6e 20 43 68 65 63 6b 49 | 66 41 64 64 72 65 73 73 |n CheckI|fAddress|
|000036e0| 65 73 0d 69 66 20 6e 6f | 74 20 28 74 68 65 72 65 |es.if no|t (there|
|000036f0| 20 69 73 20 61 20 62 67 | 20 49 44 20 33 36 36 34 | is a bg| ID 3664|
|00003700| 29 20 74 68 65 6e 20 72 | 65 74 75 72 6e 20 66 61 |) then r|eturn fa|
|00003710| 6c 73 65 20 2d 2d 20 66 | 61 73 74 65 72 20 74 68 |lse -- f|aster th|
|00003720| 61 6e 20 22 69 73 20 6e | 6f 74 20 61 22 0d 69 66 |an "is n|ot a".if|
|00003730| 20 22 72 65 73 65 74 41 | 50 42 75 74 74 6f 6e 73 | "resetA|PButtons|
|00003740| 22 20 69 73 20 6e 6f 74 | 20 69 6e 20 74 68 65 20 |" is not| in the |
|00003750| 73 63 72 69 70 74 20 6f | 66 20 62 67 20 49 44 20 |script o|f bg ID |
|00003760| 33 36 36 34 20 74 68 65 | 6e 20 72 65 74 75 72 6e |3664 the|n return|
|00003770| 20 66 61 6c 73 65 0d 65 | 6c 73 65 20 72 65 74 75 | false.e|lse retu|
|00003780| 72 6e 20 74 72 75 65 0d | 65 6e 64 20 43 68 65 63 |rn true.|end Chec|
|00003790| 6b 49 66 41 64 64 72 65 | 73 73 65 73 0d 0d 6f 6e |kIfAddre|sses..on|
|000037a0| 20 61 70 43 6c 6f 73 65 | 53 74 61 63 6b 0d 67 6c | apClose|Stack.gl|
|000037b0| 6f 62 61 6c 20 41 50 4d | 65 6e 75 4e 61 6d 65 2c |obal APM|enuName,|
|000037c0| 20 6d 65 6d 6f 4d 49 74 | 65 6d 2c 64 65 6c 4d 49 | memoMIt|em,delMI|
|000037d0| 74 65 6d 2c c2 0d 73 68 | 6f 77 4d 49 74 65 6d 2c |tem,..sh|owMItem,|
|000037e0| 68 69 64 65 4d 49 74 65 | 6d 2c 49 73 41 53 6f 75 |hideMIte|m,IsASou|
|000037f0| 6e 64 53 74 61 63 6b 0d | 69 66 20 74 68 65 72 65 |ndStack.|if there|
|00003800| 20 69 73 20 61 20 6d 65 | 6e 75 49 74 65 6d 20 68 | is a me|nuItem h|
|00003810| 69 64 65 4d 49 74 65 6d | 20 69 6e 20 6d 65 6e 75 |ideMItem| in menu|
|00003820| 20 33 20 74 68 65 6e 0d | 64 65 6c 65 74 65 20 6d | 3 then.|delete m|
|00003830| 65 6e 75 49 74 65 6d 20 | 68 69 64 65 4d 49 74 65 |enuItem |hideMIte|
|00003840| 6d 20 66 72 6f 6d 20 6d | 65 6e 75 20 33 0d 65 6c |m from m|enu 3.el|
|00003850| 73 65 20 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |se if th|ere is a|
|00003860| 20 6d 65 6e 75 49 74 65 | 6d 20 73 68 6f 77 4d 49 | menuIte|m showMI|
|00003870| 74 65 6d 20 69 6e 20 6d | 65 6e 75 20 33 20 74 68 |tem in m|enu 3 th|
|00003880| 65 6e 0d 64 65 6c 65 74 | 65 20 6d 65 6e 75 49 74 |en.delet|e menuIt|
|00003890| 65 6d 20 73 68 6f 77 4d | 49 74 65 6d 20 66 72 6f |em showM|Item fro|
|000038a0| 6d 20 6d 65 6e 75 20 33 | 0d 65 6e 64 20 69 66 0d |m menu 3|.end if.|
|000038b0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|000038c0| 6e 75 49 74 65 6d 20 64 | 65 6c 4d 49 74 65 6d 20 |nuItem d|elMItem |
|000038d0| 69 6e 20 6d 65 6e 75 20 | 33 20 74 68 65 6e 0d 64 |in menu |3 then.d|
|000038e0| 65 6c 65 74 65 20 6d 65 | 6e 75 49 74 65 6d 20 64 |elete me|nuItem d|
|000038f0| 65 6c 4d 49 74 65 6d 20 | 66 72 6f 6d 20 6d 65 6e |elMItem |from men|
|00003900| 75 20 33 0d 65 6e 64 20 | 69 66 0d 69 66 20 74 68 |u 3.end |if.if th|
|00003910| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 49 74 65 |ere is a| menuIte|
|00003920| 6d 20 6d 65 6d 6f 4d 49 | 74 65 6d 20 69 6e 20 6d |m memoMI|tem in m|
|00003930| 65 6e 75 20 33 20 74 68 | 65 6e 0d 64 65 6c 65 74 |enu 3 th|en.delet|
|00003940| 65 20 6d 65 6e 75 49 74 | 65 6d 20 6d 65 6d 6f 4d |e menuIt|em memoM|
|00003950| 49 74 65 6d 20 66 72 6f | 6d 20 6d 65 6e 75 20 33 |Item fro|m menu 3|
|00003960| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 66 61 6c 73 |.end if.|put fals|
|00003970| 65 20 69 6e 74 6f 20 49 | 73 41 53 6f 75 6e 64 53 |e into I|sASoundS|
|00003980| 74 61 63 6b 0d 65 6e 64 | 20 61 70 43 6c 6f 73 65 |tack.end| apClose|
|00003990| 53 74 61 63 6b 0d 0d 2d | 2d 6d 65 6e 75 20 6d 65 |Stack..-|-menu me|
|000039a0| 73 73 65 67 65 20 68 61 | 6e 64 6c 65 72 73 0d 6f |ssege ha|ndlers.o|
|000039b0| 6e 20 44 6f 4d 65 6e 75 | 20 74 68 65 49 74 65 6d |n DoMenu| theItem|
|000039c0| 2c 74 68 65 4d 65 6e 75 | 0d 67 6c 6f 62 61 6c 20 |,theMenu|.global |
|000039d0| 41 50 48 61 73 45 64 69 | 74 0d 69 66 20 41 50 48 |APHasEdi|t.if APH|
|000039e0| 61 73 45 64 69 74 20 69 | 73 20 74 72 75 65 20 74 |asEdit i|s true t|
|000039f0| 68 65 6e 20 2d 2d 20 68 | 61 76 65 20 74 6f 20 73 |hen -- h|ave to s|
|00003a00| 61 79 20 22 69 73 20 74 | 72 75 65 22 20 62 65 63 |ay "is t|rue" bec|
|00003a10| 61 75 73 65 20 69 74 20 | 6d 61 79 20 6e 6f 74 20 |ause it |may not |
|00003a20| 62 65 20 64 65 66 69 6e | 65 64 0d 69 66 20 77 6f |be defin|ed.if wo|
|00003a30| 72 64 20 31 20 6f 66 20 | 74 68 65 49 74 65 6d 20 |rd 1 of |theItem |
|00003a40| 69 73 20 69 6e 20 22 55 | 6e 64 6f 2c 43 75 74 2c |is in "U|ndo,Cut,|
|00003a50| 43 6f 70 79 2c 50 61 73 | 74 65 2c 43 6c 65 61 72 |Copy,Pas|te,Clear|
|00003a60| 22 20 74 68 65 6e 20 2d | 2d c6 0d 73 65 6e 64 20 |" then -|-..send |
|00003a70| 77 6f 72 64 20 31 20 6f | 66 20 74 68 65 49 74 65 |word 1 o|f theIte|
|00003a80| 6d 20 74 6f 20 77 69 6e | 64 6f 77 20 22 41 75 64 |m to win|dow "Aud|
|00003a90| 69 6f 50 61 6c 65 74 74 | 65 22 0d 65 78 69 74 20 |ioPalett|e".exit |
|00003aa0| 64 6f 4d 65 6e 75 0d 65 | 6e 64 20 69 66 0d 65 6e |doMenu.e|nd if.en|
|00003ab0| 64 20 69 66 0d 70 61 73 | 73 20 44 6f 4d 65 6e 75 |d if.pas|s DoMenu|
|00003ac0| 0d 65 6e 64 20 44 6f 4d | 65 6e 75 0d 0d 6f 6e 20 |.end DoM|enu..on |
|00003ad0| 61 70 48 65 6c 70 0d 67 | 6c 6f 62 61 6c 20 68 65 |apHelp.g|lobal he|
|00003ae0| 6c 70 4d 49 74 65 6d 0d | 67 6f 20 74 6f 20 73 74 |lpMItem.|go to st|
|00003af0| 61 63 6b 20 68 65 6c 70 | 4d 49 74 65 6d 20 69 6e |ack help|MItem in|
|00003b00| 20 61 20 6e 65 77 20 77 | 69 6e 64 6f 77 0d 67 65 | a new w|indow.ge|
|00003b10| 74 20 74 68 65 20 72 65 | 73 75 6c 74 0d 69 66 20 |t the re|sult.if |
|00003b20| 69 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |it is "C|ancel" t|
|00003b30| 68 65 6e 20 65 78 69 74 | 20 61 70 48 65 6c 70 0d |hen exit| apHelp.|
|00003b40| 69 66 20 69 74 20 ad 20 | 65 6d 70 74 79 20 74 68 |if it . |empty th|
|00003b50| 65 6e 20 67 6f 20 74 6f | 20 73 74 61 63 6b 20 68 |en go to| stack h|
|00003b60| 65 6c 70 4d 49 74 65 6d | 0d 65 6e 64 20 61 70 48 |elpMItem|.end apH|
|00003b70| 65 6c 70 0d 0d 6f 6e 20 | 61 70 49 6e 76 6f 6b 65 |elp..on |apInvoke|
|00003b80| 0d 67 6c 6f 62 61 6c 20 | 49 6e 76 6f 6b 65 4d 49 |.global |InvokeMI|
|00003b90| 74 65 6d 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |tem.if t|here is |
|00003ba0| 6e 6f 74 20 61 20 77 69 | 6e 64 6f 77 20 22 41 75 |not a wi|ndow "Au|
|00003bb0| 64 69 6f 50 61 6c 65 74 | 74 65 22 20 74 68 65 6e |dioPalet|te" then|
|00003bc0| 20 41 75 64 69 6f 50 61 | 6c 65 74 74 65 0d 65 6c | AudioPa|lette.el|
|00003bd0| 73 65 20 73 68 6f 77 20 | 77 69 6e 64 6f 77 20 22 |se show |window "|
|00003be0| 41 75 64 69 6f 50 61 6c | 65 74 74 65 22 20 2d 2d |AudioPal|ette" --|
|00003bf0| 20 74 6f 20 62 72 69 6e | 67 20 74 6f 20 74 68 65 | to brin|g to the|
|00003c00| 20 66 72 6f 6e 74 20 6f | 66 20 74 68 65 20 77 69 | front o|f the wi|
|00003c10| 6e 64 6f 69 64 20 6c 61 | 79 65 72 0d 65 6e 64 20 |ndoid la|yer.end |
|00003c20| 61 70 49 6e 76 6f 6b 65 | 0d 0d 6f 6e 20 72 65 73 |apInvoke|..on res|
|00003c30| 65 74 41 50 4d 65 6e 75 | 73 0d 67 6c 6f 62 61 6c |etAPMenu|s.global|
|00003c40| 20 6d 65 6d 6f 4d 49 74 | 65 6d 2c 69 6e 76 6f 6b | memoMIt|em,invok|
|00003c50| 65 4d 49 74 65 6d 2c 68 | 65 6c 70 4d 49 74 65 6d |eMItem,h|elpMItem|
|00003c60| 2c 49 73 41 53 6f 75 6e | 64 53 74 61 63 6b 0d 69 |,IsASoun|dStack.i|
|00003c70| 66 20 28 22 3a 22 20 26 | 20 68 65 6c 70 4d 49 74 |f (":" &| helpMIt|
|00003c80| 65 6d 20 26 20 72 65 74 | 75 72 6e 29 20 69 73 20 |em & ret|urn) is |
|00003c90| 6e 6f 74 20 69 6e 20 28 | 74 68 65 20 73 74 61 63 |not in (|the stac|
|00003ca0| 6b 73 49 6e 55 73 65 20 | 26 20 72 65 74 75 72 6e |ksInUse |& return|
|00003cb0| 29 20 74 68 65 6e 0d 73 | 74 61 72 74 20 75 73 69 |) then.s|tart usi|
|00003cc0| 6e 67 20 73 74 61 63 6b | 20 68 65 6c 70 4d 49 74 |ng stack| helpMIt|
|00003cd0| 65 6d 0d 53 74 61 72 74 | 53 6f 75 6e 64 0d 65 6e |em.Start|Sound.en|
|00003ce0| 64 20 69 66 0d 0d 69 66 | 20 49 73 41 53 6f 75 6e |d if..if| IsASoun|
|00003cf0| 64 53 74 61 63 6b 20 74 | 68 65 6e 20 55 70 64 61 |dStack t|hen Upda|
|00003d00| 74 65 41 6e 6e 6f 74 65 | 4d 65 6e 75 73 0d 0d 69 |teAnnote|Menus..i|
|00003d10| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 6d 65 6e |f there |is a men|
|00003d20| 75 69 74 65 6d 20 68 65 | 6c 70 4d 49 74 65 6d 20 |uitem he|lpMItem |
|00003d30| 69 6e 20 6d 65 6e 75 20 | 33 20 74 68 65 6e 0d 73 |in menu |3 then.s|
|00003d40| 65 74 20 74 68 65 20 63 | 68 65 63 6b 6d 61 72 6b |et the c|heckmark|
|00003d50| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 68 65 6c | of menu|Item hel|
|00003d60| 70 4d 49 74 65 6d 20 69 | 6e 20 6d 65 6e 75 20 33 |pMItem i|n menu 3|
|00003d70| 20 74 6f c2 0d 28 74 68 | 65 20 6e 61 6d 65 20 6f | to..(th|e name o|
|00003d80| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 3d 20 74 |f this s|tack = t|
|00003d90| 68 65 20 6e 61 6d 65 20 | 6f 66 20 6d 65 29 0d 65 |he name |of me).e|
|00003da0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 73 65 74 41 |nd if.en|d resetA|
|00003db0| 50 4d 65 6e 75 73 0d 0d | 6f 6e 20 61 70 53 61 76 |PMenus..|on apSav|
|00003dc0| 65 20 66 69 6c 65 4e 61 | 6d 65 0d 67 6c 6f 62 61 |e fileNa|me.globa|
|00003dd0| 6c 20 49 73 41 53 6f 75 | 6e 64 53 74 61 63 6b 0d |l IsASou|ndStack.|
|00003de0| 73 65 74 20 74 68 65 20 | 63 75 72 73 6f 72 20 74 |set the |cursor t|
|00003df0| 6f 20 77 61 74 63 68 0d | 69 66 20 49 73 41 53 6f |o watch.|if IsASo|
|00003e00| 75 6e 64 53 74 61 63 6b | 20 74 68 65 6e 20 61 6e |undStack| then an|
|00003e10| 6e 6f 74 65 49 6e 73 74 | 61 6c 6c 20 66 69 6c 65 |noteInst|all file|
|00003e20| 4e 61 6d 65 0d 65 6c 73 | 65 20 6e 6f 72 6d 61 6c |Name.els|e normal|
|00003e30| 49 6e 73 74 61 6c 6c 20 | 66 69 6c 65 4e 61 6d 65 |Install |fileName|
|00003e40| 0d 65 6e 64 20 61 70 53 | 61 76 65 0d 0d 6f 6e 20 |.end apS|ave..on |
|00003e50| 61 70 42 65 67 69 6e 45 | 64 69 74 0d 67 6c 6f 62 |apBeginE|dit.glob|
|00003e60| 61 6c 20 53 61 76 65 53 | 65 6c 65 63 74 2c 20 53 |al SaveS|elect, S|
|00003e70| 61 76 65 4c 69 6e 65 2c | 20 53 61 76 65 4c 6f 63 |aveLine,| SaveLoc|
|00003e80| 0d 0d 70 75 74 20 22 55 | 6e 64 6f 22 20 69 6e 74 |..put "U|ndo" int|
|00003e90| 6f 20 6d 65 6e 75 69 74 | 65 6d 20 31 20 6f 66 20 |o menuit|em 1 of |
|00003ea0| 6d 65 6e 75 20 33 20 20 | 2d 2d c6 0d 70 75 74 20 |menu 3 |--..put |
|00003eb0| 22 2d 22 20 69 6e 74 6f | 20 6d 65 6e 75 69 74 65 |"-" into| menuite|
|00003ec0| 6d 20 32 20 6f 66 20 6d | 65 6e 75 20 33 20 20 2d |m 2 of m|enu 3 -|
|00003ed0| 2d c6 0d 70 75 74 20 22 | 43 75 74 22 20 69 6e 74 |-..put "|Cut" int|
|00003ee0| 6f 20 6d 65 6e 75 49 74 | 65 6d 20 33 20 6f 66 20 |o menuIt|em 3 of |
|00003ef0| 6d 65 6e 75 20 33 20 20 | 2d 2d c6 0d 70 75 74 20 |menu 3 |--..put |
|00003f00| 22 43 6f 70 79 22 20 69 | 6e 74 6f 20 6d 65 6e 75 |"Copy" i|nto menu|
|00003f10| 49 74 65 6d 20 34 20 6f | 66 20 6d 65 6e 75 20 33 |Item 4 o|f menu 3|
|00003f20| 20 20 2d 2d c6 0d 70 75 | 74 20 22 50 61 73 74 65 | --..pu|t "Paste|
|00003f30| 22 20 69 6e 74 6f 20 6d | 65 6e 75 49 74 65 6d 20 |" into m|enuItem |
|00003f40| 35 20 6f 66 20 4d 65 6e | 75 20 33 20 20 2d 2d c6 |5 of Men|u 3 --.|
|00003f50| 0d 70 75 74 20 22 43 6c | 65 61 72 22 20 69 6e 74 |.put "Cl|ear" int|
|00003f60| 6f 20 6d 65 6e 75 49 74 | 65 6d 20 36 20 6f 66 20 |o menuIt|em 6 of |
|00003f70| 6d 65 6e 75 20 33 20 20 | 2d 2d c6 0d 73 65 74 20 |menu 3 |--..set |
|00003f80| 63 6d 64 43 68 61 72 20 | 6f 66 20 6d 65 6e 75 69 |cmdChar |of menui|
|00003f90| 74 65 6d 20 31 20 6f 66 | 20 6d 65 6e 75 20 33 20 |tem 1 of| menu 3 |
|00003fa0| 74 6f 20 22 5a 22 20 2d | 2d c6 0d 73 65 74 20 63 |to "Z" -|-..set c|
|00003fb0| 6d 64 43 68 61 72 20 6f | 66 20 6d 65 6e 75 49 74 |mdChar o|f menuIt|
|00003fc0| 65 6d 20 33 20 6f 66 20 | 6d 65 6e 75 20 33 20 74 |em 3 of |menu 3 t|
|00003fd0| 6f 20 22 58 22 20 2d 2d | c6 0d 73 65 74 20 63 6d |o "X" --|..set cm|
|00003fe0| 64 43 68 61 72 20 6f 66 | 20 6d 65 6e 75 49 74 65 |dChar of| menuIte|
|00003ff0| 6d 20 34 20 6f 66 20 6d | 65 6e 75 20 33 20 74 6f |m 4 of m|enu 3 to|
|00004000| 20 22 43 22 20 2d 2d c6 | 0d 73 65 74 20 63 6d 64 | "C" --.|.set cmd|
|00004010| 43 68 61 72 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |Char of |menuItem|
|00004020| 20 35 20 6f 66 20 6d 65 | 6e 75 20 33 20 74 6f 20 | 5 of me|nu 3 to |
|00004030| 22 56 22 20 2d 2d c6 0d | 0d 69 66 20 53 61 76 65 |"V" --..|.if Save|
|00004040| 53 65 6c 65 63 74 20 69 | 73 20 6e 6f 74 20 65 6d |Select i|s not em|
|00004050| 70 74 79 20 74 68 65 6e | 20 65 78 69 74 20 61 70 |pty then| exit ap|
|00004060| 42 65 67 69 6e 45 64 69 | 74 0d 67 65 74 20 74 68 |BeginEdi|t.get th|
|00004070| 65 20 53 65 6c 65 63 74 | 65 64 43 68 75 6e 6b 0d |e Select|edChunk.|
|00004080| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 66 69 |if there| is a fi|
|00004090| 65 6c 64 20 22 6e 6f 74 | 65 73 22 20 74 68 65 6e |eld "not|es" then|
|000040a0| 20 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 | put the| number |
|000040b0| 6f 66 20 66 69 65 6c 64 | 20 22 6e 6f 74 65 73 22 |of field| "notes"|
|000040c0| 20 69 6e 74 6f 20 4e 6f | 74 65 73 46 69 65 6c 64 | into No|tesField|
|000040d0| 0d 69 66 20 69 74 20 69 | 73 20 65 6d 70 74 79 20 |.if it i|s empty |
|000040e0| 6f 72 20 22 6d 65 73 73 | 61 67 65 20 62 6f 78 22 |or "mess|age box"|
|000040f0| 20 69 73 20 69 6e 20 69 | 74 20 6f 72 20 c2 0d 77 | is in i|t or ..w|
|00004100| 6f 72 64 20 36 20 74 6f | 20 38 20 6f 66 20 69 74 |ord 6 to| 8 of it|
|00004110| 20 3d 20 22 62 6b 67 6e | 64 20 66 69 65 6c 64 22 | = "bkgn|d field"|
|00004120| 20 26 26 20 4e 6f 74 65 | 73 46 69 65 6c 64 20 74 | && Note|sField t|
|00004130| 68 65 6e 20 65 78 69 74 | 20 61 70 42 65 67 69 6e |hen exit| apBegin|
|00004140| 45 64 69 74 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |Edit.put| it into|
|00004150| 20 53 61 76 65 53 65 6c | 65 63 74 0d 70 75 74 20 | SaveSel|ect.put |
|00004160| 74 68 65 20 73 65 6c 65 | 63 74 65 64 4c 69 6e 65 |the sele|ctedLine|
|00004170| 20 69 6e 74 6f 20 53 61 | 76 65 4c 69 6e 65 0d 70 | into Sa|veLine.p|
|00004180| 75 74 20 74 68 65 20 73 | 65 6c 65 63 74 65 64 4c |ut the s|electedL|
|00004190| 6f 63 20 69 6e 74 6f 20 | 53 61 76 65 4c 6f 63 0d |oc into |SaveLoc.|
|000041a0| 73 65 74 20 74 68 65 20 | 74 65 78 74 73 74 79 6c |set the |textstyl|
|000041b0| 65 20 6f 66 20 53 61 76 | 65 53 65 6c 65 63 74 20 |e of Sav|eSelect |
|000041c0| 74 6f 20 62 6f 6c 64 0d | 65 6e 64 20 61 70 42 65 |to bold.|end apBe|
|000041d0| 67 69 6e 45 64 69 74 0d | 0d 6f 6e 20 61 70 42 65 |ginEdit.|.on apBe|
|000041e0| 67 69 6e 57 61 76 65 45 | 64 69 74 0d 67 6c 6f 62 |ginWaveE|dit.glob|
|000041f0| 61 6c 20 48 43 45 64 69 | 74 49 74 65 6d 73 2c 41 |al HCEdi|tItems,A|
|00004200| 50 45 64 69 74 69 6e 67 | 49 74 65 6d 73 2c 41 50 |PEditing|Items,AP|
|00004210| 45 64 69 74 69 6e 67 49 | 74 65 6d 4d 73 67 73 2c |EditingI|temMsgs,|
|00004220| 20 c2 0d 53 61 76 65 53 | 65 6c 65 63 74 2c 20 53 | ..SaveS|elect, S|
|00004230| 61 76 65 4c 69 6e 65 2c | 20 53 61 76 65 4c 6f 63 |aveLine,| SaveLoc|
|00004240| 2c 20 41 50 48 61 73 57 | 61 76 65 45 64 69 74 0d |, APHasW|aveEdit.|
|00004250| 0d 69 66 20 53 61 76 65 | 53 65 6c 65 63 74 20 69 |.if Save|Select i|
|00004260| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 43 68 65 |s empty |then.Che|
|00004270| 63 6b 53 61 76 65 53 65 | 6c 65 63 74 0d 65 6e 64 |ckSaveSe|lect.end|
|00004280| 20 69 66 0d 0d 69 66 20 | 53 61 76 65 53 65 6c 65 | if..if |SaveSele|
|00004290| 63 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |ct is no|t empty |
|000042a0| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 74 65 78 |then set| the tex|
|000042b0| 74 53 74 79 6c 65 20 6f | 66 20 53 61 76 65 53 65 |tStyle o|f SaveSe|
|000042c0| 6c 65 63 74 20 74 6f 20 | 62 6f 6c 64 0d 0d 70 75 |lect to |bold..pu|
|000042d0| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 41 50 48 61 |t true i|nto APHa|
|000042e0| 73 57 61 76 65 45 64 69 | 74 0d 0d 70 75 74 20 22 |sWaveEdi|t..put "|
|000042f0| 55 6e 64 6f 22 20 69 6e | 74 6f 20 6d 65 6e 75 69 |Undo" in|to menui|
|00004300| 74 65 6d 20 31 20 6f 66 | 20 6d 65 6e 75 20 33 20 |tem 1 of| menu 3 |
|00004310| 20 2d 2d c6 0d 70 75 74 | 20 22 2d 22 20 69 6e 74 | --..put| "-" int|
|00004320| 6f 20 6d 65 6e 75 69 74 | 65 6d 20 32 20 6f 66 20 |o menuit|em 2 of |
|00004330| 6d 65 6e 75 20 33 20 20 | 2d 2d c6 0d 70 75 74 20 |menu 3 |--..put |
|00004340| 22 43 75 74 20 53 6f 75 | 6e 64 22 20 69 6e 74 6f |"Cut Sou|nd" into|
|00004350| 20 6d 65 6e 75 69 74 65 | 6d 20 33 20 6f 66 20 6d | menuite|m 3 of m|
|00004360| 65 6e 75 20 33 20 20 2d | 2d c6 0d 70 75 74 20 22 |enu 3 -|-..put "|
|00004370| 43 6f 70 79 20 53 6f 75 | 6e 64 22 20 69 6e 74 6f |Copy Sou|nd" into|
|00004380| 20 6d 65 6e 75 69 74 65 | 6d 20 34 20 6f 66 20 6d | menuite|m 4 of m|
|00004390| 65 6e 75 20 33 20 20 2d | 2d c6 0d 70 75 74 20 22 |enu 3 -|-..put "|
|000043a0| 50 61 73 74 65 20 53 6f | 75 6e 64 22 20 69 6e 74 |Paste So|und" int|
|000043b0| 6f 20 6d 65 6e 75 69 74 | 65 6d 20 35 20 6f 66 20 |o menuit|em 5 of |
|000043c0| 6d 65 6e 75 20 33 20 20 | 2d 2d c6 0d 70 75 74 20 |menu 3 |--..put |
|000043d0| 22 43 6c 65 61 72 20 53 | 6f 75 6e 64 22 20 69 6e |"Clear S|ound" in|
|000043e0| 74 6f 20 6d 65 6e 75 69 | 74 65 6d 20 36 20 6f 66 |to menui|tem 6 of|
|000043f0| 20 6d 65 6e 75 20 33 20 | 20 2d 2d c6 0d 0d 73 65 | menu 3 | --...se|
|00004400| 74 20 63 6d 64 43 68 61 | 72 20 6f 66 20 6d 65 6e |t cmdCha|r of men|
|00004410| 75 69 74 65 6d 20 31 20 | 6f 66 20 6d 65 6e 75 20 |uitem 1 |of menu |
|00004420| 33 20 74 6f 20 22 5a 22 | 20 2d 2d c6 0d 73 65 74 |3 to "Z"| --..set|
|00004430| 20 63 6d 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 | cmdChar| of menu|
|00004440| 69 74 65 6d 20 33 20 6f | 66 20 6d 65 6e 75 20 33 |item 3 o|f menu 3|
|00004450| 20 74 6f 20 22 58 22 20 | 2d 2d c6 0d 73 65 74 20 | to "X" |--..set |
|00004460| 63 6d 64 43 68 61 72 20 | 6f 66 20 6d 65 6e 75 69 |cmdChar |of menui|
|00004470| 74 65 6d 20 34 20 6f 66 | 20 6d 65 6e 75 20 33 20 |tem 4 of| menu 3 |
|00004480| 74 6f 20 22 43 22 20 2d | 2d c6 0d 73 65 74 20 63 |to "C" -|-..set c|
|00004490| 6d 64 43 68 61 72 20 6f | 66 20 6d 65 6e 75 69 74 |mdChar o|f menuit|
|000044a0| 65 6d 20 35 20 6f 66 20 | 6d 65 6e 75 20 33 20 74 |em 5 of |menu 3 t|
|000044b0| 6f 20 22 56 22 20 2d 2d | c6 0d 0d 69 66 20 74 68 |o "V" --|...if th|
|000044c0| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 49 74 65 |ere is a| menuIte|
|000044d0| 6d 20 22 53 65 6c 65 63 | 74 20 41 6c 6c 22 20 6f |m "Selec|t All" o|
|000044e0| 66 20 6d 65 6e 75 20 33 | 20 74 68 65 6e 20 65 78 |f menu 3| then ex|
|000044f0| 69 74 20 61 70 42 65 67 | 69 6e 57 61 76 65 45 64 |it apBeg|inWaveEd|
|00004500| 69 74 20 2d 2d c6 0d 0d | 70 75 74 20 22 2d 2c 53 |it --...|put "-,S|
|00004510| 65 6c 65 63 74 20 41 6c | 6c 2c 56 69 65 77 20 41 |elect Al|l,View A|
|00004520| 6c 6c 22 20 61 66 74 65 | 72 20 6d 65 6e 75 69 74 |ll" afte|r menuit|
|00004530| 65 6d 20 36 20 6f 66 20 | 6d 65 6e 75 20 33 20 77 |em 6 of |menu 3 w|
|00004540| 69 74 68 20 c2 20 20 2d | 2d c6 0d 6d 65 6e 75 4d |ith . -|-..menuM|
|00004550| 73 67 73 20 22 2d 2c 73 | 65 6e 64 20 53 65 6c 65 |sgs "-,s|end Sele|
|00004560| 63 74 41 6c 6c 20 74 6f | 20 77 69 6e 64 6f 77 20 |ctAll to| window |
|00004570| 41 75 64 69 6f 50 61 6c | 65 74 74 65 2c 22 20 26 |AudioPal|ette," &|
|00004580| c2 0d 22 73 65 6e 64 20 | 56 69 65 77 41 6c 6c 20 |.."send |ViewAll |
|00004590| 74 6f 20 77 69 6e 64 6f | 77 20 41 75 64 69 6f 50 |to windo|w AudioP|
|000045a0| 61 6c 65 74 74 65 22 0d | 0d 73 65 74 20 63 6d 64 |alette".|.set cmd|
|000045b0| 43 68 61 72 20 6f 66 20 | 6d 65 6e 75 69 74 65 6d |Char of |menuitem|
|000045c0| 20 38 20 6f 66 20 6d 65 | 6e 75 20 33 20 74 6f 20 | 8 of me|nu 3 to |
|000045d0| 22 41 22 20 2d 2d c6 0d | 73 65 74 20 63 6d 64 43 |"A" --..|set cmdC|
|000045e0| 68 61 72 20 6f 66 20 6d | 65 6e 75 69 74 65 6d 20 |har of m|enuitem |
|000045f0| 39 20 6f 66 20 6d 65 6e | 75 20 33 20 74 6f 20 22 |9 of men|u 3 to "|
|00004600| 53 22 20 2d 2d c6 0d 65 | 6e 64 20 61 70 42 65 67 |S" --..e|nd apBeg|
|00004610| 69 6e 57 61 76 65 45 64 | 69 74 0d 0d 6f 6e 20 61 |inWaveEd|it..on a|
|00004620| 70 45 6e 64 57 61 76 65 | 45 64 69 74 0d 67 6c 6f |pEndWave|Edit.glo|
|00004630| 62 61 6c 20 48 43 45 64 | 69 74 4d 65 6e 75 49 74 |bal HCEd|itMenuIt|
|00004640| 65 6d 73 2c 20 41 50 48 | 61 73 57 61 76 65 45 64 |ems, APH|asWaveEd|
|00004650| 69 74 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |it.put f|alse int|
|00004660| 6f 20 41 50 48 61 73 57 | 61 76 65 45 64 69 74 0d |o APHasW|aveEdit.|
|00004670| 70 75 74 20 22 55 6e 64 | 6f 22 20 69 6e 74 6f 20 |put "Und|o" into |
|00004680| 6d 65 6e 75 69 74 65 6d | 20 31 20 6f 66 20 6d 65 |menuitem| 1 of me|
|00004690| 6e 75 20 33 20 20 2d 2d | c6 0d 70 75 74 20 22 2d |nu 3 --|..put "-|
|000046a0| 22 20 69 6e 74 6f 20 6d | 65 6e 75 69 74 65 6d 20 |" into m|enuitem |
|000046b0| 32 20 6f 66 20 6d 65 6e | 75 20 33 20 20 2d 2d c6 |2 of men|u 3 --.|
|000046c0| 0d 70 75 74 20 22 43 75 | 74 22 20 69 6e 74 6f 20 |.put "Cu|t" into |
|000046d0| 6d 65 6e 75 49 74 65 6d | 20 33 20 6f 66 20 6d 65 |menuItem| 3 of me|
|000046e0| 6e 75 20 33 20 20 2d 2d | c6 0d 70 75 74 20 22 43 |nu 3 --|..put "C|
|000046f0| 6f 70 79 22 20 69 6e 74 | 6f 20 6d 65 6e 75 49 74 |opy" int|o menuIt|
|00004700| 65 6d 20 34 20 6f 66 20 | 6d 65 6e 75 20 33 20 20 |em 4 of |menu 3 |
|00004710| 2d 2d c6 0d 70 75 74 20 | 22 50 61 73 74 65 22 20 |--..put |"Paste" |
|00004720| 69 6e 74 6f 20 6d 65 6e | 75 49 74 65 6d 20 35 20 |into men|uItem 5 |
|00004730| 6f 66 20 4d 65 6e 75 20 | 33 20 20 2d 2d c6 0d 70 |of Menu |3 --..p|
|00004740| 75 74 20 22 43 6c 65 61 | 72 22 20 69 6e 74 6f 20 |ut "Clea|r" into |
|00004750| 6d 65 6e 75 49 74 65 6d | 20 36 20 6f 66 20 6d 65 |menuItem| 6 of me|
|00004760| 6e 75 20 33 20 20 2d 2d | c6 0d 73 65 74 20 63 6d |nu 3 --|..set cm|
|00004770| 64 43 68 61 72 20 6f 66 | 20 6d 65 6e 75 69 74 65 |dChar of| menuite|
|00004780| 6d 20 31 20 6f 66 20 6d | 65 6e 75 20 33 20 74 6f |m 1 of m|enu 3 to|
|00004790| 20 22 5a 22 20 2d 2d c6 | 0d 73 65 74 20 63 6d 64 | "Z" --.|.set cmd|
|000047a0| 43 68 61 72 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |Char of |menuItem|
|000047b0| 20 33 20 6f 66 20 6d 65 | 6e 75 20 33 20 74 6f 20 | 3 of me|nu 3 to |
|000047c0| 22 58 22 20 2d 2d c6 0d | 73 65 74 20 63 6d 64 43 |"X" --..|set cmdC|
|000047d0| 68 61 72 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |har of m|enuItem |
|000047e0| 34 20 6f 66 20 6d 65 6e | 75 20 33 20 74 6f 20 22 |4 of men|u 3 to "|
|000047f0| 43 22 20 2d 2d c6 0d 73 | 65 74 20 63 6d 64 43 68 |C" --..s|et cmdCh|
|00004800| 61 72 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 35 |ar of me|nuItem 5|
|00004810| 20 6f 66 20 6d 65 6e 75 | 20 33 20 74 6f 20 22 56 | of menu| 3 to "V|
|00004820| 22 20 2d 2d c6 0d 69 66 | 20 74 68 65 72 65 20 69 |" --..if| there i|
|00004830| 73 20 6e 6f 74 20 61 20 | 6d 65 6e 75 49 74 65 6d |s not a |menuItem|
|00004840| 20 22 53 65 6c 65 63 74 | 20 41 6c 6c 22 20 6f 66 | "Select| All" of|
|00004850| 20 6d 65 6e 75 20 33 20 | 74 68 65 6e 20 65 78 69 | menu 3 |then exi|
|00004860| 74 20 61 70 45 6e 64 57 | 61 76 65 45 64 69 74 20 |t apEndW|aveEdit |
|00004870| 20 2d 2d c6 0d 72 65 70 | 65 61 74 20 33 0d 64 65 | --..rep|eat 3.de|
|00004880| 6c 65 74 65 20 6d 65 6e | 75 69 74 65 6d 20 37 20 |lete men|uitem 7 |
|00004890| 6f 66 20 6d 65 6e 75 20 | 33 0d 65 6e 64 20 72 65 |of menu |3.end re|
|000048a0| 70 65 61 74 0d 65 6e 64 | 20 61 70 45 6e 64 57 61 |peat.end| apEndWa|
|000048b0| 76 65 45 64 69 74 0d 0d | 2d 2d 6f 74 68 65 72 20 |veEdit..|--other |
|000048c0| 68 61 6e 64 6c 65 72 73 | 0d 0d 6f 6e 20 73 74 61 |handlers|..on sta|
|000048d0| 72 74 53 6f 75 6e 64 0d | 67 6c 6f 62 61 6c 20 53 |rtSound.|global S|
|000048e0| 61 76 65 53 65 6c 65 63 | 74 2c 68 69 64 65 4d 49 |aveSelec|t,hideMI|
|000048f0| 74 65 6d 2c 70 72 6f 74 | 6f 41 70 70 74 42 74 6e |tem,prot|oApptBtn|
|00004900| 53 63 72 69 70 74 2c 70 | 72 6f 74 6f 4e 6f 72 6d |Script,p|rotoNorm|
|00004910| 61 6c 42 74 6e 53 63 72 | 69 70 74 2c c2 0d 6d 65 |alBtnScr|ipt,..me|
|00004920| 6d 6f 4d 49 74 65 6d 2c | 64 65 6c 4d 49 74 65 6d |moMItem,|delMItem|
|00004930| 2c 73 68 6f 77 4d 49 74 | 65 6d 2c 41 50 4d 65 6e |,showMIt|em,APMen|
|00004940| 75 4e 61 6d 65 2c 69 6e | 76 6f 6b 65 4d 49 74 65 |uName,in|vokeMIte|
|00004950| 6d 2c 68 65 6c 70 4d 49 | 74 65 6d 2c c2 0d 49 73 |m,helpMI|tem,..Is|
|00004960| 41 53 6f 75 6e 64 53 74 | 61 63 6b 2c 48 43 45 64 |ASoundSt|ack,HCEd|
|00004970| 69 74 4d 65 6e 75 49 74 | 65 6d 73 0d 70 75 74 20 |itMenuIt|ems.put |
|00004980| 28 43 68 65 63 6b 49 66 | 41 70 70 6f 69 6e 74 6d |(CheckIf|Appointm|
|00004990| 65 6e 74 73 28 29 20 6f | 72 20 43 68 65 63 6b 49 |ents() o|r CheckI|
|000049a0| 66 41 64 64 72 65 73 73 | 65 73 28 29 29 20 69 6e |fAddress|es()) in|
|000049b0| 74 6f 20 49 73 41 53 6f | 75 6e 64 53 74 61 63 6b |to IsASo|undStack|
|000049c0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|000049d0| 53 61 76 65 73 65 6c 65 | 63 74 0d 70 75 74 20 22 |Savesele|ct.put "|
|000049e0| 45 64 69 74 22 20 69 6e | 74 6f 20 41 50 4d 65 6e |Edit" in|to APMen|
|000049f0| 75 4e 61 6d 65 20 2d 2d | c6 20 6e 61 6d 65 20 6f |uName --|. name o|
|00004a00| 66 20 6d 65 6e 75 20 41 | 75 64 69 6f 50 61 6c 6c |f menu A|udioPall|
|00004a10| 65 74 65 20 75 73 65 73 | 0d 70 75 74 20 22 41 75 |ete uses|.put "Au|
|00004a20| 64 69 6f 2e 2e 2e 22 20 | 69 6e 74 6f 20 69 6e 76 |dio..." |into inv|
|00004a30| 6f 6b 65 4d 49 74 65 6d | 20 2d 2d c6 20 69 74 65 |okeMItem| --. ite|
|00004a40| 6d 20 77 68 69 63 68 20 | 6c 61 75 6e 63 68 65 73 |m which |launches|
|00004a50| 20 41 50 0d 70 75 74 20 | 22 41 75 64 69 6f 20 48 | AP.put |"Audio H|
|00004a60| 65 6c 70 22 20 69 6e 74 | 6f 20 68 65 6c 70 4d 49 |elp" int|o helpMI|
|00004a70| 74 65 6d 20 2d 2d c6 20 | 69 74 65 6d 20 77 68 69 |tem --. |item whi|
|00004a80| 63 68 20 6f 70 65 6e 73 | 20 68 65 6c 70 20 73 74 |ch opens| help st|
|00004a90| 61 63 6b 0d 70 75 74 20 | 20 22 41 64 64 20 41 75 |ack.put | "Add Au|
|00004aa0| 64 69 6f 20 4d 65 6d 6f | 22 20 69 6e 74 6f 20 6d |dio Memo|" into m|
|00004ab0| 65 6d 6f 4d 49 74 65 6d | 20 2d 2d c6 20 69 74 65 |emoMItem| --. ite|
|00004ac0| 6d 20 77 68 69 63 68 20 | 61 64 64 73 20 61 20 6d |m which |adds a m|
|00004ad0| 65 6d 6f 0d 70 75 74 20 | 20 22 44 65 6c 65 74 65 |emo.put | "Delete|
|00004ae0| 20 41 75 64 69 6f 20 4d | 65 6d 6f c9 22 20 69 6e | Audio M|emo." in|
|00004af0| 74 6f 20 64 65 6c 4d 49 | 74 65 6d 20 2d 2d c6 20 |to delMI|tem --. |
|00004b00| 69 74 65 6d 20 77 68 69 | 63 68 20 64 65 6c 65 74 |item whi|ch delet|
|00004b10| 65 73 20 6d 65 6d 6f 0d | 70 75 74 20 20 22 48 69 |es memo.|put "Hi|
|00004b20| 64 65 20 41 75 64 69 6f | 20 4d 65 6d 6f 73 22 20 |de Audio| Memos" |
|00004b30| 20 69 6e 74 6f 20 68 69 | 64 65 4d 49 74 65 6d 20 | into hi|deMItem |
|00004b40| 2d 2d c6 20 69 74 65 6d | 20 77 68 69 63 68 20 68 |--. item| which h|
|00004b50| 69 64 65 73 20 6d 65 6d | 6f 73 0d 70 75 74 20 20 |ides mem|os.put |
|00004b60| 22 53 68 6f 77 20 41 75 | 64 69 6f 20 4d 65 6d 6f |"Show Au|dio Memo|
|00004b70| 73 22 20 20 69 6e 74 6f | 20 73 68 6f 77 4d 49 74 |s" into| showMIt|
|00004b80| 65 6d 20 2d 2d c6 20 69 | 74 65 6d 20 77 68 69 63 |em --. i|tem whic|
|00004b90| 68 20 73 68 6f 77 73 20 | 6d 65 6d 6f 73 0d 69 66 |h shows |memos.if|
|00004ba0| 20 6c 61 73 74 20 6d 65 | 6e 75 49 74 65 6d 20 6f | last me|nuItem o|
|00004bb0| 66 20 6d 65 6e 75 20 33 | 20 69 73 20 22 2d 22 20 |f menu 3| is "-" |
|00004bc0| 74 68 65 6e 20 64 65 6c | 65 74 65 20 6c 61 73 74 |then del|ete last|
|00004bd0| 20 6d 65 6e 75 49 74 65 | 6d 20 6f 66 20 6d 65 6e | menuIte|m of men|
|00004be0| 75 20 33 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |u 3.if t|here is |
|00004bf0| 6e 6f 74 20 61 20 6d 65 | 6e 75 49 74 65 6d 20 69 |not a me|nuItem i|
|00004c00| 6e 76 6f 6b 65 4d 49 74 | 65 6d 20 69 6e 20 6d 65 |nvokeMIt|em in me|
|00004c10| 6e 75 20 33 20 74 68 65 | 6e 0d 70 75 74 20 22 2d |nu 3 the|n.put "-|
|00004c20| 28 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 69 6e |(" & ret|urn & in|
|00004c30| 76 6f 6b 65 4d 49 74 65 | 6d 20 26 20 72 65 74 75 |vokeMIte|m & retu|
|00004c40| 72 6e 20 26 20 68 65 6c | 70 4d 49 74 65 6d 20 61 |rn & hel|pMItem a|
|00004c50| 66 74 65 72 c2 0d 6d 65 | 6e 75 20 33 20 77 69 74 |fter..me|nu 3 wit|
|00004c60| 68 20 6d 65 6e 75 4d 73 | 67 73 20 22 64 61 73 68 |h menuMs|gs "dash|
|00004c70| 2c 41 50 69 6e 76 6f 6b | 65 2c 41 50 68 65 6c 70 |,APinvok|e,APhelp|
|00004c80| 22 0d 65 6e 64 20 69 66 | 0d 0d 70 75 74 20 6d 65 |".end if|..put me|
|00004c90| 6e 75 20 33 20 69 6e 74 | 6f 20 48 43 45 64 69 74 |nu 3 int|o HCEdit|
|00004ca0| 4d 65 6e 75 49 74 65 6d | 73 0d 0d 73 65 74 20 74 |MenuItem|s..set t|
|00004cb0| 68 65 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |he curso|r to wat|
|00004cc0| 63 68 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 73 |ch.lock |screen.s|
|00004cd0| 65 74 20 6c 6f 63 6b 6d | 65 73 73 61 67 65 73 20 |et lockm|essages |
|00004ce0| 74 6f 20 74 72 75 65 0d | 70 75 73 68 20 63 61 72 |to true.|push car|
|00004cf0| 64 0d 67 6f 20 74 6f 20 | 73 74 61 63 6b 20 68 65 |d.go to |stack he|
|00004d00| 6c 70 4d 49 74 65 6d 0d | 70 75 74 20 74 68 65 20 |lpMItem.|put the |
|00004d10| 73 63 72 69 70 74 20 6f | 66 20 62 67 20 62 74 6e |script o|f bg btn|
|00004d20| 20 22 50 72 6f 74 6f 41 | 70 70 74 62 74 6e 22 20 | "ProtoA|pptbtn" |
|00004d30| 69 6e 74 6f 20 70 72 6f | 74 6f 41 70 70 74 42 74 |into pro|toApptBt|
|00004d40| 6e 53 63 72 69 70 74 0d | 70 75 74 20 74 68 65 20 |nScript.|put the |
|00004d50| 73 63 72 69 70 74 20 6f | 66 20 62 67 20 62 74 6e |script o|f bg btn|
|00004d60| 20 22 50 72 6f 74 6f 4e | 6f 72 6d 61 6c 62 74 6e | "ProtoN|ormalbtn|
|00004d70| 22 20 69 6e 74 6f 20 70 | 72 6f 74 6f 4e 6f 72 6d |" into p|rotoNorm|
|00004d80| 61 6c 42 74 6e 53 63 72 | 69 70 74 0d 70 6f 70 20 |alBtnScr|ipt.pop |
|00004d90| 63 61 72 64 0d 73 65 74 | 20 6c 6f 63 6b 6d 65 73 |card.set| lockmes|
|00004da0| 73 61 67 65 73 20 74 6f | 20 66 61 6c 73 65 0d 75 |sages to| false.u|
|00004db0| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 65 6e 64 |nlock sc|reen.end|
|00004dc0| 20 73 74 61 72 74 53 6f | 75 6e 64 0d 0d 6f 6e 20 | startSo|und..on |
|00004dd0| 55 70 64 61 74 65 50 72 | 6f 74 6f 53 63 72 69 70 |UpdatePr|otoScrip|
|00004de0| 74 73 0d 67 6c 6f 62 61 | 6c 20 70 72 6f 74 6f 41 |ts.globa|l protoA|
|00004df0| 70 70 74 42 74 6e 53 63 | 72 69 70 74 2c 70 72 6f |pptBtnSc|ript,pro|
|00004e00| 74 6f 4e 6f 72 6d 61 6c | 42 74 6e 53 63 72 69 70 |toNormal|BtnScrip|
|00004e10| 74 0d 70 75 74 20 74 68 | 65 20 73 63 72 69 70 74 |t.put th|e script|
|00004e20| 20 6f 66 20 62 67 20 62 | 74 6e 20 22 50 72 6f 74 | of bg b|tn "Prot|
|00004e30| 6f 41 70 70 74 62 74 6e | 22 20 69 6e 74 6f 20 70 |oApptbtn|" into p|
|00004e40| 72 6f 74 6f 41 70 70 74 | 42 74 6e 53 63 72 69 70 |rotoAppt|BtnScrip|
|00004e50| 74 0d 70 75 74 20 74 68 | 65 20 73 63 72 69 70 74 |t.put th|e script|
|00004e60| 20 6f 66 20 62 67 20 62 | 74 6e 20 22 50 72 6f 74 | of bg b|tn "Prot|
|00004e70| 6f 4e 6f 72 6d 61 6c 62 | 74 6e 22 20 69 6e 74 6f |oNormalb|tn" into|
|00004e80| 20 70 72 6f 74 6f 4e 6f | 72 6d 61 6c 42 74 6e 53 | protoNo|rmalBtnS|
|00004e90| 63 72 69 70 74 0d 65 6e | 64 20 55 70 64 61 74 65 |cript.en|d Update|
|00004ea0| 50 72 6f 74 6f 53 63 72 | 69 70 74 73 0d 0d 6f 6e |ProtoScr|ipts..on|
|00004eb0| 20 61 6e 6e 6f 74 65 49 | 6e 73 74 61 6c 6c 20 66 | annoteI|nstall f|
|00004ec0| 69 6c 65 4e 61 6d 65 0d | 67 6c 6f 62 61 6c 20 53 |ileName.|global S|
|00004ed0| 61 76 65 53 65 6c 65 63 | 74 2c 20 70 72 6f 74 6f |aveSelec|t, proto|
|00004ee0| 41 70 70 74 42 74 6e 53 | 63 72 69 70 74 2c 20 53 |ApptBtnS|cript, S|
|00004ef0| 61 76 65 4c 69 6e 65 2c | 20 53 61 76 65 4c 6f 63 |aveLine,| SaveLoc|
|00004f00| 0d 69 66 20 53 61 76 65 | 53 65 6c 65 63 74 20 69 |.if Save|Select i|
|00004f10| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 43 68 65 |s empty |then.Che|
|00004f20| 63 6b 53 61 76 65 53 65 | 6c 65 63 74 0d 65 6e 64 |ckSaveSe|lect.end|
|00004f30| 20 69 66 0d 69 66 20 74 | 68 65 20 66 69 72 73 74 | if.if t|he first|
|00004f40| 20 63 68 61 72 20 6f 66 | 20 66 69 6c 65 4e 61 6d | char of| fileNam|
|00004f50| 65 20 69 73 20 71 75 6f | 74 65 20 74 68 65 6e 0d |e is quo|te then.|
|00004f60| 64 65 6c 65 74 65 20 74 | 68 65 20 6c 61 73 74 20 |delete t|he last |
|00004f70| 63 68 61 72 20 6f 66 20 | 66 69 6c 65 4e 61 6d 65 |char of |fileName|
|00004f80| 0d 64 65 6c 65 74 65 20 | 74 68 65 20 66 69 72 73 |.delete |the firs|
|00004f90| 74 20 63 68 61 72 20 6f | 66 20 66 69 6c 65 4e 61 |t char o|f fileNa|
|00004fa0| 6d 65 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 66 69 |me.end i|f.put fi|
|00004fb0| 6c 65 4e 61 6d 65 20 26 | 20 72 65 74 75 72 6e 20 |leName &| return |
|00004fc0| 26 20 22 41 50 20 42 75 | 74 74 6f 6e 22 20 69 6e |& "AP Bu|tton" in|
|00004fd0| 74 6f 20 4e 65 77 42 74 | 6e 4e 61 6d 65 0d 70 75 |to NewBt|nName.pu|
|00004fe0| 74 20 70 72 6f 74 6f 41 | 70 70 74 42 74 6e 53 63 |t protoA|pptBtnSc|
|00004ff0| 72 69 70 74 20 69 6e 74 | 6f 20 62 74 6e 73 63 72 |ript int|o btnscr|
|00005000| 69 70 74 0d 67 65 74 20 | 6e 75 6d 62 65 72 20 6f |ipt.get |number o|
|00005010| 66 20 77 6f 72 64 73 20 | 69 6e 20 63 68 61 72 20 |f words |in char |
|00005020| 31 20 74 6f 20 6f 66 66 | 73 65 74 28 22 70 75 74 |1 to off|set("put|
|00005030| 53 6f 75 6e 64 4e 61 6d | 65 48 65 72 65 22 2c 62 |SoundNam|eHere",b|
|00005040| 74 6e 53 63 72 69 70 74 | 29 20 6f 66 20 62 74 6e |tnScript|) of btn|
|00005050| 53 63 72 69 70 74 0d 70 | 75 74 20 71 75 6f 74 65 |Script.p|ut quote|
|00005060| 20 26 20 66 69 6c 65 4e | 61 6d 65 20 26 20 71 75 | & fileN|ame & qu|
|00005070| 6f 74 65 20 69 6e 74 6f | 20 77 6f 72 64 20 69 74 |ote into| word it|
|00005080| 20 6f 66 20 62 74 6e 73 | 63 72 69 70 74 0d 69 66 | of btns|cript.if|
|00005090| 20 74 68 65 72 65 20 69 | 73 20 61 20 62 75 74 74 | there i|s a butt|
|000050a0| 6f 6e 20 4e 65 77 42 74 | 6e 4e 61 6d 65 20 74 68 |on NewBt|nName th|
|000050b0| 65 6e 0d 69 66 20 53 61 | 76 65 53 65 6c 65 63 74 |en.if Sa|veSelect|
|000050c0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|000050d0| 65 6e 0d 70 75 74 20 43 | 6f 6d 70 75 74 65 4d 65 |en.put C|omputeMe|
|000050e0| 6d 6f 4c 6f 63 28 4e 65 | 77 42 74 6e 4e 61 6d 65 |moLoc(Ne|wBtnName|
|000050f0| 29 20 69 6e 74 6f 20 49 | 6e 73 74 61 6c 6c 4c 6f |) into I|nstallLo|
|00005100| 63 0d 73 65 74 20 6c 6f | 63 20 6f 66 20 62 74 6e |c.set lo|c of btn|
|00005110| 20 4e 65 77 42 74 6e 4e | 61 6d 65 20 74 6f 20 49 | NewBtnN|ame to I|
|00005120| 6e 73 74 61 6c 6c 4c 6f | 63 0d 69 66 20 6e 6f 74 |nstallLo|c.if not|
|00005130| 20 74 68 65 20 76 69 73 | 69 62 6c 65 20 6f 66 20 | the vis|ible of |
|00005140| 62 74 6e 20 4e 65 77 42 | 74 6e 4e 61 6d 65 20 74 |btn NewB|tnName t|
|00005150| 68 65 6e 20 73 68 6f 77 | 20 62 74 6e 20 4e 65 77 |hen show| btn New|
|00005160| 42 74 6e 4e 61 6d 65 0d | 65 6e 64 20 69 66 0d 65 |BtnName.|end if.e|
|00005170| 6c 73 65 0d 70 75 74 20 | 43 6f 6d 70 75 74 65 4d |lse.put |ComputeM|
|00005180| 65 6d 6f 4c 6f 63 28 29 | 20 69 6e 74 6f 20 49 6e |emoLoc()| into In|
|00005190| 73 74 61 6c 6c 4c 6f 63 | 0d 6c 6f 63 6b 20 73 63 |stallLoc|.lock sc|
|000051a0| 72 65 65 6e 0d 67 65 74 | 20 74 68 65 20 75 73 65 |reen.get| the use|
|000051b0| 72 6c 65 76 65 6c 0d 73 | 65 74 20 74 68 65 20 75 |rlevel.s|et the u|
|000051c0| 73 65 72 6c 65 76 65 6c | 20 74 6f 20 35 0d 64 6f |serlevel| to 5.do|
|000051d0| 6d 65 6e 75 20 22 4e 65 | 77 20 42 75 74 74 6f 6e |menu "Ne|w Button|
|000051e0| 22 0d 63 68 6f 6f 73 65 | 20 62 72 6f 77 73 65 20 |".choose| browse |
|000051f0| 74 6f 6f 6c 0d 73 65 74 | 20 74 68 65 20 75 73 65 |tool.set| the use|
|00005200| 72 6c 65 76 65 6c 20 74 | 6f 20 69 74 0d 70 75 74 |rlevel t|o it.put|
|00005210| 20 74 68 65 20 49 44 20 | 6f 66 20 6c 61 73 74 20 | the ID |of last |
|00005220| 62 74 6e 20 69 6e 74 6f | 20 62 74 6e 49 44 0d 73 |btn into| btnID.s|
|00005230| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 62 |et the n|ame of b|
|00005240| 74 6e 20 49 44 20 62 74 | 6e 49 44 20 74 6f 20 4e |tn ID bt|nID to N|
|00005250| 65 77 42 74 6e 4e 61 6d | 65 0d 73 65 74 20 68 65 |ewBtnNam|e.set he|
|00005260| 69 67 68 74 20 6f 66 20 | 62 74 6e 20 49 44 20 62 |ight of |btn ID b|
|00005270| 74 6e 49 44 20 74 6f 20 | 31 37 0d 73 65 74 20 77 |tnID to |17.set w|
|00005280| 69 64 74 68 20 6f 66 20 | 62 74 6e 20 49 44 20 62 |idth of |btn ID b|
|00005290| 74 6e 49 44 20 74 6f 20 | 32 30 0d 73 65 74 20 74 |tnID to |20.set t|
|000052a0| 68 65 20 73 63 72 69 70 | 74 20 6f 66 20 62 74 6e |he scrip|t of btn|
|000052b0| 20 49 44 20 62 74 6e 49 | 44 20 74 6f 20 62 74 6e | ID btnI|D to btn|
|000052c0| 73 63 72 69 70 74 0d 73 | 65 74 20 74 68 65 20 6c |script.s|et the l|
|000052d0| 6f 63 20 6f 66 20 62 74 | 6e 20 49 44 20 62 74 6e |oc of bt|n ID btn|
|000052e0| 49 44 20 74 6f 20 49 6e | 73 74 61 6c 6c 4c 6f 63 |ID to In|stallLoc|
|000052f0| 0d 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 |.set the| icon of|
|00005300| 20 62 74 6e 20 49 44 20 | 62 74 6e 49 44 20 74 6f | btn ID |btnID to|
|00005310| 20 32 39 31 38 33 0d 73 | 65 74 20 74 68 65 20 73 | 29183.s|et the s|
|00005320| 68 6f 77 6e 61 6d 65 20 | 6f 66 20 62 74 6e 20 49 |howname |of btn I|
|00005330| 44 20 62 74 6e 49 44 20 | 74 6f 20 66 61 6c 73 65 |D btnID |to false|
|00005340| 0d 73 65 74 20 74 68 65 | 20 73 74 79 6c 65 20 6f |.set the| style o|
|00005350| 66 20 62 74 6e 20 49 44 | 20 62 74 6e 49 44 20 74 |f btn ID| btnID t|
|00005360| 6f 20 6f 70 61 71 75 65 | 0d 73 65 74 20 74 68 65 |o opaque|.set the|
|00005370| 20 61 75 74 6f 48 69 6c | 69 74 65 20 6f 66 20 62 | autoHil|ite of b|
|00005380| 74 6e 20 49 44 20 62 74 | 6e 49 44 20 74 6f 20 66 |tn ID bt|nID to f|
|00005390| 61 6c 73 65 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |alse.unl|ock scre|
|000053a0| 65 6e 0d 65 6e 64 20 69 | 66 0d 69 66 20 73 61 76 |en.end i|f.if sav|
|000053b0| 65 53 65 6c 65 63 74 20 | 69 73 20 6e 6f 74 20 65 |eSelect |is not e|
|000053c0| 6d 70 74 79 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |mpty the|n.set th|
|000053d0| 65 20 74 65 78 74 73 74 | 79 6c 65 20 6f 66 20 73 |e textst|yle of s|
|000053e0| 61 76 65 53 65 6c 65 63 | 74 20 74 6f 20 70 6c 61 |aveSelec|t to pla|
|000053f0| 69 6e 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |in.put e|mpty int|
|00005400| 6f 20 53 61 76 65 53 65 | 6c 65 63 74 0d 65 6e 64 |o SaveSe|lect.end|
|00005410| 20 69 66 0d 55 70 64 61 | 74 65 41 6e 6e 6f 74 65 | if.Upda|teAnnote|
|00005420| 4d 65 6e 75 73 0d 69 66 | 20 74 68 65 20 76 69 73 |Menus.if| the vis|
|00005430| 69 62 6c 65 20 6f 66 20 | 62 74 6e 20 4e 65 77 42 |ible of |btn NewB|
|00005440| 74 6e 4e 61 6d 65 20 74 | 68 65 6e 0d 72 65 70 65 |tnName t|hen.repe|
|00005450| 61 74 20 34 0d 77 61 69 | 74 20 31 30 0d 73 65 74 |at 4.wai|t 10.set|
|00005460| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 62 | the hil|ite of b|
|00005470| 74 6e 20 4e 65 77 42 74 | 6e 4e 61 6d 65 20 74 6f |tn NewBt|nName to|
|00005480| 20 6e 6f 74 20 74 68 65 | 20 68 69 6c 69 74 65 20 | not the| hilite |
|00005490| 6f 66 20 62 74 6e 20 4e | 65 77 42 74 6e 4e 61 6d |of btn N|ewBtnNam|
|000054a0| 65 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |e.end re|peat.end|
|000054b0| 20 69 66 0d 70 75 74 20 | 22 54 6f 20 6d 6f 76 65 | if.put |"To move|
|000054c0| 20 79 6f 75 72 20 62 75 | 74 74 6f 6e 2c 20 68 6f | your bu|tton, ho|
|000054d0| 6c 64 20 64 6f 77 6e 20 | 74 68 65 20 6f 70 74 69 |ld down |the opti|
|000054e0| 6f 6e 20 6b 65 79 20 61 | 6e 64 20 64 72 61 67 2e |on key a|nd drag.|
|000054f0| 22 20 2d 2d c6 0d 65 6e | 64 20 61 6e 6e 6f 74 65 |" --..en|d annote|
|00005500| 49 6e 73 74 61 6c 6c 0d | 0d 66 75 6e 63 74 69 6f |Install.|.functio|
|00005510| 6e 20 43 6f 6d 70 75 74 | 65 4d 65 6d 6f 4c 6f 63 |n Comput|eMemoLoc|
|00005520| 20 54 61 72 67 65 74 42 | 75 74 74 6f 6e 0d 67 6c | TargetB|utton.gl|
|00005530| 6f 62 61 6c 20 53 61 76 | 65 53 65 6c 65 63 74 2c |obal Sav|eSelect,|
|00005540| 20 53 61 76 65 4c 69 6e | 65 2c 20 53 61 76 65 4c | SaveLin|e, SaveL|
|00005550| 6f 63 0d 69 66 20 53 61 | 76 65 53 65 6c 65 63 74 |oc.if Sa|veSelect|
|00005560| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 0d 70 | is empt|y then.p|
|00005570| 75 74 20 22 31 30 2c 32 | 38 22 20 69 6e 74 6f 20 |ut "10,2|8" into |
|00005580| 49 6e 73 74 61 6c 6c 4c | 6f 63 0d 65 6c 73 65 0d |InstallL|oc.else.|
|00005590| 70 75 74 20 28 77 6f 72 | 64 20 34 20 74 6f 20 36 |put (wor|d 4 to 6|
|000055a0| 20 6f 66 20 73 61 76 65 | 4c 69 6e 65 29 20 69 6e | of save|Line) in|
|000055b0| 74 6f 20 74 68 69 73 46 | 69 65 6c 64 4e 61 6d 65 |to thisF|ieldName|
|000055c0| 0d 69 66 20 74 68 65 20 | 49 44 20 6f 66 20 74 68 |.if the |ID of th|
|000055d0| 69 73 20 62 67 20 69 73 | 20 33 36 36 34 20 74 68 |is bg is| 3664 th|
|000055e0| 65 6e 0d 69 66 20 74 68 | 65 20 66 69 72 73 74 20 |en.if th|e first |
|000055f0| 77 6f 72 64 20 6f 66 20 | 74 68 65 20 73 68 6f 72 |word of |the shor|
|00005600| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 46 69 |t name o|f thisFi|
|00005610| 65 6c 64 4e 61 6d 65 20 | 69 73 20 22 50 68 6f 6e |eldName |is "Phon|
|00005620| 65 22 20 74 68 65 6e 0d | 70 75 74 20 32 39 20 69 |e" then.|put 29 i|
|00005630| 6e 74 6f 20 6c 65 66 74 | 4f 66 66 73 65 74 0d 70 |nto left|Offset.p|
|00005640| 75 74 20 37 20 69 6e 74 | 6f 20 76 65 72 74 4f 66 |ut 7 int|o vertOf|
|00005650| 66 73 65 74 0d 65 6c 73 | 65 0d 70 75 74 20 31 30 |fset.els|e.put 10|
|00005660| 20 69 6e 74 6f 20 6c 65 | 66 74 4f 66 66 73 65 74 | into le|ftOffset|
|00005670| 0d 70 75 74 20 31 31 20 | 69 6e 74 6f 20 76 65 72 |.put 11 |into ver|
|00005680| 74 4f 66 66 73 65 74 0d | 65 6e 64 20 69 66 0d 65 |tOffset.|end if.e|
|00005690| 6c 73 65 0d 70 75 74 20 | 32 34 20 69 6e 74 6f 20 |lse.put |24 into |
|000056a0| 6c 65 66 74 4f 66 66 73 | 65 74 0d 70 75 74 20 32 |leftOffs|et.put 2|
|000056b0| 20 69 6e 74 6f 20 76 65 | 72 74 4f 66 66 73 65 74 | into ve|rtOffset|
|000056c0| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 28 74 68 65 |.end if.|put (the|
|000056d0| 20 6c 65 66 74 20 6f 66 | 20 74 68 69 73 46 69 65 | left of| thisFie|
|000056e0| 6c 64 4e 61 6d 65 29 20 | 2d 20 6c 65 66 74 4f 66 |ldName) |- leftOf|
|000056f0| 66 73 65 74 20 69 6e 74 | 6f 20 69 74 65 6d 20 31 |fset int|o item 1|
|00005700| 20 6f 66 20 69 6e 73 74 | 61 6c 6c 4c 6f 63 0d 70 | of inst|allLoc.p|
|00005710| 75 74 20 28 69 74 65 6d | 20 32 20 6f 66 20 73 61 |ut (item| 2 of sa|
|00005720| 76 65 4c 6f 63 29 20 2d | 20 28 74 68 65 20 74 65 |veLoc) -| (the te|
|00005730| 78 74 48 65 69 67 68 74 | 20 6f 66 20 74 68 69 73 |xtHeight| of this|
|00005740| 46 69 65 6c 64 4e 61 6d | 65 20 44 49 56 20 32 29 |FieldNam|e DIV 2)|
|00005750| 20 69 6e 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 | into it|em 2 of |
|00005760| 69 6e 73 74 61 6c 6c 4c | 6f 63 0d 65 6e 64 20 69 |installL|oc.end i|
|00005770| 66 0d 69 66 20 6e 6f 74 | 20 43 61 72 64 48 61 73 |f.if not| CardHas|
|00005780| 53 6f 75 6e 64 73 28 29 | 20 74 68 65 6e 20 72 65 |Sounds()| then re|
|00005790| 74 75 72 6e 20 69 6e 73 | 74 61 6c 6c 4c 6f 63 0d |turn ins|tallLoc.|
|000057a0| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|000057b0| 66 20 62 74 6e 73 20 69 | 6e 74 6f 20 4e 75 6d 42 |f btns i|nto NumB|
|000057c0| 74 6e 73 0d 70 75 74 20 | 69 6e 73 74 61 6c 6c 4c |tns.put |installL|
|000057d0| 6f 63 20 3d 20 22 31 30 | 2c 32 38 22 20 69 6e 74 |oc = "10|,28" int|
|000057e0| 6f 20 57 61 73 49 6e 43 | 6f 72 6e 65 72 0d 70 75 |o WasInC|orner.pu|
|000057f0| 74 20 69 6e 73 74 61 6c | 6c 4c 6f 63 20 69 6e 74 |t instal|lLoc int|
|00005800| 6f 20 4f 72 69 67 69 6e | 61 6c 4c 6f 63 0d 70 75 |o Origin|alLoc.pu|
|00005810| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 46 6f 75 6e |t true i|nto Foun|
|00005820| 64 4f 6e 65 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |dOne.put| empty i|
|00005830| 6e 74 6f 20 42 74 6e 49 | 6e 43 68 61 69 6e 0d 72 |nto BtnI|nChain.r|
|00005840| 65 70 65 61 74 20 75 6e | 74 69 6c 20 6e 6f 74 20 |epeat un|til not |
|00005850| 46 6f 75 6e 64 4f 6e 65 | 0d 70 75 74 20 66 61 6c |FoundOne|.put fal|
|00005860| 73 65 20 69 6e 74 6f 20 | 46 6f 75 6e 64 4f 6e 65 |se into |FoundOne|
|00005870| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 63 6f 75 |.repeat |with cou|
|00005880| 6e 74 20 3d 20 31 20 74 | 6f 20 4e 75 6d 42 74 6e |nt = 1 t|o NumBtn|
|00005890| 73 0d 69 66 20 6e 6f 74 | 20 49 73 53 6f 75 6e 64 |s.if not| IsSound|
|000058a0| 42 75 74 74 6f 6e 28 63 | 6f 75 6e 74 29 20 74 68 |Button(c|ount) th|
|000058b0| 65 6e 20 6e 65 78 74 20 | 72 65 70 65 61 74 0d 69 |en next |repeat.i|
|000058c0| 66 20 69 6e 73 74 61 6c | 6c 4c 6f 63 20 69 73 20 |f instal|lLoc is |
|000058d0| 77 69 74 68 69 6e 20 74 | 68 65 20 72 65 63 74 20 |within t|he rect |
|000058e0| 6f 66 20 62 74 6e 20 63 | 6f 75 6e 74 20 74 68 65 |of btn c|ount the|
|000058f0| 6e 0d 70 75 74 20 74 72 | 75 65 20 69 6e 74 6f 20 |n.put tr|ue into |
|00005900| 46 6f 75 6e 64 4f 6e 65 | 0d 69 66 20 57 61 73 49 |FoundOne|.if WasI|
|00005910| 6e 43 6f 72 6e 65 72 20 | 74 68 65 6e 0d 72 65 70 |nCorner |then.rep|
|00005920| 65 61 74 20 75 6e 74 69 | 6c 20 42 75 74 74 6f 6e |eat unti|l Button|
|00005930| 41 6c 72 65 61 64 79 54 | 68 65 72 65 28 69 6e 73 |AlreadyT|here(ins|
|00005940| 74 61 6c 6c 4c 6f 63 29 | 20 3d 20 30 0d 61 64 64 |tallLoc)| = 0.add|
|00005950| 20 39 20 74 6f 20 69 74 | 65 6d 20 31 20 6f 66 20 | 9 to it|em 1 of |
|00005960| 69 6e 73 74 61 6c 6c 4c | 6f 63 0d 61 64 64 20 39 |installL|oc.add 9|
|00005970| 20 74 6f 20 69 74 65 6d | 20 32 20 6f 66 20 69 6e | to item| 2 of in|
|00005980| 73 74 61 6c 6c 4c 6f 63 | 0d 69 66 20 69 6e 73 74 |stallLoc|.if inst|
|00005990| 61 6c 6c 4c 6f 63 20 69 | 73 20 6e 6f 74 20 77 69 |allLoc i|s not wi|
|000059a0| 74 68 69 6e 20 74 68 65 | 20 72 65 63 74 20 6f 66 |thin the| rect of|
|000059b0| 20 74 68 69 73 20 63 64 | 20 74 68 65 6e 20 73 75 | this cd| then su|
|000059c0| 62 74 72 61 63 74 20 39 | 20 66 72 6f 6d 20 69 74 |btract 9| from it|
|000059d0| 65 6d 20 32 20 6f 66 20 | 69 6e 73 74 61 6c 6c 4c |em 2 of |installL|
|000059e0| 6f 63 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6c |oc.end r|epeat.el|
|000059f0| 73 65 0d 69 66 20 42 74 | 6e 49 6e 43 68 61 69 6e |se.if Bt|nInChain|
|00005a00| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | is empt|y then p|
|00005a10| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |ut the s|hort nam|
|00005a20| 65 20 6f 66 20 62 74 6e | 20 63 6f 75 6e 74 20 69 |e of btn| count i|
|00005a30| 6e 74 6f 20 42 74 6e 49 | 6e 43 68 61 69 6e 0d 69 |nto BtnI|nChain.i|
|00005a40| 66 20 54 61 72 67 65 74 | 42 75 74 74 6f 6e 20 69 |f Target|Button i|
|00005a50| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00005a60| 0d 69 66 20 69 6e 73 74 | 61 6c 6c 4c 6f 63 20 3d |.if inst|allLoc =|
|00005a70| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 62 74 6e 20 | the loc| of btn |
|00005a80| 54 61 72 67 65 74 42 75 | 74 74 6f 6e 20 74 68 65 |TargetBu|tton the|
|00005a90| 6e 20 72 65 74 75 72 6e | 20 49 6e 73 74 61 6c 6c |n return| Install|
|00005aa0| 4c 6f 63 0d 65 6e 64 20 | 69 66 0d 72 65 70 65 61 |Loc.end |if.repea|
|00005ab0| 74 20 75 6e 74 69 6c 20 | 42 75 74 74 6f 6e 41 6c |t until |ButtonAl|
|00005ac0| 72 65 61 64 79 54 68 65 | 72 65 28 69 6e 73 74 61 |readyThe|re(insta|
|00005ad0| 6c 6c 4c 6f 63 29 20 3d | 20 30 0d 61 64 64 20 38 |llLoc) =| 0.add 8|
|00005ae0| 20 74 6f 20 69 74 65 6d | 20 32 20 6f 66 20 69 6e | to item| 2 of in|
|00005af0| 73 74 61 6c 6c 4c 6f 63 | 0d 69 66 20 69 74 65 6d |stallLoc|.if item|
|00005b00| 20 32 20 6f 66 20 69 6e | 73 74 61 6c 6c 4c 6f 63 | 2 of in|stallLoc|
|00005b10| 20 2b 20 38 20 3e 20 74 | 68 65 20 68 65 69 67 68 | + 8 > t|he heigh|
|00005b20| 74 20 6f 66 20 74 68 69 | 73 20 63 64 20 74 68 65 |t of thi|s cd the|
|00005b30| 6e 0d 73 75 62 74 72 61 | 63 74 20 38 20 66 72 6f |n.subtra|ct 8 fro|
|00005b40| 6d 20 69 74 65 6d 20 32 | 20 6f 66 20 69 6e 73 74 |m item 2| of inst|
|00005b50| 61 6c 6c 4c 6f 63 0d 61 | 64 64 20 35 20 74 6f 20 |allLoc.a|dd 5 to |
|00005b60| 69 74 65 6d 20 31 20 6f | 66 20 69 6e 73 74 61 6c |item 1 o|f instal|
|00005b70| 6c 4c 6f 63 0d 65 6e 64 | 20 69 66 0d 69 66 20 54 |lLoc.end| if.if T|
|00005b80| 61 72 67 65 74 42 75 74 | 74 6f 6e 20 69 73 20 6e |argetBut|ton is n|
|00005b90| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 69 66 |ot empty| then.if|
|00005ba0| 20 69 6e 73 74 61 6c 6c | 4c 6f 63 20 3d 20 74 68 | install|Loc = th|
|00005bb0| 65 20 6c 6f 63 20 6f 66 | 20 62 74 6e 20 54 61 72 |e loc of| btn Tar|
|00005bc0| 67 65 74 42 75 74 74 6f | 6e 20 74 68 65 6e 20 72 |getButto|n then r|
|00005bd0| 65 74 75 72 6e 20 49 6e | 73 74 61 6c 6c 4c 6f 63 |eturn In|stallLoc|
|00005be0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00005bf0| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |at.end i|f.end if|
|00005c00| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00005c10| 72 65 70 65 61 74 0d 69 | 66 20 57 61 73 49 6e 43 |repeat.i|f WasInC|
|00005c20| 6f 72 6e 65 72 20 74 68 | 65 6e 20 72 65 74 75 72 |orner th|en retur|
|00005c30| 6e 20 69 6e 73 74 61 6c | 6c 4c 6f 63 0d 69 66 20 |n instal|lLoc.if |
|00005c40| 42 74 6e 49 6e 43 68 61 | 69 6e 20 69 73 20 6e 6f |BtnInCha|in is no|
|00005c50| 74 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 73 65 74 |t empty |then.set|
|00005c60| 20 63 75 72 73 6f 72 20 | 74 6f 20 61 72 72 6f 77 | cursor |to arrow|
|00005c70| 0d 61 6e 73 77 65 72 20 | 22 44 6f 20 79 6f 75 20 |.answer |"Do you |
|00005c80| 77 61 6e 74 20 74 6f 20 | 72 65 70 6c 61 63 65 20 |want to |replace |
|00005c90| 74 68 65 20 6f 6c 64 20 | 61 75 64 69 6f 20 6d 65 |the old |audio me|
|00005ca0| 6d 6f 20 77 69 74 68 20 | 74 68 65 20 6e 65 77 20 |mo with |the new |
|00005cb0| 6f 6e 65 3f 22 20 77 69 | 74 68 c2 20 2d 2d c6 0d |one?" wi|th. --..|
|00005cc0| 22 4e 6f 22 20 6f 72 20 | 22 59 65 73 22 20 2d 2d |"No" or |"Yes" --|
|00005cd0| c6 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |..set cu|rsor to |
|00005ce0| 77 61 74 63 68 0d 69 66 | 20 69 74 20 69 73 20 22 |watch.if| it is "|
|00005cf0| 4e 6f 22 20 74 68 65 6e | 20 72 65 74 75 72 6e 20 |No" then| return |
|00005d00| 49 6e 73 74 61 6c 6c 4c | 6f 63 20 2d 2d c6 0d 65 |InstallL|oc --..e|
|00005d10| 6c 73 65 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |lse.lock| screen.|
|00005d20| 73 65 6e 64 20 22 64 65 | 6c 65 74 65 4d 65 20 6e |send "de|leteMe n|
|00005d30| 6f 53 6f 75 6e 64 22 20 | 74 6f 20 62 74 6e 20 42 |oSound" |to btn B|
|00005d40| 74 6e 49 6e 43 68 61 69 | 6e 0d 72 65 74 75 72 6e |tnInChai|n.return|
|00005d50| 20 4f 72 69 67 69 6e 61 | 6c 4c 6f 63 0d 65 6e 64 | Origina|lLoc.end|
|00005d60| 20 69 66 0d 65 6e 64 20 | 69 66 0d 72 65 74 75 72 | if.end |if.retur|
|00005d70| 6e 20 49 6e 73 74 61 6c | 6c 4c 6f 63 0d 65 6e 64 |n Instal|lLoc.end|
|00005d80| 20 43 6f 6d 70 75 74 65 | 4d 65 6d 6f 4c 6f 63 0d | Compute|MemoLoc.|
|00005d90| 0d 66 75 6e 63 74 69 6f | 6e 20 42 75 74 74 6f 6e |.functio|n Button|
|00005da0| 41 6c 72 65 61 64 79 54 | 68 65 72 65 20 74 68 65 |AlreadyT|here the|
|00005db0| 4c 6f 63 0d 69 66 20 6e | 6f 74 20 43 61 72 64 48 |Loc.if n|ot CardH|
|00005dc0| 61 73 53 6f 75 6e 64 73 | 28 29 20 74 68 65 6e 20 |asSounds|() then |
|00005dd0| 72 65 74 75 72 6e 20 30 | 0d 70 75 74 20 74 68 65 |return 0|.put the|
|00005de0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 62 74 6e 73 20 | number |of btns |
|00005df0| 69 6e 74 6f 20 4e 75 6d | 42 74 6e 73 0d 72 65 70 |into Num|Btns.rep|
|00005e00| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|00005e10| 6f 20 4e 75 6d 42 74 6e | 73 0d 69 66 20 6e 6f 74 |o NumBtn|s.if not|
|00005e20| 20 49 73 53 6f 75 6e 64 | 42 75 74 74 6f 6e 28 69 | IsSound|Button(i|
|00005e30| 29 20 74 68 65 6e 20 6e | 65 78 74 20 72 65 70 65 |) then n|ext repe|
|00005e40| 61 74 0d 69 66 20 74 68 | 65 4c 6f 63 20 69 73 20 |at.if th|eLoc is |
|00005e50| 77 69 74 68 69 6e 20 74 | 68 65 20 72 65 63 74 20 |within t|he rect |
|00005e60| 6f 66 20 62 74 6e 20 69 | 20 74 68 65 6e 20 72 65 |of btn i| then re|
|00005e70| 74 75 72 6e 20 69 0d 65 | 6e 64 20 72 65 70 65 61 |turn i.e|nd repea|
|00005e80| 74 0d 72 65 74 75 72 6e | 20 30 0d 65 6e 64 20 42 |t.return| 0.end B|
|00005e90| 75 74 74 6f 6e 41 6c 72 | 65 61 64 79 54 68 65 72 |uttonAlr|eadyTher|
|00005ea0| 65 0d 0d 6f 6e 20 6e 6f | 72 6d 61 6c 49 6e 73 74 |e..on no|rmalInst|
|00005eb0| 61 6c 6c 20 66 69 6c 65 | 4e 61 6d 65 0d 67 6c 6f |all file|Name.glo|
|00005ec0| 62 61 6c 20 68 65 6c 70 | 4d 49 74 65 6d 2c 20 70 |bal help|MItem, p|
|00005ed0| 72 6f 74 6f 4e 6f 72 6d | 61 6c 42 74 6e 53 63 72 |rotoNorm|alBtnScr|
|00005ee0| 69 70 74 2c 20 6c 61 73 | 74 42 75 74 74 6f 6e 0d |ipt, las|tButton.|
|00005ef0| 70 75 74 20 46 41 4c 53 | 45 20 69 6e 74 6f 20 6e |put FALS|E into n|
|00005f00| 6f 4e 65 77 42 75 74 74 | 6f 6e 0d 70 75 74 20 65 |oNewButt|on.put e|
|00005f10| 6d 70 74 79 20 69 6e 74 | 6f 20 70 72 65 76 42 74 |mpty int|o prevBt|
|00005f20| 6e 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 70 75 |n.lock s|creen.pu|
|00005f30| 74 20 66 69 6c 65 6e 61 | 6d 65 20 69 6e 74 6f 20 |t filena|me into |
|00005f40| 69 74 0d 69 66 20 63 68 | 61 72 20 31 20 6f 66 20 |it.if ch|ar 1 of |
|00005f50| 66 69 6c 65 4e 61 6d 65 | 20 3d 20 71 75 6f 74 65 |fileName| = quote|
|00005f60| 20 74 68 65 6e 0d 64 65 | 6c 65 74 65 20 74 68 65 | then.de|lete the|
|00005f70| 20 66 69 72 73 74 20 63 | 68 61 72 20 6f 66 20 66 | first c|har of f|
|00005f80| 69 6c 65 6e 61 6d 65 0d | 64 65 6c 65 74 65 20 74 |ilename.|delete t|
|00005f90| 68 65 20 6c 61 73 74 20 | 63 68 61 72 20 6f 66 20 |he last |char of |
|00005fa0| 66 69 6c 65 6e 61 6d 65 | 0d 65 6e 64 20 69 66 0d |filename|.end if.|
|00005fb0| 70 75 74 20 22 50 6c 61 | 79 22 20 26 26 20 66 69 |put "Pla|y" && fi|
|00005fc0| 6c 65 6e 61 6d 65 20 69 | 6e 74 6f 20 6e 65 77 4e |lename i|nto newN|
|00005fd0| 61 6d 65 20 20 2d 2d c6 | 0d 72 65 70 65 61 74 20 |ame --.|.repeat |
|00005fe0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 74 68 |with i =| 1 to th|
|00005ff0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 74 6e 73 |e number| of btns|
|00006000| 0d 67 65 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.get the| short n|
|00006010| 61 6d 65 20 6f 66 20 62 | 74 6e 20 69 0d 69 66 20 |ame of b|tn i.if |
|00006020| 69 74 20 69 73 20 6e 65 | 77 4e 61 6d 65 20 74 68 |it is ne|wName th|
|00006030| 65 6e 0d 70 75 74 20 54 | 52 55 45 20 69 6e 74 6f |en.put T|RUE into|
|00006040| 20 6e 6f 4e 65 77 42 75 | 74 74 6f 6e 0d 65 78 69 | noNewBu|tton.exi|
|00006050| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00006060| 69 66 20 74 68 65 20 66 | 69 72 73 74 20 77 6f 72 |if the f|irst wor|
|00006070| 64 20 6f 66 20 69 74 20 | 69 73 20 22 50 6c 61 79 |d of it |is "Play|
|00006080| 22 20 74 68 65 6e 20 2d | 2d c6 0d 70 75 74 20 69 |" then -|-..put i|
|00006090| 74 20 69 6e 74 6f 20 70 | 72 65 76 42 74 6e 0d 65 |t into p|revBtn.e|
|000060a0| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|000060b0| 0d 69 66 20 6e 6f 74 20 | 6e 6f 4e 65 77 42 75 74 |.if not |noNewBut|
|000060c0| 74 6f 6e 20 74 68 65 6e | 0d 67 65 74 20 74 68 65 |ton then|.get the|
|000060d0| 20 75 73 65 72 6c 65 76 | 65 6c 0d 73 65 74 20 74 | userlev|el.set t|
|000060e0| 68 65 20 75 73 65 72 6c | 65 76 65 6c 20 74 6f 20 |he userl|evel to |
|000060f0| 35 0d 64 6f 4d 65 6e 75 | 20 22 4e 65 77 20 42 75 |5.doMenu| "New Bu|
|00006100| 74 74 6f 6e 22 0d 73 65 | 74 20 74 68 65 20 75 73 |tton".se|t the us|
|00006110| 65 72 6c 65 76 65 6c 20 | 74 6f 20 69 74 0d 2d 2d |erlevel |to it.--|
|00006120| 20 73 65 74 20 61 74 74 | 72 69 62 75 74 65 73 20 | set att|ributes |
|00006130| 6f 66 20 6e 65 77 20 62 | 75 74 74 6f 6e 0d 73 65 |of new b|utton.se|
|00006140| 74 20 73 68 6f 77 4e 61 | 6d 65 20 6f 66 20 6c 61 |t showNa|me of la|
|00006150| 73 74 20 63 61 72 64 20 | 62 75 74 74 6f 6e 20 74 |st card |button t|
|00006160| 6f 20 74 72 75 65 0d 73 | 65 74 20 6e 61 6d 65 20 |o true.s|et name |
|00006170| 6f 66 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |of last |card but|
|00006180| 74 6f 6e 20 74 6f 20 6e | 65 77 4e 61 6d 65 0d 73 |ton to n|ewName.s|
|00006190| 65 74 20 61 75 74 6f 48 | 69 6c 69 74 65 20 6f 66 |et autoH|ilite of|
|000061a0| 20 6c 61 73 74 20 63 61 | 72 64 20 62 75 74 74 6f | last ca|rd butto|
|000061b0| 6e 20 74 6f 20 66 61 6c | 73 65 0d 67 65 74 20 6c |n to fal|se.get l|
|000061c0| 65 6e 67 74 68 28 6e 65 | 77 4e 61 6d 65 29 0d 73 |ength(ne|wName).s|
|000061d0| 65 74 20 77 69 64 74 68 | 20 6f 66 20 6c 61 73 74 |et width| of last|
|000061e0| 20 63 61 72 64 20 62 75 | 74 74 6f 6e 20 74 6f 20 | card bu|tton to |
|000061f0| 28 69 74 20 2a 20 38 29 | 0d 0d 70 75 74 20 70 72 |(it * 8)|..put pr|
|00006200| 6f 74 6f 4e 6f 72 6d 61 | 6c 42 74 6e 53 63 72 69 |otoNorma|lBtnScri|
|00006210| 70 74 20 69 6e 74 6f 20 | 62 74 6e 53 63 72 69 70 |pt into |btnScrip|
|00006220| 74 0d 67 65 74 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t.get nu|mber of |
|00006230| 77 6f 72 64 73 20 69 6e | 20 63 68 61 72 20 31 20 |words in| char 1 |
|00006240| 74 6f 20 6f 66 66 73 65 | 74 28 22 70 75 74 53 6f |to offse|t("putSo|
|00006250| 75 6e 64 4e 61 6d 65 48 | 65 72 65 22 2c 62 74 6e |undNameH|ere",btn|
|00006260| 53 63 72 69 70 74 29 20 | 6f 66 20 62 74 6e 53 63 |Script) |of btnSc|
|00006270| 72 69 70 74 0d 70 75 74 | 20 71 75 6f 74 65 20 26 |ript.put| quote &|
|00006280| 20 66 69 6c 65 4e 61 6d | 65 20 26 20 71 75 6f 74 | fileNam|e & quot|
|00006290| 65 20 69 6e 74 6f 20 77 | 6f 72 64 20 69 74 20 6f |e into w|ord it o|
|000062a0| 66 20 62 74 6e 73 63 72 | 69 70 74 0d 0d 73 65 74 |f btnscr|ipt..set|
|000062b0| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 74 | the scr|ipt of t|
|000062c0| 68 65 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |he last |card but|
|000062d0| 74 6f 6e 20 74 6f 20 62 | 74 6e 53 63 72 69 70 74 |ton to b|tnScript|
|000062e0| 0d 2d 2d 67 65 74 20 74 | 68 65 20 6c 6f 63 20 6f |.--get t|he loc o|
|000062f0| 66 20 74 68 65 20 6c 61 | 73 74 20 63 61 72 64 20 |f the la|st card |
|00006300| 62 75 74 74 6f 6e 0d 69 | 66 20 70 72 65 76 42 74 |button.i|f prevBt|
|00006310| 6e 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |n is not| empty t|
|00006320| 68 65 6e 0d 67 65 74 20 | 74 68 65 20 6c 6f 63 20 |hen.get |the loc |
|00006330| 6f 66 20 63 64 20 62 74 | 6e 20 70 72 65 76 42 74 |of cd bt|n prevBt|
|00006340| 6e 0d 61 64 64 20 34 20 | 74 6f 20 69 74 65 6d 20 |n.add 4 |to item |
|00006350| 31 20 6f 66 20 69 74 0d | 61 64 64 20 31 36 20 74 |1 of it.|add 16 t|
|00006360| 6f 20 69 74 65 6d 20 32 | 20 6f 66 20 69 74 0d 69 |o item 2| of it.i|
|00006370| 66 20 69 74 20 69 73 20 | 77 69 74 68 69 6e 20 72 |f it is |within r|
|00006380| 65 63 74 20 6f 66 20 74 | 68 69 73 20 63 64 20 74 |ect of t|his cd t|
|00006390| 68 65 6e 20 73 65 74 20 | 74 68 65 20 6c 6f 63 20 |hen set |the loc |
|000063a0| 6f 66 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |of last |card but|
|000063b0| 74 6f 6e 20 74 6f 20 69 | 74 0d 65 6c 73 65 0d 73 |ton to i|t.else.s|
|000063c0| 65 74 20 74 68 65 20 6c | 65 66 74 20 6f 66 20 6c |et the l|eft of l|
|000063d0| 61 73 74 20 62 74 6e 20 | 74 6f 20 30 0d 73 65 74 |ast btn |to 0.set|
|000063e0| 20 74 68 65 20 74 6f 70 | 20 6f 66 20 6c 61 73 74 | the top| of last|
|000063f0| 20 62 74 6e 20 74 6f 20 | 30 0d 65 6e 64 20 69 66 | btn to |0.end if|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.