home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Demos / D-Day / Home < prev    next >
MacBinary  |  1994-03-31  |  49.5 KB  |  [STAK/WILD]

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Home

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
100% file TTComp archive data, binary, 1K dictionary default (weak)
99% file MacBinary II, inited, Mon May 13 06:15:00 1991, modified Thu Mar 31 12:07:05 1994, creator HyperCard, type HyperCard stack, 49152 bytes "Home" , at 0xc080 1353 bytes resource default (weak)
98% file data default
49% TrID Mac HyperCard stack (MacBinary) default
33% TrID TTComp archive compressed (bin-1K) default (weak)
16% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 04 48 6f 6d 65 00 00 | 00 00 00 00 00 00 00 00 |..Home..|........|
|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 00 c0 00 00 | 00 05 49 a4 54 17 a4 a9 |........|..I.T...|
|00000060| c0 b3 b9 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 0f 83 00 00 |........|........|
|00000080| 00 00 36 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..6.STAK|........|
|00000090| 00 00 00 0a 00 00 c0 00 | 00 00 36 00 00 00 00 00 |........|..6.....|
|000000a0| 00 00 00 00 00 00 00 03 | 00 00 0a 9d 00 00 00 05 |........|........|
|000000b0| 00 00 0f 4c 00 00 13 40 | 00 00 00 05 00 00 10 00 |...L...@|........|
|000000c0| 00 00 0b e5 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| 01 22 20 13 02 10 80 00 | 02 10 80 00 02 10 80 00 |." .....|........|
|000000f0| de e8 ec e7 00 00 00 00 | 00 58 01 30 01 78 02 70 |........|.X.0.x.p|
|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 14 05 00 00 12 c2 | 01 20 01 40 00 00 00 00 |........|. .@....|
|00000240| 25 48 44 3a 2e 44 65 76 | 65 6c 6f 70 69 6e 67 20 |%HD:.Dev|eloping |
|00000250| 53 74 61 63 6b 73 3a 48 | 6f 6d 65 20 53 6d 61 6c |Stacks:H|ome Smal|
|00000260| 6c 3a 48 6f 6d 65 de fc | 00 0a 4e d0 4e 56 00 00 |l:Home..|..N.NV..|
|00000270| 48 e7 00 18 26 6e 00 08 | 28 6b 00 08 70 ff 27 40 |H...&n..|(k..p.'@|
|00000280| ff f8 0c 6e 08 00 00 0c | 5c c0 0c 6e 08 0f 00 0c |...n....|\..n....|
|00000290| 5f c1 c0 01 44 00 19 40 | ff d6 66 12 42 a7 1f 3c |_...D..@|..f.B..<|
|000002a0| 00 01 1f 3c 00 01 4e ad | 20 ca 27 5f ff f8 4c df |...<..N.| .'_..L.|
|000002b0| 18 00 4e 5e 80 10 00 02 | 6f 7c 00 1d 5e 5c 00 06 |..N^....|o|..^\..|
|000002c0| 3e 34 00 5c 01 00 00 00 | 00 01 00 1d a8 00 80 10 |>4.\....|........|
|000002d0| ff fc fe d2 10 2d a2 de | 0a 00 00 01 c0 2c 00 00 |.....-..|.....,..|
|000002e0| 00 08 00 1d af 92 00 00 | 00 14 00 00 01 0e 00 8c |........|........|
|000002f0| 00 1d 5e 84 00 06 40 06 | 00 06 40 06 01 00 29 48 |..^...@.|..@...)H|
|00000300| ff d2 42 a7 4e ad 13 5a | 29 5f fe ce 41 ec 00 14 |..B.N..Z|)_..A...|
|00000310| 43 fa 01 ae 70 03 b1 09 | 00 1d 5e 98 00 06 3d 72 |C...p...|..^...=r|
|00000320| 00 06 3d 72 01 00 80 10 | 00 02 a8 5e 00 1d 5e ca |..=r....|...^..^.|
|00000330| 00 06 3f a0 00 06 01 00 | 00 1d a8 00 80 10 00 02 |..?.....|........|
|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 | 10 02 40 08 01 20 04 80 |."."."."|..@.. ..|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.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| 08 1c 22 c1 80 01 02 04 | 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 38 00 00 00 06 80 | 00 00 91 00 00 00 01 e0 |..8.....|........|
|00000490| 00 00 94 c0 00 00 01 e0 | 00 00 ac a0 00 00 02 40 |........|.......@|
|000004a0| 00 00 b3 e0 00 00 03 80 | 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 | 53 6d 61 6c 6c 20 48 6f |........|Small Ho|
|000006d0| 6d 65 20 53 74 61 63 6b | 0d 56 65 72 73 69 6f 6e |me Stack|.Version|
|000006e0| 20 32 2e 31 0d 0d a9 43 | 6f 70 79 72 69 67 68 74 | 2.1...C|opyright|
|000006f0| 20 31 39 38 37 2d 31 39 | 39 31 20 62 79 20 41 70 | 1987-19|91 by Ap|
|00000700| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|00000710| 63 2e 0d 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |c..All R|ights Re|
|00000720| 73 65 72 76 65 64 2e 0d | 0d 54 48 45 20 4d 45 53 |served..|.THE MES|
|00000730| 53 41 47 45 20 48 41 4e | 44 4c 45 52 53 20 55 53 |SAGE HAN|DLERS US|
|00000740| 45 44 20 49 4e 20 54 48 | 49 53 20 53 43 52 49 50 |ED IN TH|IS SCRIP|
|00000750| 54 3a 0d 73 74 61 72 74 | 55 70 2c 67 65 74 48 6f |T:.start|Up,getHo|
|00000760| 6d 65 49 6e 66 6f 2c 72 | 65 73 75 6d 65 2c 63 72 |meInfo,r|esume,cr|
|00000770| 65 61 74 65 54 68 65 4d | 65 6e 75 73 2c 68 65 6c |eateTheM|enus,hel|
|00000780| 70 2c 68 79 70 65 72 54 | 61 6c 6b 0d 6e 61 76 2c |p,hyperT|alk.nav,|
|00000790| 63 2c 62 2c 73 2c 6d 77 | 2c 76 77 2c 73 65 2c 73 |c,b,s,mw|,vw,se,s|
|000007a0| 73 2c 78 79 2c 64 69 73 | 61 6c 6c 6f 77 49 6e 74 |s,xy,dis|allowInt|
|000007b0| 65 72 72 75 70 74 69 6f | 6e 2c 61 6c 6c 6f 77 49 |erruptio|n,allowI|
|000007c0| 6e 74 65 72 72 75 70 74 | 69 6f 6e 0d 73 65 74 55 |nterrupt|ion.setU|
|000007d0| 73 65 72 4c 65 76 65 6c | 46 69 76 65 2c 72 65 73 |serLevel|Five,res|
|000007e0| 74 6f 72 65 55 73 65 72 | 4c 65 76 65 6c 2c 73 65 |toreUser|Level,se|
|000007f0| 61 72 63 68 53 63 72 69 | 70 74 2c 63 68 65 63 6b |archScri|pt,check|
|00000800| 46 6f 72 4d 69 73 73 69 | 6e 67 46 6f 6e 74 73 0d |ForMissi|ngFonts.|
|00000810| 0d 54 48 45 20 46 55 4e | 43 54 49 4f 4e 20 48 41 |.THE FUN|CTION HA|
|00000820| 4e 44 4c 45 52 53 20 55 | 53 45 44 20 49 4e 20 54 |NDLERS U|SED IN T|
|00000830| 48 49 53 20 53 43 52 49 | 50 54 3a 0d 68 6f 6d 65 |HIS SCRI|PT:.home|
|00000840| 4d 65 6e 75 49 74 65 6d | 73 2c 68 6f 6d 65 4d 65 |MenuItem|s,homeMe|
|00000850| 6e 75 4d 73 67 73 2c 6c | 61 73 74 48 43 49 74 65 |nuMsgs,l|astHCIte|
|00000860| 6d 2c 63 68 65 63 6b 48 | 43 46 6f 6e 74 0d 0d 58 |m,checkH|CFont..X|
|00000870| 43 4d 44 27 53 20 55 53 | 45 44 20 42 59 20 54 48 |CMD'S US|ED BY TH|
|00000880| 49 53 20 53 43 52 49 50 | 54 3a 0d 46 6f 6e 74 45 |IS SCRIP|T:.FontE|
|00000890| 78 69 73 74 73 20 58 46 | 43 4e 0d 46 6f 72 6d 3a |xists XF|CN.Form:|
|000008a0| 20 46 6f 6e 74 45 78 69 | 73 74 73 28 3c 66 6f 6e | FontExi|sts(<fon|
|000008b0| 74 20 6e 61 6d 65 3e 2c | 3c 70 6f 69 6e 74 20 73 |t name>,|<point s|
|000008c0| 69 7a 65 3e 29 0d 49 74 | 20 72 65 74 75 72 6e 73 |ize>).It| returns|
|000008d0| 20 74 72 75 65 20 69 66 | 20 74 68 65 20 66 6f 6e | true if| the fon|
|000008e0| 74 2f 70 6f 69 6e 74 20 | 73 69 7a 65 20 69 73 20 |t/point |size is |
|000008f0| 69 6e 73 74 61 6c 6c 65 | 64 20 6f 72 20 66 61 6c |installe|d or fal|
|00000900| 73 65 20 69 66 20 6e 6f | 74 2e 0d 0d 22 2d 2d c6 |se if no|t..."--.|
|00000910| 22 20 69 6e 64 69 63 61 | 74 65 73 20 73 74 72 69 |" indica|tes stri|
|00000920| 6e 67 73 20 77 68 69 63 | 68 20 77 69 6c 6c 20 6e |ngs whic|h will n|
|00000930| 65 65 64 20 6c 6f 63 61 | 6c 69 7a 61 74 69 6f 6e |eed loca|lization|
|00000940| 0d b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000950| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000960| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000970| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000980| b0 b0 b0 b0 b0 b0 b0 b0 | 0d 0d 2d 2d 2d 2d 2d 20 |........|..----- |
|00000990| 20 53 74 61 72 74 75 70 | 2f 52 65 73 75 6d 65 20 | Startup|/Resume |
|000009a0| 53 63 72 69 70 74 73 3a | 20 20 2d 2d 2d 2d 2d 2d |Scripts:| ------|
|000009b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000009d0| 2d 2d 2d 2d 2d 2d 2d 0d | 0d 6f 6e 20 73 74 61 72 |-------.|.on star|
|000009e0| 74 55 70 0d 73 65 74 20 | 75 73 65 72 6c 65 76 65 |tUp.set |userleve|
|000009f0| 6c 20 74 6f 20 35 0d 2d | 2d 20 52 65 71 75 69 72 |l to 5.-|- Requir|
|00000a00| 65 73 20 68 61 6e 64 6c | 65 72 3a 20 67 65 74 48 |es handl|er: getH|
|00000a10| 6f 6d 65 49 6e 66 6f 2c | 63 68 65 63 6b 46 6f 72 |omeInfo,|checkFor|
|00000a20| 4d 69 73 73 69 6e 67 46 | 6f 6e 74 73 0d 2d 2d 20 |MissingF|onts.-- |
|00000a30| 67 65 74 73 20 61 6e 64 | 20 73 65 74 73 20 74 68 |gets and| sets th|
|00000a40| 65 20 75 73 65 72 27 73 | 20 70 72 65 66 65 72 65 |e user's| prefere|
|00000a50| 6e 63 65 73 0d 67 65 74 | 48 6f 6d 65 49 6e 66 6f |nces.get|HomeInfo|
|00000a60| 0d 2d 2d 20 61 75 64 69 | 6f 20 50 61 6c 65 74 74 |.-- audi|o Palett|
|00000a70| 65 20 73 74 61 72 74 75 | 70 0d 69 66 20 74 68 65 |e startu|p.if the|
|00000a80| 72 65 20 69 73 20 61 20 | 73 74 61 63 6b 20 22 41 |re is a |stack "A|
|00000a90| 75 64 69 6f 20 48 65 6c | 70 22 20 74 68 65 6e 20 |udio Hel|p" then |
|00000aa0| 2d 2d 20 c6 0d 73 74 61 | 72 74 20 75 73 69 6e 67 |-- ..sta|rt using|
|00000ab0| 20 73 74 61 63 6b 20 22 | 41 75 64 69 6f 20 48 65 | stack "|Audio He|
|00000ac0| 6c 70 22 20 2d 2d 20 c6 | 0d 73 65 6e 64 20 22 73 |lp" -- .|.send "s|
|00000ad0| 74 61 72 74 53 6f 75 6e | 64 22 20 74 6f 20 73 74 |tartSoun|d" to st|
|00000ae0| 61 63 6b 20 22 41 75 64 | 69 6f 20 48 65 6c 70 22 |ack "Aud|io Help"|
|00000af0| 20 2d 2d 20 c6 0d 65 6e | 64 20 69 66 0d 63 68 65 | -- ..en|d if.che|
|00000b00| 63 6b 46 6f 72 4d 69 73 | 73 69 6e 67 46 6f 6e 74 |ckForMis|singFont|
|00000b10| 73 0d 69 66 20 74 68 65 | 20 6f 70 74 69 6f 6e 4b |s.if the| optionK|
|00000b20| 65 79 20 69 73 20 6e 6f | 74 20 64 6f 77 6e 20 74 |ey is no|t down t|
|00000b30| 68 65 6e 20 77 73 4f 6e | 20 2d 2d a5 20 57 69 6e |hen wsOn| --. Win|
|00000b40| 64 6f 77 53 63 72 69 70 | 74 20 a5 2d 2d 0d 70 61 |dowScrip|t .--.pa|
|00000b50| 73 73 20 73 74 61 72 74 | 55 70 0d 65 6e 64 20 73 |ss start|Up.end s|
|00000b60| 74 61 72 74 55 70 0d 0d | 6f 6e 20 77 73 4f 6e 0d |tartUp..|on wsOn.|
|00000b70| 73 74 61 72 74 20 75 73 | 69 6e 67 20 73 74 61 63 |start us|ing stac|
|00000b80| 6b 20 22 57 69 6e 64 6f | 77 53 63 72 69 70 74 aa |k "Windo|wScript.|
|00000b90| 20 31 2e 30 2e 33 22 0d | 69 66 20 74 68 65 20 72 | 1.0.3".|if the r|
|00000ba0| 65 73 75 6c 74 20 69 73 | 20 65 6d 70 74 79 20 74 |esult is| empty t|
|00000bb0| 68 65 6e 20 49 6e 73 74 | 61 6c 6c 57 53 0d 65 6e |hen Inst|allWS.en|
|00000bc0| 64 20 77 73 4f 6e 0d 0d | 6f 6e 20 77 73 4f 66 66 |d wsOn..|on wsOff|
|00000bd0| 0d 69 66 20 76 61 6c 75 | 65 20 6f 66 20 77 6f 72 |.if valu|e of wor|
|00000be0| 64 20 32 20 6f 66 20 6c | 6f 6e 67 20 6e 61 6d 65 |d 2 of l|ong name|
|00000bf0| 20 6f 66 20 73 74 61 63 | 6b 20 22 57 69 6e 64 6f | of stac|k "Windo|
|00000c00| 77 53 63 72 69 70 74 aa | 20 31 2e 30 2e 33 22 20 |wScript.| 1.0.3" |
|00000c10| 69 73 20 69 6e 20 74 68 | 65 20 73 74 61 63 6b 73 |is in th|e stacks|
|00000c20| 69 6e 75 73 65 20 74 68 | 65 6e 0d 64 65 69 6e 73 |inuse th|en.deins|
|00000c30| 74 61 6c 6c 57 53 0d 73 | 74 6f 70 20 75 73 69 6e |tallWS.s|top usin|
|00000c40| 67 20 73 74 61 63 6b 20 | 22 57 69 6e 64 6f 77 53 |g stack |"WindowS|
|00000c50| 63 72 69 70 74 aa 20 31 | 2e 30 2e 33 22 0d 65 6e |cript. 1|.0.3".en|
|00000c60| 64 20 69 66 0d 65 6e 64 | 20 77 73 4f 66 66 0d 0d |d if.end| wsOff..|
|00000c70| 6f 6e 20 67 65 74 48 6f | 6d 65 49 6e 66 6f 0d 2d |on getHo|meInfo.-|
|00000c80| 2d 20 4e 65 65 64 73 3a | 20 55 73 65 72 20 70 72 |- Needs:| User pr|
|00000c90| 65 66 65 72 65 6e 63 65 | 73 20 63 61 72 64 20 6f |eference|s card o|
|00000ca0| 66 20 74 68 65 20 68 6f | 6d 65 20 73 74 61 63 6b |f the ho|me stack|
|00000cb0| 0d 2d 2d 20 63 6f 6e 66 | 69 67 75 72 65 73 20 48 |.-- conf|igures H|
|00000cc0| 79 70 65 72 43 61 72 64 | 20 74 6f 20 74 68 65 20 |yperCard| to the |
|00000cd0| 75 73 65 72 20 73 70 65 | 63 69 66 69 65 64 20 70 |user spe|cified p|
|00000ce0| 72 65 66 65 72 65 6e 63 | 65 73 0d 67 6c 6f 62 61 |referenc|es.globa|
|00000cf0| 6c 20 53 74 61 63 6b 73 | 2c 41 70 70 6c 69 63 61 |l Stacks|,Applica|
|00000d00| 74 69 6f 6e 73 2c 44 6f | 63 75 6d 65 6e 74 73 2c |tions,Do|cuments,|
|00000d10| 55 73 65 72 4e 61 6d 65 | 0d 69 66 20 73 68 6f 72 |UserName|.if shor|
|00000d20| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 73 |t name o|f this s|
|00000d30| 74 61 63 6b 20 69 73 20 | 6e 6f 74 20 22 48 6f 6d |tack is |not "Hom|
|00000d40| 65 22 20 74 68 65 6e 20 | 2d 2d 20 c6 0d 6c 6f 63 |e" then |-- ..loc|
|00000d50| 6b 20 73 63 72 65 65 6e | 0d 73 65 74 20 6c 6f 63 |k screen|.set loc|
|00000d60| 6b 52 65 63 65 6e 74 20 | 74 6f 20 74 72 75 65 0d |kRecent |to true.|
|00000d70| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|00000d80| 20 74 6f 20 74 72 75 65 | 0d 70 75 73 68 20 74 68 | to true|.push th|
|00000d90| 69 73 20 63 61 72 64 20 | 2d 2d 20 72 65 6d 65 6d |is card |-- remem|
|00000da0| 62 65 72 20 77 68 65 72 | 65 20 77 65 20 61 72 65 |ber wher|e we are|
|00000db0| 0d 67 6f 20 68 6f 6d 65 | 20 2d 2d 20 77 69 6c 6c |.go home| -- will|
|00000dc0| 20 74 61 6b 65 20 75 73 | 20 74 6f 20 74 68 65 20 | take us| to the |
|00000dd0| 68 6f 6d 65 20 73 74 61 | 63 6b 20 69 6e 20 63 61 |home sta|ck in ca|
|00000de0| 73 65 20 77 65 27 72 65 | 20 6e 6f 74 20 74 68 65 |se we're| not the|
|00000df0| 72 65 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |re.put f|alse int|
|00000e00| 6f 20 73 74 61 63 6b 49 | 73 48 6f 6d 65 0d 65 6c |o stackI|sHome.el|
|00000e10| 73 65 20 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |se put t|rue into|
|00000e20| 20 73 74 61 63 6b 49 73 | 48 6f 6d 65 0d 70 75 74 | stackIs|Home.put|
|00000e30| 20 28 63 64 20 66 6c 64 | 20 22 55 73 65 72 20 4e | (cd fld| "User N|
|00000e40| 61 6d 65 22 20 6f 66 20 | 63 64 20 22 55 73 65 72 |ame" of |cd "User|
|00000e50| 20 50 72 65 66 65 72 65 | 6e 63 65 73 22 29 20 69 | Prefere|nces") i|
|00000e60| 6e 74 6f 20 55 73 65 72 | 4e 61 6d 65 0d 73 65 74 |nto User|Name.set|
|00000e70| 20 74 68 65 20 75 73 65 | 72 4c 65 76 65 6c 20 74 | the use|rLevel t|
|00000e80| 6f 20 63 64 20 66 6c 64 | 20 22 55 73 65 72 20 4c |o cd fld| "User L|
|00000e90| 65 76 65 6c 22 20 6f 66 | 20 63 64 20 22 55 73 65 |evel" of| cd "Use|
|00000ea0| 72 20 50 72 65 66 65 72 | 65 6e 63 65 73 22 20 2d |r Prefer|ences" -|
|00000eb0| 2d 20 68 69 64 64 65 6e | 20 66 69 65 6c 64 0d 73 |- hidden| field.s|
|00000ec0| 65 74 20 74 68 65 20 70 | 6f 77 65 72 4b 65 79 73 |et the p|owerKeys|
|00000ed0| 20 74 6f 20 68 69 6c 69 | 74 65 20 6f 66 20 63 64 | to hili|te of cd|
|00000ee0| 20 62 74 6e 20 69 64 20 | 33 20 6f 66 20 63 64 20 | btn id |3 of cd |
|00000ef0| 22 55 73 65 72 20 50 72 | 65 66 65 72 65 6e 63 65 |"User Pr|eference|
|00000f00| 73 22 20 2d 2d 20 50 6f | 77 65 72 20 4b 65 79 73 |s" -- Po|wer Keys|
|00000f10| 0d 73 65 74 20 74 68 65 | 20 74 65 78 74 41 72 72 |.set the| textArr|
|00000f20| 6f 77 73 20 74 6f 20 68 | 69 6c 69 74 65 20 6f 66 |ows to h|ilite of|
|00000f30| 20 63 64 20 62 74 6e 20 | 69 64 20 32 20 6f 66 20 | cd btn |id 2 of |
|00000f40| 63 64 20 22 55 73 65 72 | 20 50 72 65 66 65 72 65 |cd "User| Prefere|
|00000f50| 6e 63 65 73 22 20 2d 2d | 20 41 72 72 6f 77 20 6b |nces" --| Arrow k|
|00000f60| 65 79 73 20 69 6e 20 74 | 65 78 74 0d 73 65 74 20 |eys in t|ext.set |
|00000f70| 74 68 65 20 62 6c 69 6e | 64 54 79 70 69 6e 67 20 |the blin|dTyping |
|00000f80| 74 6f 20 68 69 6c 69 74 | 65 20 6f 66 20 63 64 20 |to hilit|e of cd |
|00000f90| 62 74 6e 20 69 64 20 31 | 20 6f 66 20 63 64 20 22 |btn id 1| of cd "|
|00000fa0| 55 73 65 72 20 50 72 65 | 66 65 72 65 6e 63 65 73 |User Pre|ferences|
|00000fb0| 22 20 2d 2d 20 42 6c 69 | 6e 64 20 54 79 70 69 6e |" -- Bli|nd Typin|
|00000fc0| 67 0d 2d 2d 20 6c 6f 61 | 64 20 74 68 65 20 73 65 |g.-- loa|d the se|
|00000fd0| 61 72 63 68 20 70 61 74 | 68 20 67 6c 6f 62 61 6c |arch pat|h global|
|00000fe0| 73 0d 70 75 74 20 62 67 | 20 66 6c 64 20 22 50 61 |s.put bg| fld "Pa|
|00000ff0| 74 68 73 22 20 6f 66 20 | 63 64 20 22 53 74 61 63 |ths" of |cd "Stac|
|00001000| 6b 73 22 20 6f 66 20 62 | 67 20 22 50 61 74 68 73 |ks" of b|g "Paths|
|00001010| 22 20 69 6e 74 6f 20 53 | 74 61 63 6b 73 0d 70 75 |" into S|tacks.pu|
|00001020| 74 20 62 67 20 66 6c 64 | 20 22 50 61 74 68 73 22 |t bg fld| "Paths"|
|00001030| 20 6f 66 20 63 64 20 22 | 41 70 70 6c 69 63 61 74 | of cd "|Applicat|
|00001040| 69 6f 6e 73 22 20 6f 66 | 20 62 67 20 22 50 61 74 |ions" of| bg "Pat|
|00001050| 68 73 22 20 69 6e 74 6f | 20 41 70 70 6c 69 63 61 |hs" into| Applica|
|00001060| 74 69 6f 6e 73 0d 70 75 | 74 20 62 67 20 66 6c 64 |tions.pu|t bg fld|
|00001070| 20 22 50 61 74 68 73 22 | 20 6f 66 20 63 64 20 22 | "Paths"| of cd "|
|00001080| 44 6f 63 75 6d 65 6e 74 | 73 22 20 6f 66 20 62 67 |Document|s" of bg|
|00001090| 20 22 50 61 74 68 73 22 | 20 69 6e 74 6f 20 44 6f | "Paths"| into Do|
|000010a0| 63 75 6d 65 6e 74 73 0d | 69 66 20 6e 6f 74 20 73 |cuments.|if not s|
|000010b0| 74 61 63 6b 49 73 48 6f | 6d 65 20 74 68 65 6e 0d |tackIsHo|me then.|
|000010c0| 70 6f 70 20 63 61 72 64 | 20 2d 2d 20 72 65 74 75 |pop card| -- retu|
|000010d0| 72 6e 20 74 6f 20 77 68 | 65 72 65 20 77 65 20 77 |rn to wh|ere we w|
|000010e0| 65 72 65 0d 73 65 74 20 | 6c 6f 63 6b 52 65 63 65 |ere.set |lockRece|
|000010f0| 6e 74 20 74 6f 20 66 61 | 6c 73 65 20 2d 2d 20 63 |nt to fa|lse -- c|
|00001100| 6c 65 61 6e 20 75 70 20 | 66 6f 72 20 65 78 69 74 |lean up |for exit|
|00001110| 0d 73 65 74 20 6c 6f 63 | 6b 4d 65 73 73 61 67 65 |.set loc|kMessage|
|00001120| 73 20 74 6f 20 66 61 6c | 73 65 0d 75 6e 6c 6f 63 |s to fal|se.unloc|
|00001130| 6b 20 73 63 72 65 65 6e | 0d 65 6e 64 20 69 66 0d |k screen|.end if.|
|00001140| 65 6e 64 20 67 65 74 48 | 6f 6d 65 49 6e 66 6f 0d |end getH|omeInfo.|
|00001150| 0d 6f 6e 20 72 65 73 75 | 6d 65 0d 2d 2d 20 52 65 |.on resu|me.-- Re|
|00001160| 71 75 69 72 65 73 20 68 | 61 6e 64 6c 65 72 3a 20 |quires h|andler: |
|00001170| 67 65 74 48 6f 6d 65 49 | 6e 66 6f 0d 2d 2d 20 67 |getHomeI|nfo.-- g|
|00001180| 65 74 73 20 61 6e 64 20 | 73 65 74 73 20 75 73 65 |ets and |sets use|
|00001190| 72 20 70 72 65 66 65 72 | 65 6e 63 65 73 20 75 70 |r prefer|ences up|
|000011a0| 6f 6e 20 72 65 74 75 72 | 6e 69 6e 67 0d 67 65 74 |on retur|ning.get|
|000011b0| 48 6f 6d 65 49 6e 66 6f | 0d 70 61 73 73 20 72 65 |HomeInfo|.pass re|
|000011c0| 73 75 6d 65 20 2d 2d 20 | 73 6f 20 6f 74 68 65 72 |sume -- |so other|
|000011d0| 73 20 63 61 6e 20 75 73 | 65 20 69 74 0d 65 6e 64 |s can us|e it.end|
|000011e0| 20 72 65 73 75 6d 65 0d | 0d 2d 2d 2d 2d 2d 20 20 | resume.|.----- |
|000011f0| 4d 65 6e 75 20 53 63 72 | 69 70 74 3a 20 20 2d 2d |Menu Scr|ipt: --|
|00001200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001210| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001220| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 6f 6e 20 |--------|---..on |
|00001230| 63 72 65 61 74 65 54 68 | 65 4d 65 6e 75 73 20 72 |createTh|eMenus r|
|00001240| 65 73 75 6d 69 6e 67 0d | 2d 2d 20 52 65 71 75 69 |esuming.|-- Requi|
|00001250| 72 65 73 20 66 75 6e 63 | 74 69 6f 6e 20 68 61 6e |res func|tion han|
|00001260| 64 6c 65 72 73 3a 20 68 | 6f 6d 65 4d 65 6e 75 49 |dlers: h|omeMenuI|
|00001270| 74 65 6d 73 2c 68 6f 6d | 65 4d 65 6e 75 4d 73 67 |tems,hom|eMenuMsg|
|00001280| 73 0d 2d 2d 20 63 72 65 | 61 74 65 73 20 74 68 65 |s.-- cre|ates the|
|00001290| 20 22 48 6f 6d 65 22 20 | 6d 65 6e 75 20 2d 20 63 | "Home" |menu - c|
|000012a0| 61 6c 6c 65 64 20 66 72 | 6f 6d 20 74 68 65 20 62 |alled fr|om the b|
|000012b0| 6b 67 6e 64 73 20 6f 66 | 20 74 68 69 73 20 73 74 |kgnds of| this st|
|000012c0| 61 63 6b 0d 69 66 20 72 | 65 73 75 6d 69 6e 67 20 |ack.if r|esuming |
|000012d0| 69 73 20 22 74 72 75 65 | 22 20 61 6e 64 20 22 48 |is "true|" and "H|
|000012e0| 6f 6d 65 22 20 69 73 20 | 69 6e 20 74 68 65 20 6d |ome" is |in the m|
|000012f0| 65 6e 75 73 20 2d 2d 20 | c6 0d 74 68 65 6e 20 64 |enus -- |..then d|
|00001300| 65 6c 65 74 65 20 6d 65 | 6e 75 20 22 48 6f 6d 65 |elete me|nu "Home|
|00001310| 22 20 2d 2d 20 c6 20 6e | 6f 74 20 6f 75 72 20 6d |" -- . n|ot our m|
|00001320| 65 6e 75 0d 69 66 20 22 | 48 6f 6d 65 22 20 69 73 |enu.if "|Home" is|
|00001330| 20 69 6e 20 74 68 65 20 | 6d 65 6e 75 73 20 74 68 | in the |menus th|
|00001340| 65 6e 20 65 78 69 74 20 | 63 72 65 61 74 65 54 68 |en exit |createTh|
|00001350| 65 4d 65 6e 75 73 20 2d | 2d 20 c6 ca 6e 6f 20 6e |eMenus -|- ..no n|
|00001360| 65 65 64 20 69 66 20 74 | 68 65 72 65 20 61 6c 72 |eed if t|here alr|
|00001370| 65 61 64 79 0d 73 68 6f | 77 20 6d 65 6e 75 42 61 |eady.sho|w menuBa|
|00001380| 72 20 2d 2d 20 6a 75 73 | 74 20 69 6e 20 63 61 73 |r -- jus|t in cas|
|00001390| 65 20 69 74 27 73 20 68 | 69 64 64 65 6e 0d 63 72 |e it's h|idden.cr|
|000013a0| 65 61 74 65 20 6d 65 6e | 75 20 22 48 6f 6d 65 22 |eate men|u "Home"|
|000013b0| 20 2d 2d 20 c6 0d 70 75 | 74 20 68 6f 6d 65 4d 65 | -- ..pu|t homeMe|
|000013c0| 6e 75 49 74 65 6d 73 28 | 29 20 69 6e 74 6f 20 6d |nuItems(|) into m|
|000013d0| 65 6e 75 20 22 48 6f 6d | 65 22 20 77 69 74 68 20 |enu "Hom|e" with |
|000013e0| 6d 65 6e 75 4d 73 67 20 | 68 6f 6d 65 4d 65 6e 75 |menuMsg |homeMenu|
|000013f0| 4d 73 67 73 28 29 20 2d | 2d 20 c6 0d 65 6e 64 20 |Msgs() -|- ..end |
|00001400| 63 72 65 61 74 65 54 68 | 65 4d 65 6e 75 73 0d 0d |createTh|eMenus..|
|00001410| 66 75 6e 63 74 69 6f 6e | 20 68 6f 6d 65 4d 65 6e |function| homeMen|
|00001420| 75 49 74 65 6d 73 20 2d | 2d 20 c6 0d 72 65 74 75 |uItems -|- ..retu|
|00001430| 72 6e 20 22 4e 65 77 20 | 4c 69 6e 6b 20 74 6f 20 |rn "New |Link to |
|00001440| 53 74 61 63 6b 2e 2e 2e | 2c 4e 65 77 20 4c 69 6e |Stack...|,New Lin|
|00001450| 6b 20 74 6f 20 41 70 70 | 6c 69 63 61 74 69 6f 6e |k to App|lication|
|00001460| 2e 2e 2e 2c 22 20 26 20 | c2 0d 22 4e 65 77 20 4c |...," & |.."New L|
|00001470| 69 6e 6b 20 74 6f 20 44 | 6f 63 75 6d 65 6e 74 2e |ink to D|ocument.|
|00001480| 2e 2e 2c 2d 2c 48 6f 6d | 65 20 43 61 72 64 2c 50 |..,-,Hom|e Card,P|
|00001490| 72 65 66 65 72 65 6e 63 | 65 73 2c 53 65 61 72 63 |referenc|es,Searc|
|000014a0| 68 20 50 61 74 68 73 22 | 0d 65 6e 64 20 68 6f 6d |h Paths"|.end hom|
|000014b0| 65 4d 65 6e 75 49 74 65 | 6d 73 0d 0d 66 75 6e 63 |eMenuIte|ms..func|
|000014c0| 74 69 6f 6e 20 68 6f 6d | 65 4d 65 6e 75 4d 73 67 |tion hom|eMenuMsg|
|000014d0| 73 0d 72 65 74 75 72 6e | 20 22 4e 65 77 4c 69 6e |s.return| "NewLin|
|000014e0| 6b 20 73 74 61 63 6b 2c | 4e 65 77 4c 69 6e 6b 20 |k stack,|NewLink |
|000014f0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2c 4e 65 77 4c |applicat|ion,NewL|
|00001500| 69 6e 6b 20 64 6f 63 75 | 6d 65 6e 74 2c 22 20 26 |ink docu|ment," &|
|00001510| 20 c2 0d 22 65 6d 70 74 | 79 2c 67 6f 20 66 69 72 | .."empt|y,go fir|
|00001520| 73 74 20 63 61 72 64 20 | 6f 66 20 62 67 22 20 26 |st card |of bg" &|
|00001530| 26 20 71 75 6f 74 65 20 | 26 20 22 48 6f 6d 65 20 |& quote |& "Home |
|00001540| 43 61 72 64 73 22 20 26 | 20 71 75 6f 74 65 20 26 |Cards" &| quote &|
|00001550| 26 20 c2 0d 22 2c 67 6f | 20 63 61 72 64 22 20 26 |& ..",go| card" &|
|00001560| 26 20 71 75 6f 74 65 20 | 26 20 22 55 73 65 72 20 |& quote |& "User |
|00001570| 50 72 65 66 65 72 65 6e | 63 65 73 22 20 26 20 71 |Preferen|ces" & q|
|00001580| 75 6f 74 65 20 26 20 c2 | 0d 22 2c 67 6f 20 63 61 |uote & .|.",go ca|
|00001590| 72 64 22 20 26 26 20 71 | 75 6f 74 65 20 26 20 22 |rd" && q|uote & "|
|000015a0| 53 74 61 63 6b 73 22 20 | 26 20 71 75 6f 74 65 0d |Stacks" |& quote.|
|000015b0| 65 6e 64 20 68 6f 6d 65 | 4d 65 6e 75 4d 73 67 73 |end home|MenuMsgs|
|000015c0| 0d 0d 2d 2d 2d 2d 2d 20 | 20 48 65 6c 70 20 53 63 |..----- | Help Sc|
|000015d0| 72 69 70 74 73 20 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ripts -|--------|
|000015e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000015f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001600| 2d 2d 2d 0d 0d 6f 6e 20 | 68 65 6c 70 20 74 68 65 |---..on |help the|
|00001610| 54 6f 70 69 63 0d 2d 2d | 20 c6 20 4e 6f 74 65 3a |Topic.--| . Note:|
|00001620| 20 74 79 70 69 6e 67 20 | 22 68 65 6c 70 20 3c 74 | typing |"help <t|
|00001630| 6f 70 69 63 3e 22 20 69 | 6e 74 6f 20 6d 73 67 20 |opic>" i|nto msg |
|00001640| 62 6f 78 20 77 69 6c 6c | 20 6c 6f 63 61 74 65 0d |box will| locate.|
|00001650| 2d 2d 20 74 68 65 20 3c | 74 6f 70 69 63 3e 20 69 |-- the <|topic> i|
|00001660| 6e 20 22 48 79 70 65 72 | 43 61 72 64 20 48 65 6c |n "Hyper|Card Hel|
|00001670| 70 22 0d 70 75 74 20 22 | 48 79 70 65 72 43 61 72 |p".put "|HyperCar|
|00001680| 64 20 48 65 6c 70 22 20 | 69 6e 74 6f 20 74 68 65 |d Help" |into the|
|00001690| 53 74 61 63 6b 20 2d 2d | 20 c6 0d 69 66 20 22 3a |Stack --| ..if ":|
|000016a0| 22 20 26 20 74 68 65 53 | 74 61 63 6b 20 26 20 72 |" & theS|tack & r|
|000016b0| 65 74 75 72 6e 20 69 73 | 20 69 6e 20 74 68 65 20 |eturn is| in the |
|000016c0| 73 74 61 63 6b 73 20 74 | 68 65 6e 0d 69 66 20 74 |stacks t|hen.if t|
|000016d0| 68 65 20 6c 6f 6e 67 57 | 69 6e 64 6f 77 54 69 74 |he longW|indowTit|
|000016e0| 6c 65 73 0d 74 68 65 6e | 20 73 68 6f 77 20 77 69 |les.then| show wi|
|000016f0| 6e 64 6f 77 20 6c 69 6e | 65 20 28 74 68 65 20 6e |ndow lin|e (the n|
|00001700| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00001710| 66 20 63 68 61 72 20 31 | 20 74 6f 20 6f 66 66 73 |f char 1| to offs|
|00001720| 65 74 28 22 3a 22 20 26 | 20 74 68 65 53 74 61 63 |et(":" &| theStac|
|00001730| 6b 20 26 20 72 65 74 75 | 72 6e 2c 20 74 68 65 20 |k & retu|rn, the |
|00001740| 73 74 61 63 6b 73 29 20 | 6f 66 20 74 68 65 20 73 |stacks) |of the s|
|00001750| 74 61 63 6b 73 29 20 6f | 66 20 74 68 65 20 73 74 |tacks) o|f the st|
|00001760| 61 63 6b 73 0d 65 6c 73 | 65 20 73 68 6f 77 20 77 |acks.els|e show w|
|00001770| 69 6e 64 6f 77 20 74 68 | 65 53 74 61 63 6b 0d 65 |indow th|eStack.e|
|00001780| 6c 73 65 0d 67 6f 20 74 | 6f 20 73 74 61 63 6b 20 |lse.go t|o stack |
|00001790| 74 68 65 53 74 61 63 6b | 20 69 6e 20 61 20 6e 65 |theStack| in a ne|
|000017a0| 77 20 77 69 6e 64 6f 77 | 20 2d 2d 20 74 72 79 20 |w window| -- try |
|000017b0| 69 6e 20 61 20 6e 65 77 | 20 77 69 6e 64 6f 77 0d |in a new| window.|
|000017c0| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 3d 20 |if the r|esult = |
|000017d0| 22 43 61 6e 63 65 6c 22 | 20 74 68 65 6e 20 65 78 |"Cancel"| then ex|
|000017e0| 69 74 20 74 6f 20 68 79 | 70 65 72 43 61 72 64 0d |it to hy|perCard.|
|000017f0| 65 6c 73 65 20 69 66 20 | 74 68 65 20 72 65 73 75 |else if |the resu|
|00001800| 6c 74 20 ad 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |lt . emp|ty then |
|00001810| 67 6f 20 74 6f 20 73 74 | 61 63 6b 20 74 68 65 53 |go to st|ack theS|
|00001820| 74 61 63 6b 0d 65 6e 64 | 20 69 66 0d 69 66 20 74 |tack.end| if.if t|
|00001830| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 65 6d 70 |he resul|t is emp|
|00001840| 74 79 20 74 68 65 6e 20 | 66 69 6e 64 49 6e 54 69 |ty then |findInTi|
|00001850| 74 6c 65 20 74 68 65 54 | 6f 70 69 63 20 2d 2d 20 |tle theT|opic -- |
|00001860| 69 6e 20 74 68 65 20 68 | 65 6c 70 20 73 74 61 63 |in the h|elp stac|
|00001870| 6b 0d 65 6e 64 20 68 65 | 6c 70 0d 0d 6f 6e 20 68 |k.end he|lp..on h|
|00001880| 79 70 65 72 54 61 6c 6b | 20 74 68 65 54 6f 70 69 |yperTalk| theTopi|
|00001890| 63 0d 2d 2d 20 c6 20 4e | 6f 74 65 3a 20 74 79 70 |c.-- . N|ote: typ|
|000018a0| 69 6e 67 20 22 68 79 70 | 65 72 54 61 6c 6b 20 3c |ing "hyp|erTalk <|
|000018b0| 74 6f 70 69 63 3e 22 20 | 69 6e 74 6f 20 6d 73 67 |topic>" |into msg|
|000018c0| 20 62 6f 78 20 77 69 6c | 6c 20 6c 6f 63 61 74 65 | box wil|l locate|
|000018d0| 0d 2d 2d 20 74 68 65 20 | 3c 74 6f 70 69 63 3e 20 |.-- the |<topic> |
|000018e0| 69 6e 20 22 48 79 70 65 | 72 54 61 6c 6b 20 52 65 |in "Hype|rTalk Re|
|000018f0| 66 65 72 65 6e 63 65 22 | 0d 70 75 74 20 22 48 79 |ference"|.put "Hy|
|00001900| 70 65 72 54 61 6c 6b 20 | 52 65 66 65 72 65 6e 63 |perTalk |Referenc|
|00001910| 65 22 20 69 6e 74 6f 20 | 74 68 65 53 74 61 63 6b |e" into |theStack|
|00001920| 20 2d 2d 20 c6 0d 69 66 | 20 22 3a 22 20 26 20 74 | -- ..if| ":" & t|
|00001930| 68 65 53 74 61 63 6b 20 | 26 20 72 65 74 75 72 6e |heStack |& return|
|00001940| 20 69 73 20 69 6e 20 74 | 68 65 20 73 74 61 63 6b | is in t|he stack|
|00001950| 73 20 74 68 65 6e 0d 69 | 66 20 74 68 65 20 6c 6f |s then.i|f the lo|
|00001960| 6e 67 57 69 6e 64 6f 77 | 54 69 74 6c 65 73 0d 74 |ngWindow|Titles.t|
|00001970| 68 65 6e 20 73 68 6f 77 | 20 77 69 6e 64 6f 77 20 |hen show| window |
|00001980| 6c 69 6e 65 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |line (th|e number|
|00001990| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 63 68 61 | of line|s of cha|
|000019a0| 72 20 31 20 74 6f 20 6f | 66 66 73 65 74 28 22 3a |r 1 to o|ffset(":|
|000019b0| 22 20 26 20 74 68 65 53 | 74 61 63 6b 20 26 20 72 |" & theS|tack & r|
|000019c0| 65 74 75 72 6e 2c 20 74 | 68 65 20 73 74 61 63 6b |eturn, t|he stack|
|000019d0| 73 29 20 6f 66 20 74 68 | 65 20 73 74 61 63 6b 73 |s) of th|e stacks|
|000019e0| 29 20 6f 66 20 74 68 65 | 20 73 74 61 63 6b 73 0d |) of the| stacks.|
|000019f0| 65 6c 73 65 20 73 68 6f | 77 20 77 69 6e 64 6f 77 |else sho|w window|
|00001a00| 20 74 68 65 53 74 61 63 | 6b 0d 65 6c 73 65 0d 67 | theStac|k.else.g|
|00001a10| 6f 20 74 6f 20 73 74 61 | 63 6b 20 74 68 65 53 74 |o to sta|ck theSt|
|00001a20| 61 63 6b 20 69 6e 20 61 | 20 6e 65 77 20 77 69 6e |ack in a| new win|
|00001a30| 64 6f 77 20 2d 2d 20 74 | 72 79 20 69 6e 20 61 20 |dow -- t|ry in a |
|00001a40| 6e 65 77 20 77 69 6e 64 | 6f 77 0d 69 66 20 74 68 |new wind|ow.if th|
|00001a50| 65 20 72 65 73 75 6c 74 | 20 3d 20 22 43 61 6e 63 |e result| = "Canc|
|00001a60| 65 6c 22 20 74 68 65 6e | 20 65 78 69 74 20 74 6f |el" then| exit to|
|00001a70| 20 68 79 70 65 72 43 61 | 72 64 0d 65 6c 73 65 20 | hyperCa|rd.else |
|00001a80| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 ad 20 |if the r|esult . |
|00001a90| 65 6d 70 74 79 20 74 68 | 65 6e 20 67 6f 20 74 6f |empty th|en go to|
|00001aa0| 20 73 74 61 63 6b 20 74 | 68 65 53 74 61 63 6b 0d | stack t|heStack.|
|00001ab0| 65 6e 64 20 69 66 0d 69 | 66 20 74 68 65 20 72 65 |end if.i|f the re|
|00001ac0| 73 75 6c 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |sult is |empty th|
|00001ad0| 65 6e 20 66 69 6e 64 49 | 6e 54 69 74 6c 65 20 74 |en findI|nTitle t|
|00001ae0| 68 65 54 6f 70 69 63 20 | 2d 2d 20 69 6e 20 74 68 |heTopic |-- in th|
|00001af0| 65 20 68 65 6c 70 20 73 | 74 61 63 6b 0d 65 6e 64 |e help s|tack.end|
|00001b00| 20 68 79 70 65 72 54 61 | 6c 6b 0d 0d 2d 2d 2d 2d | hyperTa|lk..----|
|00001b10| 2d 20 20 55 74 69 6c 69 | 74 79 20 53 63 72 69 70 |- Utili|ty Scrip|
|00001b20| 74 73 20 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ts ----|--------|
|00001b30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001b50| 0d 0d 6f 6e 20 6e 61 76 | 20 20 2d 2d 20 c6 20 74 |..on nav| -- . t|
|00001b60| 79 70 65 20 22 6e 61 76 | 22 20 69 6e 74 6f 20 6d |ype "nav|" into m|
|00001b70| 65 73 73 61 67 65 20 62 | 6f 78 0d 2d 2d 20 52 65 |essage b|ox.-- Re|
|00001b80| 71 75 69 72 65 73 20 58 | 43 4d 44 3a 20 70 61 6c |quires X|CMD: pal|
|00001b90| 65 74 74 65 20 22 4e 61 | 76 69 67 61 74 6f 72 22 |ette "Na|vigator"|
|00001ba0| 0d 70 61 6c 65 74 74 65 | 20 22 4e 61 76 69 67 61 |.palette| "Naviga|
|00001bb0| 74 6f 72 22 0d 65 6e 64 | 20 6e 61 76 0d 0d 6f 6e |tor".end| nav..on|
|00001bc0| 20 63 20 20 2d 2d 20 c6 | 20 74 79 70 65 20 22 63 | c -- .| type "c|
|00001bd0| 22 20 69 6e 74 6f 20 6d | 65 73 73 61 67 65 20 62 |" into m|essage b|
|00001be0| 6f 78 0d 2d 2d 20 52 65 | 71 75 69 72 65 73 20 68 |ox.-- Re|quires h|
|00001bf0| 61 6e 64 6c 65 72 73 3a | 20 73 65 74 55 73 65 72 |andlers:| setUser|
|00001c00| 4c 65 76 65 6c 46 69 76 | 65 2c 72 65 73 74 6f 72 |LevelFiv|e,restor|
|00001c10| 65 55 73 65 72 4c 65 76 | 65 6c 0d 70 75 74 20 74 |eUserLev|el.put t|
|00001c20| 68 65 20 74 6f 6f 6c 20 | 69 6e 74 6f 20 73 61 76 |he tool |into sav|
|00001c30| 65 54 6f 6f 6c 0d 63 68 | 6f 6f 73 65 20 62 72 6f |eTool.ch|oose bro|
|00001c40| 77 73 65 20 74 6f 6f 6c | 0d 73 65 74 55 73 65 72 |wse tool|.setUser|
|00001c50| 4c 65 76 65 6c 46 69 76 | 65 20 2d 2d 20 73 6f 20 |LevelFiv|e -- so |
|00001c60| 74 68 65 20 6d 65 6e 75 | 20 69 74 65 6d 20 77 69 |the menu| item wi|
|00001c70| 6c 6c 20 62 65 20 74 68 | 65 72 65 0d 64 6f 4d 65 |ll be th|ere.doMe|
|00001c80| 6e 75 20 22 43 61 72 64 | 20 49 6e 66 6f 2e 2e 2e |nu "Card| Info...|
|00001c90| 22 0d 72 65 73 74 6f 72 | 65 55 73 65 72 4c 65 76 |".restor|eUserLev|
|00001ca0| 65 6c 0d 63 68 6f 6f 73 | 65 20 73 61 76 65 54 6f |el.choos|e saveTo|
|00001cb0| 6f 6c 0d 65 6e 64 20 63 | 0d 0d 6f 6e 20 62 20 20 |ol.end c|..on b |
|00001cc0| 2d 2d 20 c6 20 74 79 70 | 65 20 22 62 22 20 69 6e |-- . typ|e "b" in|
|00001cd0| 74 6f 20 6d 65 73 73 61 | 67 65 20 62 6f 78 0d 2d |to messa|ge box.-|
|00001ce0| 2d 20 52 65 71 75 69 72 | 65 73 20 68 61 6e 64 6c |- Requir|es handl|
|00001cf0| 65 72 73 3a 20 73 65 74 | 55 73 65 72 4c 65 76 65 |ers: set|UserLeve|
|00001d00| 6c 46 69 76 65 2c 72 65 | 73 74 6f 72 65 55 73 65 |lFive,re|storeUse|
|00001d10| 72 4c 65 76 65 6c 0d 70 | 75 74 20 74 68 65 20 74 |rLevel.p|ut the t|
|00001d20| 6f 6f 6c 20 69 6e 74 6f | 20 73 61 76 65 54 6f 6f |ool into| saveToo|
|00001d30| 6c 0d 63 68 6f 6f 73 65 | 20 62 72 6f 77 73 65 20 |l.choose| browse |
|00001d40| 74 6f 6f 6c 0d 73 65 74 | 55 73 65 72 4c 65 76 65 |tool.set|UserLeve|
|00001d50| 6c 46 69 76 65 20 2d 2d | 20 73 6f 20 74 68 65 20 |lFive --| so the |
|00001d60| 6d 65 6e 75 20 69 74 65 | 6d 20 77 69 6c 6c 20 62 |menu ite|m will b|
|00001d70| 65 20 74 68 65 72 65 0d | 64 6f 4d 65 6e 75 20 22 |e there.|doMenu "|
|00001d80| 42 6b 67 6e 64 20 49 6e | 66 6f 2e 2e 2e 22 0d 72 |Bkgnd In|fo...".r|
|00001d90| 65 73 74 6f 72 65 55 73 | 65 72 4c 65 76 65 6c 0d |estoreUs|erLevel.|
|00001da0| 63 68 6f 6f 73 65 20 73 | 61 76 65 54 6f 6f 6c 0d |choose s|aveTool.|
|00001db0| 65 6e 64 20 62 0d 0d 6f | 6e 20 73 20 20 2d 2d 20 |end b..o|n s -- |
|00001dc0| c6 20 74 79 70 65 20 22 | 73 22 20 69 6e 74 6f 20 |. type "|s" into |
|00001dd0| 6d 65 73 73 61 67 65 20 | 62 6f 78 0d 2d 2d 20 52 |message |box.-- R|
|00001de0| 65 71 75 69 72 65 73 20 | 68 61 6e 64 6c 65 72 73 |equires |handlers|
|00001df0| 3a 20 73 65 74 55 73 65 | 72 4c 65 76 65 6c 46 69 |: setUse|rLevelFi|
|00001e00| 76 65 2c 72 65 73 74 6f | 72 65 55 73 65 72 4c 65 |ve,resto|reUserLe|
|00001e10| 76 65 6c 0d 70 75 74 20 | 74 68 65 20 74 6f 6f 6c |vel.put |the tool|
|00001e20| 20 69 6e 74 6f 20 73 61 | 76 65 54 6f 6f 6c 0d 63 | into sa|veTool.c|
|00001e30| 68 6f 6f 73 65 20 62 72 | 6f 77 73 65 20 74 6f 6f |hoose br|owse too|
|00001e40| 6c 0d 73 65 74 55 73 65 | 72 4c 65 76 65 6c 46 69 |l.setUse|rLevelFi|
|00001e50| 76 65 20 2d 2d 20 73 6f | 20 74 68 65 20 6d 65 6e |ve -- so| the men|
|00001e60| 75 20 69 74 65 6d 20 77 | 69 6c 6c 20 62 65 20 74 |u item w|ill be t|
|00001e70| 68 65 72 65 0d 64 6f 4d | 65 6e 75 20 22 53 74 61 |here.doM|enu "Sta|
|00001e80| 63 6b 20 49 6e 66 6f 2e | 2e 2e 22 0d 72 65 73 74 |ck Info.|..".rest|
|00001e90| 6f 72 65 55 73 65 72 4c | 65 76 65 6c 0d 63 68 6f |oreUserL|evel.cho|
|00001ea0| 6f 73 65 20 73 61 76 65 | 54 6f 6f 6c 0d 65 6e 64 |ose save|Tool.end|
|00001eb0| 20 73 0d 0d 6f 6e 20 6d | 77 20 20 2d 2d 20 c6 20 | s..on m|w -- . |
|00001ec0| 74 79 70 65 20 22 6d 77 | 22 20 69 6e 74 6f 20 6d |type "mw|" into m|
|00001ed0| 65 73 73 61 67 65 20 62 | 6f 78 0d 2d 2d 20 52 65 |essage b|ox.-- Re|
|00001ee0| 71 75 69 72 65 73 20 58 | 57 69 6e 64 6f 77 3a 20 |quires X|Window: |
|00001ef0| 4d 65 73 73 61 67 65 20 | 57 61 74 63 68 65 72 0d |Message |Watcher.|
|00001f00| 73 68 6f 77 20 77 69 6e | 64 6f 77 20 22 4d 65 73 |show win|dow "Mes|
|00001f10| 73 61 67 65 20 57 61 74 | 63 68 65 72 22 0d 65 6e |sage Wat|cher".en|
|00001f20| 64 20 6d 77 0d 0d 6f 6e | 20 76 77 20 20 2d 2d 20 |d mw..on| vw -- |
|00001f30| c6 20 74 79 70 65 20 22 | 76 77 22 20 69 6e 74 6f |. type "|vw" into|
|00001f40| 20 6d 65 73 73 61 67 65 | 20 62 6f 78 0d 2d 2d 20 | message| box.-- |
|00001f50| 52 65 71 75 69 72 65 73 | 20 58 57 69 6e 64 6f 77 |Requires| XWindow|
|00001f60| 3a 20 56 61 72 69 61 62 | 6c 65 20 57 61 74 63 68 |: Variab|le Watch|
|00001f70| 65 72 0d 73 68 6f 77 20 | 77 69 6e 64 6f 77 20 22 |er.show |window "|
|00001f80| 56 61 72 69 61 62 6c 65 | 20 57 61 74 63 68 65 72 |Variable| Watcher|
|00001f90| 22 0d 65 6e 64 20 76 77 | 0d 0d 6f 6e 20 73 65 20 |".end vw|..on se |
|00001fa0| 20 2d 2d 20 c6 0d 2d 2d | 20 52 65 71 75 69 72 65 | -- ..--| Require|
|00001fb0| 73 20 58 57 69 6e 64 6f | 77 3a 20 53 63 72 69 70 |s XWindo|w: Scrip|
|00001fc0| 74 20 45 64 69 74 6f 72 | 0d 61 73 6b 20 22 53 65 |t Editor|.ask "Se|
|00001fd0| 74 20 73 63 72 69 70 74 | 20 65 64 69 74 6f 72 20 |t script| editor |
|00001fe0| 66 6f 6e 74 20 74 79 70 | 65 20 74 6f 3a 22 20 77 |font typ|e to:" w|
|00001ff0| 69 74 68 20 22 4d 6f 6e | 61 63 6f 22 20 2d 2d 20 |ith "Mon|aco" -- |
|00002000| c6 20 64 65 66 61 75 6c | 74 20 76 61 6c 75 65 0d |. defaul|t value.|
|00002010| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00002020| 20 22 43 61 6e 63 65 6c | 22 20 6f 72 20 69 74 20 | "Cancel|" or it |
|00002030| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 |is empty| then ex|
|00002040| 69 74 20 73 65 0d 73 65 | 74 20 73 63 72 69 70 74 |it se.se|t script|
|00002050| 54 65 78 74 46 6f 6e 74 | 20 74 6f 20 69 74 0d 61 |TextFont| to it.a|
|00002060| 73 6b 20 22 53 65 74 20 | 73 63 72 69 70 74 20 65 |sk "Set |script e|
|00002070| 64 69 74 6f 72 20 66 6f | 6e 74 20 73 69 7a 65 20 |ditor fo|nt size |
|00002080| 74 6f 3a 22 20 77 69 74 | 68 20 22 39 22 20 2d 2d |to:" wit|h "9" --|
|00002090| 20 c6 20 64 65 66 61 75 | 6c 74 20 76 61 6c 75 65 | . defau|lt value|
|000020a0| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|000020b0| 73 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 69 74 |s "Cance|l" or it|
|000020c0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|000020d0| 78 69 74 20 73 65 0d 73 | 65 74 20 73 63 72 69 70 |xit se.s|et scrip|
|000020e0| 74 54 65 78 74 53 69 7a | 65 20 74 6f 20 69 74 0d |tTextSiz|e to it.|
|000020f0| 65 6e 64 20 73 65 0d 0d | 6f 6e 20 73 73 20 70 61 |end se..|on ss pa|
|00002100| 74 74 65 72 6e 2c 73 74 | 61 63 6b 4e 61 6d 65 20 |ttern,st|ackName |
|00002110| 20 2d 2d 20 c6 20 74 79 | 70 65 20 22 73 73 22 20 | -- . ty|pe "ss" |
|00002120| 69 6e 74 6f 20 6d 65 73 | 73 61 67 65 20 62 6f 78 |into mes|sage box|
|00002130| 0d 2d 2d 20 52 65 71 75 | 69 72 65 73 20 68 61 6e |.-- Requ|ires han|
|00002140| 64 6c 65 72 3a 20 73 65 | 61 72 63 68 53 63 72 69 |dler: se|archScri|
|00002150| 70 74 0d 73 65 61 72 63 | 68 53 63 72 69 70 74 20 |pt.searc|hScript |
|00002160| 70 61 74 74 65 72 6e 2c | 73 74 61 63 6b 4e 61 6d |pattern,|stackNam|
|00002170| 65 0d 65 6e 64 20 73 73 | 0d 0d 6f 6e 20 78 79 0d |e.end ss|..on xy.|
|00002180| 2d 2d 20 c6 20 74 79 70 | 65 20 22 78 79 22 20 69 |-- . typ|e "xy" i|
|00002190| 6e 74 6f 20 6d 65 73 73 | 61 67 65 20 62 6f 78 20 |nto mess|age box |
|000021a0| 74 6f 20 6f 62 74 61 69 | 6e 20 6d 6f 75 73 65 20 |to obtai|n mouse |
|000021b0| 63 6f 6f 72 64 69 6e 61 | 74 65 73 0d 73 65 74 20 |coordina|tes.set |
|000021c0| 63 75 72 73 6f 72 20 74 | 6f 20 63 72 6f 73 73 0d |cursor t|o cross.|
|000021d0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 74 68 65 |repeat u|ntil the|
|000021e0| 20 6d 6f 75 73 65 43 6c | 69 63 6b 0d 70 75 74 20 | mouseCl|ick.put |
|000021f0| 74 68 65 20 6d 6f 75 73 | 65 4c 6f 63 20 26 26 20 |the mous|eLoc && |
|00002200| 22 20 20 68 6f 72 7a 3a | 22 20 26 20 74 68 65 20 |" horz:|" & the |
|00002210| 6d 6f 75 73 65 48 20 26 | 26 20 22 20 20 76 65 72 |mouseH &|& " ver|
|00002220| 74 3a 22 20 26 20 74 68 | 65 20 6d 6f 75 73 65 56 |t:" & th|e mouseV|
|00002230| 20 2d 2d 20 c6 0d 65 6e | 64 20 72 65 70 65 61 74 | -- ..en|d repeat|
|00002240| 0d 65 6e 64 20 78 79 0d | 0d 6f 6e 20 64 69 73 61 |.end xy.|.on disa|
|00002250| 6c 6c 6f 77 49 6e 74 65 | 72 72 75 70 74 69 6f 6e |llowInte|rruption|
|00002260| 20 2d 2d 20 73 6f 20 63 | 61 6e 27 74 20 73 74 6f | -- so c|an't sto|
|00002270| 70 20 73 63 72 69 70 74 | 73 20 77 68 69 6c 65 20 |p script|s while |
|00002280| 72 75 6e 6e 69 6e 67 0d | 73 65 74 20 63 61 6e 74 |running.|set cant|
|00002290| 41 62 6f 72 74 20 6f 66 | 20 74 68 69 73 20 73 74 |Abort of| this st|
|000022a0| 61 63 6b 20 74 6f 20 74 | 72 75 65 0d 65 6e 64 20 |ack to t|rue.end |
|000022b0| 64 69 73 61 6c 6c 6f 77 | 49 6e 74 65 72 72 75 70 |disallow|Interrup|
|000022c0| 74 69 6f 6e 0d 0d 6f 6e | 20 61 6c 6c 6f 77 49 6e |tion..on| allowIn|
|000022d0| 74 65 72 72 75 70 74 69 | 6f 6e 20 2d 2d 20 73 6f |terrupti|on -- so|
|000022e0| 20 63 61 6e 20 73 74 6f | 70 20 73 63 72 69 70 74 | can sto|p script|
|000022f0| 73 20 77 68 69 6c 65 20 | 72 75 6e 6e 69 6e 67 0d |s while |running.|
|00002300| 73 65 74 20 63 61 6e 74 | 41 62 6f 72 74 20 6f 66 |set cant|Abort of|
|00002310| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 6f 20 66 | this st|ack to f|
|00002320| 61 6c 73 65 0d 65 6e 64 | 20 61 6c 6c 6f 77 49 6e |alse.end| allowIn|
|00002330| 74 65 72 72 75 70 74 69 | 6f 6e 0d 0d 6f 6e 20 73 |terrupti|on..on s|
|00002340| 65 74 55 73 65 72 4c 65 | 76 65 6c 46 69 76 65 20 |etUserLe|velFive |
|00002350| 2d 2d 20 73 6f 6d 65 20 | 74 68 69 6e 67 73 20 6e |-- some |things n|
|00002360| 65 65 64 20 74 68 69 73 | 20 75 73 65 72 4c 65 76 |eed this| userLev|
|00002370| 65 6c 0d 67 6c 6f 62 61 | 6c 20 53 76 4c 76 6c 0d |el.globa|l SvLvl.|
|00002380| 70 75 74 20 74 68 65 20 | 75 73 65 72 4c 65 76 65 |put the |userLeve|
|00002390| 6c 20 69 6e 74 6f 20 53 | 76 4c 76 6c 0d 73 65 74 |l into S|vLvl.set|
|000023a0| 20 74 68 65 20 75 73 65 | 72 4c 65 76 65 6c 20 74 | the use|rLevel t|
|000023b0| 6f 20 35 0d 65 6e 64 20 | 73 65 74 55 73 65 72 4c |o 5.end |setUserL|
|000023c0| 65 76 65 6c 46 69 76 65 | 0d 0d 6f 6e 20 72 65 73 |evelFive|..on res|
|000023d0| 74 6f 72 65 55 73 65 72 | 4c 65 76 65 6c 20 2d 2d |toreUser|Level --|
|000023e0| 20 75 73 65 20 61 66 74 | 65 72 20 73 65 74 55 73 | use aft|er setUs|
|000023f0| 65 72 4c 65 76 65 6c 46 | 69 76 65 0d 67 6c 6f 62 |erLevelF|ive.glob|
|00002400| 61 6c 20 53 76 4c 76 6c | 0d 69 66 20 53 76 4c 76 |al SvLvl|.if SvLv|
|00002410| 6c 20 69 73 20 61 20 6e | 75 6d 62 65 72 20 74 68 |l is a n|umber th|
|00002420| 65 6e 20 73 65 74 20 74 | 68 65 20 75 73 65 72 4c |en set t|he userL|
|00002430| 65 76 65 6c 20 74 6f 20 | 53 76 4c 76 6c 0d 65 6e |evel to |SvLvl.en|
|00002440| 64 20 72 65 73 74 6f 72 | 65 55 73 65 72 4c 65 76 |d restor|eUserLev|
|00002450| 65 6c 0d 0d 6f 6e 20 73 | 65 61 72 63 68 53 63 72 |el..on s|earchScr|
|00002460| 69 70 74 20 70 61 74 74 | 65 72 6e 2c 73 74 61 63 |ipt patt|ern,stac|
|00002470| 6b 4e 61 6d 65 0d 2d 2d | 20 52 65 71 75 69 72 65 |kName.--| Require|
|00002480| 73 20 68 61 6e 64 6c 65 | 72 73 3a 20 73 65 74 55 |s handle|rs: setU|
|00002490| 73 65 72 4c 65 76 65 6c | 46 69 76 65 2c 72 65 73 |serLevel|Five,res|
|000024a0| 74 6f 72 65 55 73 65 72 | 4c 65 76 65 6c 0d 2d 2d |toreUser|Level.--|
|000024b0| 20 73 65 61 72 63 68 20 | 41 4c 4c 20 73 63 72 69 | search |ALL scri|
|000024c0| 70 74 73 20 6f 66 20 61 | 20 73 74 61 63 6b 20 66 |pts of a| stack f|
|000024d0| 6f 72 20 61 20 27 70 61 | 74 74 65 72 6e 27 20 6f |or a 'pa|ttern' o|
|000024e0| 66 20 63 68 61 72 61 63 | 74 65 72 73 0d 67 6c 6f |f charac|ters.glo|
|000024f0| 62 61 6c 20 53 63 72 69 | 70 74 46 69 6e 64 53 74 |bal Scri|ptFindSt|
|00002500| 72 69 6e 67 20 2d 2d 20 | 48 79 70 65 72 54 61 6c |ring -- |HyperTal|
|00002510| 6b 20 67 6c 6f 62 61 6c | 20 76 61 72 69 61 62 6c |k global| variabl|
|00002520| 65 0d 73 65 74 20 6c 6f | 63 6b 52 65 63 65 6e 74 |e.set lo|ckRecent|
|00002530| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 55 73 65 72 | to true|.setUser|
|00002540| 4c 65 76 65 6c 46 69 76 | 65 20 2d 2d 20 73 61 76 |LevelFiv|e -- sav|
|00002550| 65 73 20 63 75 72 72 65 | 6e 74 20 6c 65 76 65 6c |es curre|nt level|
|00002560| 20 61 6e 64 20 73 65 74 | 73 20 6c 65 76 65 6c 20 | and set|s level |
|00002570| 35 0d 70 75 73 68 20 63 | 61 72 64 20 2d 2d 20 72 |5.push c|ard -- r|
|00002580| 65 6d 65 6d 62 65 72 20 | 77 68 65 72 65 20 77 65 |emember |where we|
|00002590| 20 61 72 65 0d 69 66 20 | 70 61 74 74 65 72 6e 20 | are.if |pattern |
|000025a0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 61 73 |is empty| then.as|
|000025b0| 6b 20 22 53 65 61 72 63 | 68 20 66 6f 72 20 77 68 |k "Searc|h for wh|
|000025c0| 61 74 20 73 74 72 69 6e | 67 3f 22 20 77 69 74 68 |at strin|g?" with|
|000025d0| 20 53 63 72 69 70 74 46 | 69 6e 64 53 74 72 69 6e | ScriptF|indStrin|
|000025e0| 67 20 2d 2d 20 c6 0d 69 | 66 20 28 69 74 20 69 73 |g -- ..i|f (it is|
|000025f0| 20 65 6d 70 74 79 29 20 | 6f 72 20 28 74 68 65 20 | empty) |or (the |
|00002600| 72 65 73 75 6c 74 20 69 | 73 20 22 43 61 6e 63 65 |result i|s "Cance|
|00002610| 6c 22 29 20 74 68 65 6e | 20 65 78 69 74 20 73 65 |l") then| exit se|
|00002620| 61 72 63 68 53 63 72 69 | 70 74 0d 70 75 74 20 69 |archScri|pt.put i|
|00002630| 74 20 69 6e 74 6f 20 70 | 61 74 74 65 72 6e 20 2d |t into p|attern -|
|00002640| 2d 20 6f 74 68 65 72 77 | 69 73 65 20 75 73 65 20 |- otherw|ise use |
|00002650| 69 74 20 61 73 20 74 68 | 65 20 73 65 61 72 63 68 |it as th|e search|
|00002660| 20 70 61 74 74 65 72 6e | 0d 65 6e 64 20 69 66 0d | pattern|.end if.|
|00002670| 2d 2d 20 70 75 74 20 69 | 6e 20 48 79 70 65 72 54 |-- put i|n HyperT|
|00002680| 61 6c 6b 20 67 6c 6f 62 | 61 6c 20 73 6f 20 6a 75 |alk glob|al so ju|
|00002690| 73 74 20 43 4d 44 2d 46 | 20 69 6e 20 65 64 69 74 |st CMD-F| in edit|
|000026a0| 6f 72 20 66 6f 72 20 65 | 61 73 79 20 66 69 6e 64 |or for e|asy find|
|000026b0| 0d 70 75 74 20 70 61 74 | 74 65 72 6e 20 69 6e 74 |.put pat|tern int|
|000026c0| 6f 20 53 63 72 69 70 74 | 46 69 6e 64 53 74 72 69 |o Script|FindStri|
|000026d0| 6e 67 0d 73 65 74 20 6c | 6f 63 6b 4d 65 73 73 61 |ng.set l|ockMessa|
|000026e0| 67 65 73 20 74 6f 20 74 | 72 75 65 20 2d 2d 20 61 |ges to t|rue -- a|
|000026f0| 76 6f 69 64 20 6f 70 65 | 6e 20 6d 65 73 73 61 67 |void ope|n messag|
|00002700| 65 73 0d 69 66 20 73 74 | 61 63 6b 4e 61 6d 65 20 |es.if st|ackName |
|00002710| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00002720| 6e 20 67 6f 20 74 6f 20 | 73 74 61 63 6b 20 73 74 |n go to |stack st|
|00002730| 61 63 6b 4e 61 6d 65 0d | 2d 2d 20 4e 6f 74 65 3a |ackName.|-- Note:|
|00002740| 20 69 66 20 73 74 61 63 | 6b 4e 61 6d 65 20 69 73 | if stac|kName is|
|00002750| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 77 65 20 73 | empty t|hen we s|
|00002760| 65 61 72 63 68 20 74 68 | 65 20 63 75 72 72 65 6e |earch th|e curren|
|00002770| 74 20 73 74 61 63 6b 0d | 73 65 74 20 63 75 72 73 |t stack.|set curs|
|00002780| 6f 72 20 74 6f 20 62 75 | 73 79 0d 2d 2d 20 73 65 |or to bu|sy.-- se|
|00002790| 61 72 63 68 20 74 68 65 | 20 73 74 61 63 6b 20 73 |arch the| stack s|
|000027a0| 63 72 69 70 74 20 6f 66 | 20 74 68 65 20 73 74 61 |cript of| the sta|
|000027b0| 63 6b 0d 69 66 20 74 68 | 65 20 73 63 72 69 70 74 |ck.if th|e script|
|000027c0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 63 | of this| stack c|
|000027d0| 6f 6e 74 61 69 6e 73 20 | 70 61 74 74 65 72 6e 0d |ontains |pattern.|
|000027e0| 74 68 65 6e 20 65 64 69 | 74 20 73 63 72 69 70 74 |then edi|t script|
|000027f0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 0d 2d | of this| stack.-|
|00002800| 2d 20 73 65 61 72 63 68 | 20 74 68 65 20 62 61 63 |- search| the bac|
|00002810| 6b 67 72 6f 75 6e 64 20 | 73 63 72 69 70 74 73 20 |kground |scripts |
|00002820| 61 6e 64 20 6f 62 6a 65 | 63 74 73 20 6f 66 20 74 |and obje|cts of t|
|00002830| 68 65 20 73 74 61 63 6b | 0d 72 65 70 65 61 74 20 |he stack|.repeat |
|00002840| 77 69 74 68 20 63 75 72 | 42 6b 67 6e 64 20 3d 20 |with cur|Bkgnd = |
|00002850| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00002860| 6f 66 20 62 6b 67 6e 64 | 73 0d 73 65 74 20 63 75 |of bkgnd|s.set cu|
|00002870| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 67 6f 20 |rsor to |busy.go |
|00002880| 74 6f 20 63 61 72 64 20 | 31 20 6f 66 20 62 6b 67 |to card |1 of bkg|
|00002890| 6e 64 20 63 75 72 42 6b | 67 6e 64 0d 69 66 20 74 |nd curBk|gnd.if t|
|000028a0| 68 65 20 73 63 72 69 70 | 74 20 6f 66 20 74 68 69 |he scrip|t of thi|
|000028b0| 73 20 62 6b 67 6e 64 20 | 63 6f 6e 74 61 69 6e 73 |s bkgnd |contains|
|000028c0| 20 70 61 74 74 65 72 6e | 0d 74 68 65 6e 20 65 64 | pattern|.then ed|
|000028d0| 69 74 20 73 63 72 69 70 | 74 20 6f 66 20 62 6b 67 |it scrip|t of bkg|
|000028e0| 6e 64 20 63 75 72 42 6b | 67 6e 64 0d 72 65 70 65 |nd curBk|gnd.repe|
|000028f0| 61 74 20 77 69 74 68 20 | 63 75 72 42 67 42 74 6e |at with |curBgBtn|
|00002900| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00002910| 65 72 20 6f 66 20 62 6b | 67 6e 64 20 62 75 74 74 |er of bk|gnd butt|
|00002920| 6f 6e 73 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |ons.set |cursor t|
|00002930| 6f 20 62 75 73 79 0d 69 | 66 20 74 68 65 20 73 63 |o busy.i|f the sc|
|00002940| 72 69 70 74 20 6f 66 20 | 62 6b 67 6e 64 20 62 75 |ript of |bkgnd bu|
|00002950| 74 74 6f 6e 20 63 75 72 | 42 67 42 74 6e 20 63 6f |tton cur|BgBtn co|
|00002960| 6e 74 61 69 6e 73 20 70 | 61 74 74 65 72 6e 0d 74 |ntains p|attern.t|
|00002970| 68 65 6e 20 65 64 69 74 | 20 73 63 72 69 70 74 20 |hen edit| script |
|00002980| 6f 66 20 62 6b 67 6e 64 | 20 62 75 74 74 6f 6e 20 |of bkgnd| button |
|00002990| 63 75 72 42 67 42 74 6e | 0d 65 6e 64 20 72 65 70 |curBgBtn|.end rep|
|000029a0| 65 61 74 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |eat.repe|at with |
|000029b0| 63 75 72 42 67 46 69 65 | 6c 64 20 3d 20 31 20 74 |curBgFie|ld = 1 t|
|000029c0| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|000029d0| 62 6b 67 6e 64 20 66 69 | 65 6c 64 73 0d 73 65 74 |bkgnd fi|elds.set|
|000029e0| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|000029f0| 69 66 20 74 68 65 20 73 | 63 72 69 70 74 20 6f 66 |if the s|cript of|
|00002a00| 20 62 6b 67 6e 64 20 66 | 69 65 6c 64 20 63 75 72 | bkgnd f|ield cur|
|00002a10| 42 67 46 69 65 6c 64 20 | 63 6f 6e 74 61 69 6e 73 |BgField |contains|
|00002a20| 20 70 61 74 74 65 72 6e | 0d 74 68 65 6e 20 65 64 | pattern|.then ed|
|00002a30| 69 74 20 73 63 72 69 70 | 74 20 6f 66 20 62 6b 67 |it scrip|t of bkg|
|00002a40| 6e 64 20 66 69 65 6c 64 | 20 63 75 72 42 67 46 69 |nd field| curBgFi|
|00002a50| 65 6c 64 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |eld.end |repeat.e|
|00002a60| 6e 64 20 72 65 70 65 61 | 74 0d 2d 2d 20 73 65 61 |nd repea|t.-- sea|
|00002a70| 72 63 68 20 74 68 65 20 | 63 61 72 64 20 73 63 72 |rch the |card scr|
|00002a80| 69 70 74 73 20 61 6e 64 | 20 6f 62 6a 65 63 74 73 |ipts and| objects|
|00002a90| 20 6f 66 20 74 68 65 20 | 73 74 61 63 6b 0d 72 65 | of the |stack.re|
|00002aa0| 70 65 61 74 20 77 69 74 | 68 20 63 75 72 43 61 72 |peat wit|h curCar|
|00002ab0| 64 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |d = 1 to| the num|
|00002ac0| 62 65 72 20 6f 66 20 63 | 61 72 64 73 0d 73 65 74 |ber of c|ards.set|
|00002ad0| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00002ae0| 67 6f 20 63 61 72 64 20 | 63 75 72 43 61 72 64 0d |go card |curCard.|
|00002af0| 69 66 20 74 68 65 20 73 | 63 72 69 70 74 20 6f 66 |if the s|cript of|
|00002b00| 20 74 68 69 73 20 63 61 | 72 64 20 63 6f 6e 74 61 | this ca|rd conta|
|00002b10| 69 6e 73 20 70 61 74 74 | 65 72 6e 0d 74 68 65 6e |ins patt|ern.then|
|00002b20| 20 65 64 69 74 20 73 63 | 72 69 70 74 20 6f 66 20 | edit sc|ript of |
|00002b30| 74 68 69 73 20 63 61 72 | 64 0d 72 65 70 65 61 74 |this car|d.repeat|
|00002b40| 20 77 69 74 68 20 63 75 | 72 43 64 42 74 6e 20 3d | with cu|rCdBtn =|
|00002b50| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|00002b60| 20 6f 66 20 63 61 72 64 | 20 62 75 74 74 6f 6e 73 | of card| buttons|
|00002b70| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00002b80| 75 73 79 0d 69 66 20 74 | 68 65 20 73 63 72 69 70 |usy.if t|he scrip|
|00002b90| 74 20 6f 66 20 63 61 72 | 64 20 62 75 74 74 6f 6e |t of car|d button|
|00002ba0| 20 63 75 72 43 64 42 74 | 6e 20 63 6f 6e 74 61 69 | curCdBt|n contai|
|00002bb0| 6e 73 20 70 61 74 74 65 | 72 6e 0d 74 68 65 6e 20 |ns patte|rn.then |
|00002bc0| 65 64 69 74 20 73 63 72 | 69 70 74 20 6f 66 20 63 |edit scr|ipt of c|
|00002bd0| 61 72 64 20 62 75 74 74 | 6f 6e 20 63 75 72 43 64 |ard butt|on curCd|
|00002be0| 42 74 6e 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 72 |Btn.end |repeat.r|
|00002bf0| 65 70 65 61 74 20 77 69 | 74 68 20 63 75 72 43 64 |epeat wi|th curCd|
|00002c00| 46 6c 64 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |Fld = 1 |to the n|
|00002c10| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 20 66 69 |umber of| card fi|
|00002c20| 65 6c 64 73 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |elds.set| cursor |
|00002c30| 74 6f 20 62 75 73 79 0d | 69 66 20 74 68 65 20 73 |to busy.|if the s|
|00002c40| 63 72 69 70 74 20 6f 66 | 20 63 61 72 64 20 66 69 |cript of| card fi|
|00002c50| 65 6c 64 20 63 75 72 43 | 64 46 6c 64 20 63 6f 6e |eld curC|dFld con|
|00002c60| 74 61 69 6e 73 20 70 61 | 74 74 65 72 6e 0d 74 68 |tains pa|ttern.th|
|00002c70| 65 6e 20 65 64 69 74 20 | 73 63 72 69 70 74 20 6f |en edit |script o|
|00002c80| 66 20 63 61 72 64 20 66 | 69 65 6c 64 20 63 75 72 |f card f|ield cur|
|00002c90| 43 64 46 6c 64 0d 65 6e | 64 20 72 65 70 65 61 74 |CdFld.en|d repeat|
|00002ca0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 6f 70 20 |.end rep|eat.pop |
|00002cb0| 63 61 72 64 20 2d 2d 20 | 72 65 74 75 72 6e 20 74 |card -- |return t|
|00002cc0| 6f 20 77 68 65 72 65 20 | 77 65 20 77 65 72 65 0d |o where |we were.|
|00002cd0| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|00002ce0| 20 74 6f 20 66 61 6c 73 | 65 0d 73 65 74 20 6c 6f | to fals|e.set lo|
|00002cf0| 63 6b 52 65 63 65 6e 74 | 20 74 6f 20 66 61 6c 73 |ckRecent| to fals|
|00002d00| 65 0d 72 65 73 74 6f 72 | 65 55 73 65 72 4c 65 76 |e.restor|eUserLev|
|00002d10| 65 6c 20 2d 2d 20 73 65 | 74 20 75 73 65 72 4c 65 |el -- se|t userLe|
|00002d20| 76 65 6c 20 62 61 63 6b | 20 74 6f 20 77 68 61 74 |vel back| to what|
|00002d30| 65 76 65 72 20 69 74 20 | 77 61 73 0d 61 6e 73 77 |ever it |was.answ|
|00002d40| 65 72 20 22 53 65 61 72 | 63 68 20 73 63 72 69 70 |er "Sear|ch scrip|
|00002d50| 74 20 64 6f 6e 65 21 22 | 20 2d 2d 20 c6 0d 65 6e |t done!"| -- ..en|
|00002d60| 64 20 73 65 61 72 63 68 | 53 63 72 69 70 74 0d 0d |d search|Script..|
|00002d70| 66 75 6e 63 74 69 6f 6e | 20 6c 61 73 74 48 43 49 |function| lastHCI|
|00002d80| 74 65 6d 20 64 65 6c 69 | 6d 2c 74 68 65 54 65 78 |tem deli|m,theTex|
|00002d90| 74 0d 2d 2d 20 72 65 74 | 75 72 6e 73 20 74 68 65 |t.-- ret|urns the|
|00002da0| 20 70 6f 72 74 69 6f 6e | 20 6f 66 20 3c 74 68 65 | portion| of <the|
|00002db0| 54 65 78 74 3e 20 74 68 | 61 74 20 66 6f 6c 6c 6f |Text> th|at follo|
|00002dc0| 77 73 20 74 68 65 20 6c | 61 73 74 20 3c 64 65 6c |ws the l|ast <del|
|00002dd0| 69 6d 3e 0d 69 66 20 64 | 65 6c 69 6d 20 69 73 20 |im>.if d|elim is |
|00002de0| 69 6e 20 74 68 65 54 65 | 78 74 20 74 68 65 6e 0d |in theTe|xt then.|
|00002df0| 70 75 74 20 6c 61 73 74 | 48 43 49 74 65 6d 28 64 |put last|HCItem(d|
|00002e00| 65 6c 69 6d 2c 63 68 61 | 72 20 6f 66 66 73 65 74 |elim,cha|r offset|
|00002e10| 28 64 65 6c 69 6d 2c 74 | 68 65 54 65 78 74 29 20 |(delim,t|heText) |
|00002e20| 2b 20 31 20 74 6f 20 c2 | 0d 6c 65 6e 67 74 68 28 |+ 1 to .|.length(|
|00002e30| 74 68 65 54 65 78 74 29 | 20 6f 66 20 74 68 65 54 |theText)| of theT|
|00002e40| 65 78 74 29 20 69 6e 74 | 6f 20 74 68 65 54 65 78 |ext) int|o theTex|
|00002e50| 74 0d 65 6e 64 20 69 66 | 0d 72 65 74 75 72 6e 20 |t.end if|.return |
|00002e60| 74 68 65 54 65 78 74 0d | 65 6e 64 20 6c 61 73 74 |theText.|end last|
|00002e70| 48 43 49 74 65 6d 0d 0d | 2d 2d 2d 2d 2d 20 20 4e |HCItem..|----- N|
|00002e80| 65 77 6c 69 6e 6b 20 48 | 61 6e 64 6c 65 72 73 20 |ewlink H|andlers |
|00002e90| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00002ea0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002eb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 6f 6e 20 |--------|---..on |
|00002ec0| 6e 65 77 4c 69 6e 6b 20 | 74 68 65 54 79 70 65 0d |newLink |theType.|
|00002ed0| 69 66 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |if the s|hort nam|
|00002ee0| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |e of thi|s stack |
|00002ef0| 3d 20 22 48 6f 6d 65 22 | 0d 74 68 65 6e 20 73 65 |= "Home"|.then se|
|00002f00| 6e 64 20 22 6e 65 77 4c | 69 6e 6b 22 20 26 26 20 |nd "newL|ink" && |
|00002f10| 74 68 65 54 79 70 65 20 | 74 6f 20 62 6b 67 6e 64 |theType |to bkgnd|
|00002f20| 20 69 64 20 32 37 31 37 | 0d 65 6e 64 20 6e 65 77 | id 2717|.end new|
|00002f30| 4c 69 6e 6b 0d 0d 2d 2d | 2d 2d 2d 20 20 46 6f 6e |Link..--|--- Fon|
|00002f40| 74 20 41 64 6a 75 73 74 | 6d 65 6e 74 20 53 63 72 |t Adjust|ment Scr|
|00002f50| 69 70 74 73 3a 20 20 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ipts: -|--------|
|00002f60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 0d 66 75 6e 63 74 |--------|-..funct|
|00002f80| 69 6f 6e 20 63 68 65 63 | 6b 48 43 46 6f 6e 74 20 |ion chec|kHCFont |
|00002f90| 74 68 65 46 6f 6e 74 2c | 70 6f 69 6e 74 53 69 7a |theFont,|pointSiz|
|00002fa0| 65 73 0d 2d 2d 20 52 65 | 71 75 69 72 65 73 20 58 |es.-- Re|quires X|
|00002fb0| 46 43 4e 3a 20 46 6f 6e | 74 45 78 69 73 74 73 0d |FCN: Fon|tExists.|
|00002fc0| 2d 2d 20 72 65 74 75 72 | 6e 73 20 61 20 6c 69 73 |-- retur|ns a lis|
|00002fd0| 74 20 6f 66 20 66 6f 6e | 74 20 73 69 7a 65 73 20 |t of fon|t sizes |
|00002fe0| 6e 65 65 64 65 64 20 62 | 75 74 20 6e 6f 74 20 69 |needed b|ut not i|
|00002ff0| 6e 20 74 68 65 20 73 79 | 73 74 65 6d 0d 70 75 74 |n the sy|stem.put|
|00003000| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 6d 69 73 73 | empty i|nto miss|
|00003010| 69 6e 67 0d 2d 2d 20 73 | 74 65 70 73 20 74 68 72 |ing.-- s|teps thr|
|00003020| 6f 75 67 68 20 65 61 63 | 68 20 70 6f 69 6e 74 20 |ough eac|h point |
|00003030| 73 69 7a 65 20 70 61 73 | 73 65 64 20 69 6e 0d 72 |size pas|sed in.r|
|00003040| 65 70 65 61 74 20 77 69 | 74 68 20 63 6f 75 6e 74 |epeat wi|th count|
|00003050| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00003060| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 69 6e 20 70 |er of it|ems in p|
|00003070| 6f 69 6e 74 53 69 7a 65 | 73 0d 70 75 74 20 69 74 |ointSize|s.put it|
|00003080| 65 6d 20 63 6f 75 6e 74 | 20 6f 66 20 70 6f 69 6e |em count| of poin|
|00003090| 74 53 69 7a 65 73 20 69 | 6e 74 6f 20 74 68 65 43 |tSizes i|nto theC|
|000030a0| 75 72 72 65 6e 74 50 74 | 53 69 7a 65 0d 69 66 20 |urrentPt|Size.if |
|000030b0| 6e 6f 74 20 46 6f 6e 74 | 45 78 69 73 74 73 28 74 |not Font|Exists(t|
|000030c0| 68 65 46 6f 6e 74 2c 74 | 68 65 43 75 72 72 65 6e |heFont,t|heCurren|
|000030d0| 74 50 74 53 69 7a 65 29 | 20 2d 2d 20 69 66 20 63 |tPtSize)| -- if c|
|000030e0| 61 6e 27 74 20 66 69 6e | 64 20 69 74 0d 74 68 65 |an't fin|d it.the|
|000030f0| 6e 20 70 75 74 20 74 68 | 65 43 75 72 72 65 6e 74 |n put th|eCurrent|
|00003100| 50 74 53 69 7a 65 20 26 | 20 22 2c 22 20 61 66 74 |PtSize &| "," aft|
|00003110| 65 72 20 6d 69 73 73 69 | 6e 67 0d 65 6e 64 20 72 |er missi|ng.end r|
|00003120| 65 70 65 61 74 0d 69 66 | 20 6d 69 73 73 69 6e 67 |epeat.if| missing|
|00003130| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00003140| 65 6e 0d 70 75 74 20 74 | 68 65 46 6f 6e 74 20 26 |en.put t|heFont &|
|00003150| 20 73 70 61 63 65 20 62 | 65 66 6f 72 65 20 6d 69 | space b|efore mi|
|00003160| 73 73 69 6e 67 0d 64 65 | 6c 65 74 65 20 6c 61 73 |ssing.de|lete las|
|00003170| 74 20 63 68 61 72 20 6f | 66 20 6d 69 73 73 69 6e |t char o|f missin|
|00003180| 67 0d 70 75 74 20 72 65 | 74 75 72 6e 20 61 66 74 |g.put re|turn aft|
|00003190| 65 72 20 6d 69 73 73 69 | 6e 67 0d 65 6e 64 20 69 |er missi|ng.end i|
|000031a0| 66 0d 72 65 74 75 72 6e | 20 6d 69 73 73 69 6e 67 |f.return| missing|
|000031b0| 0d 65 6e 64 20 63 68 65 | 63 6b 48 43 46 6f 6e 74 |.end che|ckHCFont|
|000031c0| 0d 0d 6f 6e 20 63 68 65 | 63 6b 46 6f 72 4d 69 73 |..on che|ckForMis|
|000031d0| 73 69 6e 67 46 6f 6e 74 | 73 0d 2d 2d 20 52 65 71 |singFont|s.-- Req|
|000031e0| 75 69 72 65 73 20 68 61 | 6e 64 6c 65 72 3a 20 63 |uires ha|ndler: c|
|000031f0| 68 65 63 6b 48 43 46 6f | 6e 74 0d 2d 2d 20 63 68 |heckHCFo|nt.-- ch|
|00003200| 65 63 6b 20 74 6f 20 73 | 65 65 20 69 66 20 74 68 |eck to s|ee if th|
|00003210| 65 20 66 6f 6e 74 73 20 | 6e 65 65 64 65 64 20 66 |e fonts |needed f|
|00003220| 6f 72 20 74 68 65 20 73 | 74 61 63 6b 73 20 61 72 |or the s|tacks ar|
|00003230| 65 0d 2d 2d 20 69 6e 73 | 74 61 6c 6c 65 64 20 69 |e.-- ins|talled i|
|00003240| 6e 20 74 68 65 20 73 79 | 73 74 65 6d 2e 20 49 6e |n the sy|stem. In|
|00003250| 66 6f 72 6d 20 74 68 65 | 20 75 73 65 72 20 69 66 |form the| user if|
|00003260| 20 74 68 65 79 27 72 65 | 20 6e 6f 74 2e 0d 67 65 | they're| not..ge|
|00003270| 74 20 63 68 65 63 6b 48 | 43 46 6f 6e 74 28 22 43 |t checkH|CFont("C|
|00003280| 6f 75 72 69 65 72 22 2c | 22 39 2c 31 32 22 29 20 |ourier",|"9,12") |
|00003290| 26 20 63 68 65 63 6b 48 | 43 46 6f 6e 74 28 22 47 |& checkH|CFont("G|
|000032a0| 65 6e 65 76 61 22 2c 22 | 31 30 2c 31 34 22 29 20 |eneva","|10,14") |
|000032b0| 26 20 c2 0d 63 68 65 63 | 6b 48 43 46 6f 6e 74 28 |& ..chec|kHCFont(|
|000032c0| 22 50 61 6c 61 74 69 6e | 6f 22 2c 22 31 30 2c 31 |"Palatin|o","10,1|
|000032d0| 32 2c 31 34 2c 31 38 2c | 32 34 22 29 20 26 20 c2 |2,14,18,|24") & .|
|000032e0| 0d 63 68 65 63 6b 48 43 | 46 6f 6e 74 28 22 48 65 |.checkHC|Font("He|
|000032f0| 6c 76 65 74 69 63 61 22 | 2c 22 31 38 2c 32 34 22 |lvetica"|,"18,24"|
|00003300| 29 20 2d 2d 20 74 68 65 | 73 65 20 61 72 65 20 66 |) -- the|se are f|
|00003310| 6f 6e 74 73 20 6e 65 65 | 64 65 64 20 62 79 20 74 |onts nee|ded by t|
|00003320| 68 69 73 20 73 74 61 63 | 6b 0d 69 66 20 69 74 20 |his stac|k.if it |
|00003330| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 |is empty| then ex|
|00003340| 69 74 20 63 68 65 63 6b | 46 6f 72 4d 69 73 73 69 |it check|ForMissi|
|00003350| 6e 67 46 6f 6e 74 73 0d | 65 6c 73 65 20 70 75 74 |ngFonts.|else put|
|00003360| 20 69 74 20 69 6e 74 6f | 20 6d 69 73 73 69 6e 67 | it into| missing|
|00003370| 46 6f 6e 74 73 0d 62 65 | 65 70 20 31 0d 2d 2d 20 |Fonts.be|ep 1.-- |
|00003380| 74 68 69 73 20 64 69 61 | 6c 6f 67 20 69 6e 66 6f |this dia|log info|
|00003390| 72 6d 73 20 74 68 65 20 | 75 73 65 72 20 77 68 69 |rms the |user whi|
|000033a0| 63 68 20 66 6f 6e 74 73 | 20 61 72 65 20 6d 69 73 |ch fonts| are mis|
|000033b0| 73 69 6e 67 0d 61 6e 73 | 77 65 72 20 22 54 68 65 |sing.ans|wer "The|
|000033c0| 73 65 20 66 6f 6e 74 28 | 73 29 20 61 72 65 20 6d |se font(|s) are m|
|000033d0| 69 73 73 69 6e 67 20 66 | 72 6f 6d 20 79 6f 75 72 |issing f|rom your|
|000033e0| 20 73 79 73 74 65 6d 3a | 22 20 26 20 c2 0d 72 65 | system:|" & ..re|
|000033f0| 74 75 72 6e 20 26 20 72 | 65 74 75 72 6e 20 26 20 |turn & r|eturn & |
|00003400| 6d 69 73 73 69 6e 67 46 | 6f 6e 74 73 20 26 20 72 |missingF|onts & r|
|00003410| 65 74 75 72 6e 20 26 20 | c2 0d 22 46 6f 72 20 74 |eturn & |.."For t|
|00003420| 65 78 74 20 74 6f 20 64 | 69 73 70 6c 61 79 20 63 |ext to d|isplay c|
|00003430| 6f 72 72 65 63 74 6c 79 | 20 69 6e 20 74 68 65 20 |orrectly| in the |
|00003440| 73 74 61 63 6b 73 2c 20 | 6d 61 6b 65 20 73 75 72 |stacks, |make sur|
|00003450| 65 20 79 6f 75 20 68 61 | 76 65 22 20 c2 0d 26 26 |e you ha|ve" ..&&|
|00003460| 20 22 69 6e 73 74 61 6c | 6c 65 64 20 74 68 65 20 | "instal|led the |
|00003470| 66 6f 6e 74 73 20 69 6e | 63 6c 75 64 65 64 20 77 |fonts in|cluded w|
|00003480| 69 74 68 20 48 79 70 65 | 72 43 61 72 64 2e 22 20 |ith Hype|rCard." |
|00003490| 2d 2d 20 c6 0d 65 6e 64 | 20 63 68 65 63 6b 46 6f |-- ..end| checkFo|
|000034a0| 72 4d 69 73 73 69 6e 67 | 46 6f 6e 74 73 00 00 00 |rMissing|Fonts...|
|000034b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003680| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00003690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036a0| 00 05 36 82 00 05 77 48 | 00 01 f4 9d 00 05 5b e5 |..6...wH|......[.|
|000036b0| 00 04 71 12 00 04 97 bd | 00 04 47 db 00 04 4c 4c |..q.....|..G...LL|
|000036c0| 00 03 3e 03 00 03 84 83 | 00 05 51 c2 00 05 fb 40 |..>.....|..Q....@|
|000036d0| 00 05 58 05 00 05 bb 4c | 00 04 b5 42 00 00 00 00 |..X....L|...B....|
|000036e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000036f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003700| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003770| 00 00 00 00 00 00 00 00 | 00 03 89 ce 00 00 00 00 |........|........|
|00003780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037b0| 00 00 00 00 00 03 39 b2 | 00 00 00 00 00 00 00 00 |......9.|........|
|000037c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003880| 00 00 06 80 46 52 45 45 | 00 00 00 00 00 00 00 00 |....FREE|........|
|00003890| 0f 46 72 65 65 20 4f 62 | 6a 65 63 74 20 20 20 20 |.Free Ob|ject |
|000038a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003e90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003f00| 00 00 28 a0 42 4b 47 44 | 00 00 0a 9d 00 00 00 00 |..(.BKGD|........|
|00003f10| 00 00 4d b2 40 00 00 00 | 00 00 00 01 00 00 10 03 |..M.@...|........|
|00003f20| 00 00 3e ce 00 05 00 ab | 00 00 02 04 00 02 00 00 |..>.....|........|
|00003f30| 00 3e 00 26 00 a7 02 08 | 00 0f 00 be 00 2e 01 32 |.>.&....|.......2|
|00003f40| 20 00 00 00 00 00 ff ff | 00 10 00 12 00 00 00 18 | .......|........|
|00003f50| 68 6f 6d 65 00 00 00 00 | 00 2c 00 07 02 01 00 0f |home....|.,......|
|00003f60| 00 0a 00 2e 00 e4 20 00 | 00 00 00 00 00 00 00 10 |...... .|........|
|00003f70| 00 12 00 00 00 18 63 61 | 72 64 20 74 69 74 6c 65 |......ca|rd title|
|00003f80| 00 00 00 00 00 9a 00 a8 | 01 00 00 fa 00 0a 01 18 |........|........|
|00003f90| 00 1e 20 00 00 00 70 8a | 00 01 00 00 00 0c 00 00 |.. ...p.|........|
|00003fa0| 00 10 6c 65 66 74 20 61 | 72 72 6f 77 00 00 6f 6e |..left a|rrow..on|
|00003fb0| 20 6d 6f 75 73 65 55 70 | 0d 76 69 73 75 61 6c 20 | mouseUp|.visual |
|00003fc0| 65 66 66 65 63 74 20 77 | 69 70 65 20 72 69 67 68 |effect w|ipe righ|
|00003fd0| 74 0d 69 66 20 74 68 65 | 20 63 6f 6d 6d 61 6e 64 |t.if the| command|
|00003fe0| 4b 65 79 20 69 73 20 64 | 6f 77 6e 20 74 68 65 6e |Key is d|own then|
|00003ff0| 20 67 6f 20 66 69 72 73 | 74 20 63 61 72 64 0d 65 | go firs|t card.e|
|00004000| 6c 73 65 20 67 6f 20 70 | 72 65 76 20 63 61 72 64 |lse go p|rev card|
|00004010| 0d 65 6e 64 20 6d 6f 75 | 73 65 55 70 00 00 00 80 |.end mou|seUp....|
|00004020| 00 a9 02 09 00 fb 00 51 | 01 15 00 eb 00 00 00 00 |.......Q|........|
|00004030| 00 00 00 01 00 03 00 09 | 00 00 00 0c 43 6f 70 79 |........|....Copy|
|00004040| 72 69 67 68 74 00 00 6f | 6e 20 6d 6f 75 73 65 55 |right..o|n mouseU|
|00004050| 70 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |p.if the|re is a |
|00004060| 63 61 72 64 20 66 69 65 | 6c 64 20 22 54 65 61 6d |card fie|ld "Team|
|00004070| 49 6e 66 6f 22 20 74 68 | 65 6e 20 73 68 6f 77 20 |Info" th|en show |
|00004080| 63 61 72 64 20 66 69 65 | 6c 64 20 69 64 20 32 31 |card fie|ld id 21|
|00004090| 31 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 00 00 98 |1.end mo|useUp...|
|000040a0| 00 aa 01 00 00 fa 01 1f | 01 18 01 34 20 00 00 00 |........|...4 ...|
|000040b0| 70 8b 00 01 00 00 00 0c | 00 00 00 10 72 69 67 68 |p.......|....righ|
|000040c0| 74 20 61 72 72 6f 77 00 | 00 6f 6e 20 6d 6f 75 73 |t arrow.|.on mous|
|000040d0| 65 55 70 0d 76 69 73 75 | 61 6c 20 65 66 66 65 63 |eUp.visu|al effec|
|000040e0| 74 20 77 69 70 65 20 6c | 65 66 74 0d 69 66 20 74 |t wipe l|eft.if t|
|000040f0| 68 65 20 63 6f 6d 6d 61 | 6e 64 4b 65 79 20 69 73 |he comma|ndKey is|
|00004100| 20 64 6f 77 6e 20 74 68 | 65 6e 20 67 6f 20 6c 61 | down th|en go la|
|00004110| 73 74 20 63 61 72 64 0d | 65 6c 73 65 20 67 6f 20 |st card.|else go |
|00004120| 6e 65 78 74 20 63 61 72 | 64 0d 65 6e 64 20 6d 6f |next car|d.end mo|
|00004130| 75 73 65 55 70 00 00 a7 | 00 05 00 48 6f 6d 65 00 |useUp...|...Home.|
|00004140| 00 a9 00 2f 00 a9 31 39 | 39 31 20 41 70 70 6c 65 |.../..19|91 Apple|
|00004150| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 0d | Compute|r, Inc..|
|00004160| 41 6c 6c 20 52 69 67 68 | 74 73 20 52 65 73 65 72 |All Righ|ts Reser|
|00004170| 76 65 64 00 48 6f 6d 65 | 20 43 61 72 64 73 00 b0 |ved.Home| Cards..|
|00004180| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004190| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000041a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000041b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000041c0| b0 b0 b0 b0 b0 b0 0d 53 | 63 72 69 70 74 20 6f 66 |.......S|cript of|
|000041d0| 20 53 74 61 63 6b 3a 20 | 48 6f 6d 65 0d 0d 54 48 | Stack: |Home..TH|
|000041e0| 45 20 4d 45 53 53 41 47 | 45 20 48 41 4e 44 4c 45 |E MESSAG|E HANDLE|
|000041f0| 52 53 20 49 4e 20 54 48 | 49 53 20 53 43 52 49 50 |RS IN TH|IS SCRIP|
|00004200| 54 3a 0d 6f 70 65 6e 53 | 74 61 63 6b 2c 63 6c 6f |T:.openS|tack,clo|
|00004210| 73 65 53 74 61 63 6b 2c | 6f 70 65 6e 42 61 63 6b |seStack,|openBack|
|00004220| 67 72 6f 75 6e 64 2c 63 | 6c 6f 73 65 42 61 63 6b |ground,c|loseBack|
|00004230| 67 72 6f 75 6e 64 2c 0d | 73 75 73 70 65 6e 64 53 |ground,.|suspendS|
|00004240| 74 61 63 6b 2c 72 65 73 | 75 6d 65 53 74 61 63 6b |tack,res|umeStack|
|00004250| 2c 75 70 64 61 74 65 48 | 6f 6d 65 4d 65 6e 75 2c |,updateH|omeMenu,|
|00004260| 6e 65 77 4c 69 6e 6b 2c | 6d 61 6b 65 4e 65 77 48 |newLink,|makeNewH|
|00004270| 43 42 75 74 74 6f 6e 0d | 64 72 61 67 48 43 42 75 |CButton.|dragHCBu|
|00004280| 74 74 6f 6e 2c 75 70 64 | 61 74 65 48 43 50 61 74 |tton,upd|ateHCPat|
|00004290| 68 73 2c 73 65 6c 65 63 | 74 48 43 46 69 6c 65 2c |hs,selec|tHCFile,|
|000042a0| 67 65 74 48 43 50 61 74 | 68 4e 61 6d 65 2c 6d 65 |getHCPat|hName,me|
|000042b0| 6d 45 72 72 6f 72 53 63 | 72 69 70 74 0d 77 72 69 |mErrorSc|ript.wri|
|000042c0| 74 65 48 43 53 63 72 69 | 70 74 2c 73 74 72 69 6e |teHCScri|pt,strin|
|000042d0| 67 49 73 49 6e 43 6f 6e | 74 61 69 6e 65 72 0d b0 |gIsInCon|tainer..|
|000042e0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000042f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004300| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004310| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004320| b0 b0 b0 b0 b0 b0 0d 0d | 6f 6e 20 6f 70 65 6e 53 |........|on openS|
|00004330| 74 61 63 6b 0d 2d 2d 20 | 72 65 6d 6f 76 65 20 61 |tack.-- |remove a|
|00004340| 6e 79 20 73 69 6d 69 6c | 61 72 20 6d 65 6e 75 73 |ny simil|ar menus|
|00004350| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|00004360| 65 6e 75 20 22 48 6f 6d | 65 22 20 74 68 65 6e 20 |enu "Hom|e" then |
|00004370| 64 65 6c 65 74 65 20 6d | 65 6e 75 20 22 48 6f 6d |delete m|enu "Hom|
|00004380| 65 22 20 2d 2d 20 c6 0d | 70 61 73 73 20 6f 70 65 |e" -- ..|pass ope|
|00004390| 6e 53 74 61 63 6b 20 2d | 2d 20 73 6f 20 6f 74 68 |nStack -|- so oth|
|000043a0| 65 72 73 20 63 61 6e 20 | 75 73 65 20 69 74 0d 65 |ers can |use it.e|
|000043b0| 6e 64 20 6f 70 65 6e 53 | 74 61 63 6b 0d 0d 6f 6e |nd openS|tack..on|
|000043c0| 20 63 6c 6f 73 65 53 74 | 61 63 6b 0d 69 66 20 28 | closeSt|ack.if (|
|000043d0| 74 68 65 72 65 20 69 73 | 20 61 20 6d 65 6e 75 20 |there is| a menu |
|000043e0| 22 48 6f 6d 65 22 29 20 | 61 6e 64 20 28 74 68 65 |"Home") |and (the|
|000043f0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00004400| 68 69 73 20 73 74 61 63 | 6b 20 69 73 20 22 48 6f |his stac|k is "Ho|
|00004410| 6d 65 22 29 0d 74 68 65 | 6e 20 64 65 6c 65 74 65 |me").the|n delete|
|00004420| 20 6d 65 6e 75 20 22 48 | 6f 6d 65 22 20 2d 2d 20 | menu "H|ome" -- |
|00004430| c6 0d 70 61 73 73 20 63 | 6c 6f 73 65 53 74 61 63 |..pass c|loseStac|
|00004440| 6b 20 2d 2d 20 73 6f 20 | 6f 74 68 65 72 73 20 63 |k -- so |others c|
|00004450| 61 6e 20 75 73 65 20 69 | 74 0d 65 6e 64 20 63 6c |an use i|t.end cl|
|00004460| 6f 73 65 53 74 61 63 6b | 0d 0d 6f 6e 20 6f 70 65 |oseStack|..on ope|
|00004470| 6e 42 61 63 6b 67 72 6f | 75 6e 64 0d 2d 2d 20 52 |nBackgro|und.-- R|
|00004480| 65 71 75 69 72 65 73 20 | 68 61 6e 64 6c 65 72 73 |equires |handlers|
|00004490| 3a 20 63 72 65 61 74 65 | 54 68 65 4d 65 6e 75 73 |: create|TheMenus|
|000044a0| 2c 75 70 64 61 74 65 48 | 6f 6d 65 4d 65 6e 75 0d |,updateH|omeMenu.|
|000044b0| 2d 2d 20 6d 61 6b 65 20 | 74 68 65 20 22 48 6f 6d |-- make |the "Hom|
|000044c0| 65 22 20 6d 65 6e 75 20 | 69 66 20 6e 65 63 65 73 |e" menu |if neces|
|000044d0| 73 61 72 79 0d 63 72 65 | 61 74 65 54 68 65 4d 65 |sary.cre|ateTheMe|
|000044e0| 6e 75 73 0d 2d 2d 20 75 | 70 64 61 74 65 20 68 6f |nus.-- u|pdate ho|
|000044f0| 6d 65 20 6d 65 6e 75 20 | 66 6f 72 20 74 68 69 73 |me menu |for this|
|00004500| 20 62 6b 67 6e 64 0d 75 | 70 64 61 74 65 48 6f 6d | bkgnd.u|pdateHom|
|00004510| 65 4d 65 6e 75 20 74 72 | 75 65 0d 70 61 73 73 20 |eMenu tr|ue.pass |
|00004520| 6f 70 65 6e 42 61 63 6b | 67 72 6f 75 6e 64 20 2d |openBack|ground -|
|00004530| 2d 20 73 6f 20 6f 74 68 | 65 72 73 20 63 61 6e 20 |- so oth|ers can |
|00004540| 75 73 65 20 69 74 0d 65 | 6e 64 20 6f 70 65 6e 42 |use it.e|nd openB|
|00004550| 61 63 6b 67 72 6f 75 6e | 64 0d 0d 6f 6e 20 63 6c |ackgroun|d..on cl|
|00004560| 6f 73 65 42 61 63 6b 67 | 72 6f 75 6e 64 0d 2d 2d |oseBackg|round.--|
|00004570| 20 52 65 71 75 69 72 65 | 73 20 68 61 6e 64 6c 65 | Require|s handle|
|00004580| 72 73 3a 20 75 70 64 61 | 74 65 48 6f 6d 65 4d 65 |rs: upda|teHomeMe|
|00004590| 6e 75 0d 2d 2d 20 75 70 | 64 61 74 65 20 68 6f 6d |nu.-- up|date hom|
|000045a0| 65 20 6d 65 6e 75 20 66 | 6f 72 20 74 68 69 73 20 |e menu f|or this |
|000045b0| 62 6b 67 6e 64 0d 75 70 | 64 61 74 65 48 6f 6d 65 |bkgnd.up|dateHome|
|000045c0| 4d 65 6e 75 20 66 61 6c | 73 65 0d 70 61 73 73 20 |Menu fal|se.pass |
|000045d0| 63 6c 6f 73 65 42 61 63 | 6b 67 72 6f 75 6e 64 20 |closeBac|kground |
|000045e0| 2d 2d 20 73 6f 20 6f 74 | 68 65 72 73 20 63 61 6e |-- so ot|hers can|
|000045f0| 20 75 73 65 20 69 74 0d | 65 6e 64 20 63 6c 6f 73 | use it.|end clos|
|00004600| 65 42 61 63 6b 67 72 6f | 75 6e 64 0d 0d 6f 6e 20 |eBackgro|und..on |
|00004610| 73 75 73 70 65 6e 64 53 | 74 61 63 6b 0d 69 66 20 |suspendS|tack.if |
|00004620| 28 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 |(there i|s a menu|
|00004630| 20 22 48 6f 6d 65 22 29 | 20 61 6e 64 20 28 74 68 | "Home")| and (th|
|00004640| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00004650| 74 68 69 73 20 73 74 61 | 63 6b 20 69 73 20 22 48 |this sta|ck is "H|
|00004660| 6f 6d 65 22 29 0d 74 68 | 65 6e 20 64 65 6c 65 74 |ome").th|en delet|
|00004670| 65 20 6d 65 6e 75 20 22 | 48 6f 6d 65 22 20 2d 2d |e menu "|Home" --|
|00004680| 20 c6 0d 70 61 73 73 20 | 73 75 73 70 65 6e 64 53 | ..pass |suspendS|
|00004690| 74 61 63 6b 20 2d 2d 20 | 73 6f 20 6f 74 68 65 72 |tack -- |so other|
|000046a0| 73 20 63 61 6e 20 75 73 | 65 20 69 74 0d 65 6e 64 |s can us|e it.end|
|000046b0| 20 73 75 73 70 65 6e 64 | 53 74 61 63 6b 0d 0d 6f | suspend|Stack..o|
|000046c0| 6e 20 72 65 73 75 6d 65 | 53 74 61 63 6b 0d 2d 2d |n resume|Stack.--|
|000046d0| 20 52 65 71 75 69 72 65 | 73 20 68 61 6e 64 6c 65 | Require|s handle|
|000046e0| 72 73 3a 20 63 72 65 61 | 74 65 54 68 65 4d 65 6e |rs: crea|teTheMen|
|000046f0| 75 73 2c 75 70 64 61 74 | 65 48 6f 6d 65 4d 65 6e |us,updat|eHomeMen|
|00004700| 75 0d 2d 2d 20 6d 61 6b | 65 20 74 68 65 20 22 48 |u.-- mak|e the "H|
|00004710| 6f 6d 65 22 20 6d 65 6e | 75 20 69 66 20 6e 65 63 |ome" men|u if nec|
|00004720| 65 73 73 61 72 79 0d 63 | 72 65 61 74 65 54 68 65 |essary.c|reateThe|
|00004730| 4d 65 6e 75 73 20 74 72 | 75 65 20 2d 2d 20 66 6f |Menus tr|ue -- fo|
|00004740| 72 63 65 20 6e 65 77 20 | 22 48 6f 6d 65 22 20 6d |rce new |"Home" m|
|00004750| 65 6e 75 0d 75 70 64 61 | 74 65 48 6f 6d 65 4d 65 |enu.upda|teHomeMe|
|00004760| 6e 75 20 74 72 75 65 0d | 70 61 73 73 20 72 65 73 |nu true.|pass res|
|00004770| 75 6d 65 53 74 61 63 6b | 20 2d 2d 20 73 6f 20 6f |umeStack| -- so o|
|00004780| 74 68 65 72 73 20 63 61 | 6e 20 75 73 65 20 69 74 |thers ca|n use it|
|00004790| 0d 65 6e 64 20 72 65 73 | 75 6d 65 53 74 61 63 6b |.end res|umeStack|
|000047a0| 0d 0d 6f 6e 20 75 70 64 | 61 74 65 48 6f 6d 65 4d |..on upd|ateHomeM|
|000047b0| 65 6e 75 20 73 74 61 74 | 75 73 0d 2d 2d 20 75 70 |enu stat|us.-- up|
|000047c0| 64 61 74 65 20 74 68 65 | 20 22 48 6f 6d 65 22 20 |date the| "Home" |
|000047d0| 6d 65 6e 75 20 66 6f 72 | 20 74 68 69 73 20 62 61 |menu for| this ba|
|000047e0| 63 6b 67 72 6f 75 6e 64 | 0d 69 66 20 74 68 65 72 |ckground|.if ther|
|000047f0| 65 20 69 73 20 6e 6f 20 | 6d 65 6e 75 20 22 48 6f |e is no |menu "Ho|
|00004800| 6d 65 22 20 74 68 65 6e | 20 65 78 69 74 20 75 70 |me" then| exit up|
|00004810| 64 61 74 65 48 6f 6d 65 | 4d 65 6e 75 20 2d 2d 20 |dateHome|Menu -- |
|00004820| c6 0d 73 65 74 20 63 68 | 65 63 6b 4d 61 72 6b 20 |..set ch|eckMark |
|00004830| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 48 6f 6d |of menuI|tem "Hom|
|00004840| 65 20 43 61 72 64 22 20 | 6f 66 20 6d 65 6e 75 20 |e Card" |of menu |
|00004850| 22 48 6f 6d 65 22 20 74 | 6f 20 73 74 61 74 75 73 |"Home" t|o status|
|00004860| 20 2d 2d 20 c6 0d 65 6e | 64 20 75 70 64 61 74 65 | -- ..en|d update|
|00004870| 48 6f 6d 65 4d 65 6e 75 | 0d 0d 2d 2d 2d 2d 2d 20 |HomeMenu|..----- |
|00004880| 20 4e 65 77 4c 69 6e 6b | 20 53 63 72 69 70 74 73 | NewLink| Scripts|
|00004890| 20 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | ------|--------|
|000048a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000048b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|000048c0| 6f 6e 20 6e 65 77 4c 69 | 6e 6b 20 66 69 6c 65 54 |on newLi|nk fileT|
|000048d0| 79 70 65 0d 2d 2d 20 52 | 65 71 75 69 72 65 73 20 |ype.-- R|equires |
|000048e0| 68 61 6e 64 6c 65 72 73 | 3a 20 64 69 73 61 6c 6c |handlers|: disall|
|000048f0| 6f 77 49 6e 74 65 72 72 | 75 70 74 69 6f 6e 2c 61 |owInterr|uption,a|
|00004900| 6c 6c 6f 77 49 6e 74 65 | 72 72 75 70 74 69 6f 6e |llowInte|rruption|
|00004910| 0d 2d 2d 20 52 65 71 75 | 69 72 65 73 20 68 61 6e |.-- Requ|ires han|
|00004920| 64 6c 65 72 73 3a 20 6d | 61 6b 65 4e 65 77 48 43 |dlers: m|akeNewHC|
|00004930| 42 75 74 74 6f 6e 2c 64 | 72 61 67 48 43 42 75 74 |Button,d|ragHCBut|
|00004940| 74 6f 6e 2c 75 70 64 61 | 74 65 48 43 50 61 74 68 |ton,upda|teHCPath|
|00004950| 73 0d 2d 2d 20 52 65 71 | 75 69 72 65 73 20 66 75 |s.-- Req|uires fu|
|00004960| 6e 63 74 69 6f 6e 20 68 | 61 6e 64 6c 65 72 73 3a |nction h|andlers:|
|00004970| 20 73 65 6c 65 63 74 48 | 43 46 69 6c 65 2c 6c 61 | selectH|CFile,la|
|00004980| 73 74 48 43 49 74 65 6d | 2c 67 65 74 48 43 50 61 |stHCItem|,getHCPa|
|00004990| 74 68 4e 61 6d 65 2c 77 | 72 69 74 65 48 43 53 63 |thName,w|riteHCSc|
|000049a0| 72 69 70 74 0d 2d 2d 20 | 41 6c 6c 6f 77 73 20 79 |ript.-- |Allows y|
|000049b0| 6f 75 20 74 6f 20 73 65 | 6c 65 63 74 20 61 20 73 |ou to se|lect a s|
|000049c0| 74 61 63 6b 2c 20 61 70 | 70 6c 69 63 61 74 69 6f |tack, ap|plicatio|
|000049d0| 6e 20 6f 72 20 64 6f 63 | 75 6d 65 6e 74 20 66 72 |n or doc|ument fr|
|000049e0| 6f 6d 20 61 6e 0d 2d 2d | 20 61 6e 73 77 65 72 20 |om an.--| answer |
|000049f0| 64 69 61 6c 6f 67 2c 20 | 61 6e 64 20 63 72 65 61 |dialog, |and crea|
|00004a00| 74 65 20 61 20 62 75 74 | 74 6f 6e 20 74 6f 20 6f |te a but|ton to o|
|00004a10| 70 65 6e 20 74 68 61 74 | 20 66 69 6c 65 2e 0d 2d |pen that| file..-|
|00004a20| 2d 20 54 68 69 73 20 69 | 73 20 74 68 65 20 6d 61 |- This i|s the ma|
|00004a30| 69 6e 20 6e 65 77 4c 69 | 6e 6b 20 68 61 6e 64 6c |in newLi|nk handl|
|00004a40| 65 72 20 61 6e 64 20 63 | 61 6e 20 62 65 20 63 61 |er and c|an be ca|
|00004a50| 6c 6c 65 64 20 66 72 6f | 6d 20 61 6e 79 20 73 74 |lled fro|m any st|
|00004a60| 61 63 6b 0d 0d 70 75 74 | 20 76 69 73 69 62 6c 65 |ack..put| visible|
|00004a70| 20 6f 66 20 6d 73 67 20 | 62 6f 78 20 69 6e 74 6f | of msg |box into|
|00004a80| 20 73 61 76 65 56 69 73 | 4d 73 67 42 6f 78 20 2d | saveVis|MsgBox -|
|00004a90| 2d 20 74 6f 20 72 65 73 | 74 6f 72 65 20 69 74 20 |- to res|tore it |
|00004aa0| 6c 61 74 65 72 0d 2d 2d | 20 69 66 20 6e 6f 20 66 |later.--| if no f|
|00004ab0| 69 6c 65 20 74 79 70 65 | 20 69 73 20 67 69 76 65 |ile type| is give|
|00004ac0| 6e 2c 20 64 65 74 65 72 | 6d 69 6e 65 20 77 68 61 |n, deter|mine wha|
|00004ad0| 74 20 74 79 70 65 20 6f | 66 20 66 69 6c 65 20 74 |t type o|f file t|
|00004ae0| 6f 20 6c 69 6e 6b 20 74 | 6f 0d 69 66 20 28 66 69 |o link t|o.if (fi|
|00004af0| 6c 65 54 79 70 65 20 69 | 73 20 6e 6f 74 20 69 6e |leType i|s not in|
|00004b00| 20 22 73 74 61 63 6b 20 | 64 6f 63 75 6d 65 6e 74 | "stack |document|
|00004b10| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 66 69 6c | applica|tion fil|
|00004b20| 65 22 29 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |e") then|.answer |
|00004b30| 22 43 72 65 61 74 65 20 | 62 75 74 74 6f 6e 20 6c |"Create |button l|
|00004b40| 69 6e 6b 65 64 20 74 6f | 20 61 20 73 74 61 63 6b |inked to| a stack|
|00004b50| 20 6f 72 20 66 69 6c 65 | 3f 22 20 c2 0d 77 69 74 | or file|?" ..wit|
|00004b60| 68 20 22 43 61 6e 63 65 | 6c 22 20 6f 72 20 22 46 |h "Cance|l" or "F|
|00004b70| 69 6c 65 22 20 6f 72 20 | 22 53 74 61 63 6b 22 20 |ile" or |"Stack" |
|00004b80| 2d 2d 20 c6 0d 69 66 20 | 69 74 20 69 73 20 65 6d |-- ..if |it is em|
|00004b90| 70 74 79 20 6f 72 20 69 | 74 20 69 73 20 22 43 61 |pty or i|t is "Ca|
|00004ba0| 6e 63 65 6c 22 20 74 68 | 65 6e 20 65 78 69 74 20 |ncel" th|en exit |
|00004bb0| 6e 65 77 4c 69 6e 6b 20 | 2d 2d 20 c6 0d 69 66 20 |newLink |-- ..if |
|00004bc0| 69 74 20 69 73 20 22 46 | 69 6c 65 22 20 2d 2d 20 |it is "F|ile" -- |
|00004bd0| c6 0d 74 68 65 6e 20 70 | 75 74 20 22 46 69 6c 65 |..then p|ut "File|
|00004be0| 22 20 69 6e 74 6f 20 66 | 69 6c 65 54 79 70 65 0d |" into f|ileType.|
|00004bf0| 65 6c 73 65 20 70 75 74 | 20 22 53 74 61 63 6b 22 |else put| "Stack"|
|00004c00| 20 69 6e 74 6f 20 66 69 | 6c 65 54 79 70 65 0d 65 | into fi|leType.e|
|00004c10| 6e 64 20 69 66 0d 0d 2d | 2d 20 69 66 20 69 74 27 |nd if..-|- if it'|
|00004c20| 73 20 61 20 66 69 6c 65 | 20 64 65 74 65 72 6d 69 |s a file| determi|
|00004c30| 6e 65 20 77 68 61 74 20 | 6b 69 6e 64 20 6f 66 20 |ne what |kind of |
|00004c40| 66 69 6c 65 20 69 74 20 | 69 73 0d 69 66 20 66 69 |file it |is.if fi|
|00004c50| 6c 65 54 79 70 65 20 69 | 73 20 22 46 69 6c 65 22 |leType i|s "File"|
|00004c60| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 43 72 | then.an|swer "Cr|
|00004c70| 65 61 74 65 20 62 75 74 | 74 6f 6e 20 6c 69 6e 6b |eate but|ton link|
|00004c80| 65 64 20 74 6f 20 61 20 | 64 6f 63 75 6d 65 6e 74 |ed to a |document|
|00004c90| 20 6f 72 20 61 6e 20 61 | 70 70 6c 69 63 61 74 69 | or an a|pplicati|
|00004ca0| 6f 6e 3f 22 20 77 69 74 | 68 20 c2 0d 22 43 61 6e |on?" wit|h .."Can|
|00004cb0| 63 65 6c 22 20 6f 72 20 | 22 44 6f 63 75 6d 65 6e |cel" or |"Documen|
|00004cc0| 74 22 20 6f 72 20 22 41 | 70 70 6c 69 63 61 74 69 |t" or "A|pplicati|
|00004cd0| 6f 6e 22 20 2d 2d 20 c6 | 0d 69 66 20 69 74 20 69 |on" -- .|.if it i|
|00004ce0| 73 20 65 6d 70 74 79 20 | 6f 72 20 69 74 20 69 73 |s empty |or it is|
|00004cf0| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 20 20 | "Cancel|" then |
|00004d00| 65 78 69 74 20 6e 65 77 | 4c 69 6e 6b 20 2d 2d 20 |exit new|Link -- |
|00004d10| c6 0d 69 66 20 69 74 20 | 69 73 20 22 44 6f 63 75 |..if it |is "Docu|
|00004d20| 6d 65 6e 74 22 20 74 68 | 65 6e 20 2d 2d 20 c6 0d |ment" th|en -- ..|
|00004d30| 70 75 74 20 22 44 6f 63 | 75 6d 65 6e 74 22 20 69 |put "Doc|ument" i|
|00004d40| 6e 74 6f 20 66 69 6c 65 | 54 79 70 65 0d 65 6c 73 |nto file|Type.els|
|00004d50| 65 20 70 75 74 20 22 41 | 70 70 6c 69 63 61 74 69 |e put "A|pplicati|
|00004d60| 6f 6e 22 20 69 6e 74 6f | 20 66 69 6c 65 54 79 70 |on" into| fileTyp|
|00004d70| 65 0d 65 6e 64 20 69 66 | 0d 0d 64 69 73 61 6c 6c |e.end if|..disall|
|00004d80| 6f 77 49 6e 74 65 72 72 | 75 70 74 69 6f 6e 0d 2d |owInterr|uption.-|
|00004d90| 2d 20 73 65 6c 65 63 74 | 73 20 74 68 65 20 73 74 |- select|s the st|
|00004da0| 61 63 6b 2c 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ack, app|lication|
|00004db0| 2c 20 6f 72 20 64 6f 63 | 75 6d 65 6e 74 20 74 6f |, or doc|ument to|
|00004dc0| 20 6c 69 6e 6b 20 74 6f | 0d 69 66 20 66 69 6c 65 | link to|.if file|
|00004dd0| 54 79 70 65 20 69 73 20 | 22 53 74 61 63 6b 22 20 |Type is |"Stack" |
|00004de0| 74 68 65 6e 0d 70 75 74 | 20 22 73 74 61 63 6b 22 |then.put| "stack"|
|00004df0| 20 69 6e 74 6f 20 6c 69 | 6e 6b 54 6f 20 2d 2d 20 | into li|nkTo -- |
|00004e00| c6 0d 65 6c 73 65 20 69 | 66 20 66 69 6c 65 54 79 |..else i|f fileTy|
|00004e10| 70 65 20 69 73 20 22 41 | 70 70 6c 69 63 61 74 69 |pe is "A|pplicati|
|00004e20| 6f 6e 22 20 74 68 65 6e | 0d 70 75 74 20 22 61 70 |on" then|.put "ap|
|00004e30| 70 6c 69 63 61 74 69 6f | 6e 22 20 69 6e 74 6f 20 |plicatio|n" into |
|00004e40| 6c 69 6e 6b 54 6f 20 2d | 2d 20 c6 0d 65 6c 73 65 |linkTo -|- ..else|
|00004e50| 20 70 75 74 20 22 64 6f | 63 75 6d 65 6e 74 22 20 | put "do|cument" |
|00004e60| 69 6e 74 6f 20 6c 69 6e | 6b 54 6f 20 2d 2d 20 c6 |into lin|kTo -- .|
|00004e70| 0d 70 75 74 20 22 53 65 | 6c 65 63 74 20 74 68 65 |.put "Se|lect the|
|00004e80| 22 20 26 26 20 6c 69 6e | 6b 54 6f 20 26 26 20 22 |" && lin|kTo && "|
|00004e90| 74 6f 20 6f 70 65 6e 3a | 22 20 69 6e 74 6f 20 70 |to open:|" into p|
|00004ea0| 72 6f 6d 70 74 20 2d 2d | 20 c6 0d 69 66 20 66 69 |rompt --| ..if fi|
|00004eb0| 6c 65 54 79 70 65 20 69 | 73 20 22 53 74 61 63 6b |leType i|s "Stack|
|00004ec0| 22 20 74 68 65 6e 20 70 | 75 74 20 22 53 54 41 4b |" then p|ut "STAK|
|00004ed0| 22 20 69 6e 74 6f 20 66 | 69 6c 74 65 72 0d 65 6c |" into f|ilter.el|
|00004ee0| 73 65 20 69 66 20 66 69 | 6c 65 74 79 70 65 20 69 |se if fi|letype i|
|00004ef0| 73 20 22 41 70 70 6c 69 | 63 61 74 69 6f 6e 22 20 |s "Appli|cation" |
|00004f00| 74 68 65 6e 20 70 75 74 | 20 22 41 50 50 4c 22 20 |then put| "APPL" |
|00004f10| 69 6e 74 6f 20 66 69 6c | 74 65 72 0d 65 6c 73 65 |into fil|ter.else|
|00004f20| 20 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 | put emp|ty into |
|00004f30| 66 69 6c 74 65 72 20 2d | 2d 20 6e 6f 20 77 61 79 |filter -|- no way|
|00004f40| 20 74 6f 20 73 68 6f 77 | 20 6f 6e 6c 79 20 64 6f | to show| only do|
|00004f50| 63 75 6d 65 6e 74 73 0d | 70 75 74 20 73 65 6c 65 |cuments.|put sele|
|00004f60| 63 74 48 43 46 69 6c 65 | 28 70 72 6f 6d 70 74 2c |ctHCFile|(prompt,|
|00004f70| 66 69 6c 74 65 72 29 20 | 69 6e 74 6f 20 6c 6f 6e |filter) |into lon|
|00004f80| 67 46 69 6c 65 4e 61 6d | 65 20 2d 2d 20 66 75 6c |gFileNam|e -- ful|
|00004f90| 6c 20 70 61 74 68 0d 70 | 75 74 20 6c 61 73 74 48 |l path.p|ut lastH|
|00004fa0| 43 49 74 65 6d 28 22 3a | 22 2c 6c 6f 6e 67 46 69 |CItem(":|",longFi|
|00004fb0| 6c 65 4e 61 6d 65 29 20 | 69 6e 74 6f 20 73 68 6f |leName) |into sho|
|00004fc0| 72 74 46 69 6c 65 4e 61 | 6d 65 0d 73 65 74 20 63 |rtFileNa|me.set c|
|00004fd0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 0d |ursor to| watch..|
|00004fe0| 2d 2d 20 69 66 20 64 6f | 63 75 6d 65 6e 74 20 69 |-- if do|cument i|
|00004ff0| 73 20 63 68 6f 73 65 6e | 2c 20 67 65 74 20 61 70 |s chosen|, get ap|
|00005000| 70 6c 69 63 61 74 69 6f | 6e 20 74 6f 20 6f 70 65 |plicatio|n to ope|
|00005010| 6e 20 69 74 2e 0d 70 75 | 74 20 65 6d 70 74 79 20 |n it..pu|t empty |
|00005020| 69 6e 74 6f 20 6c 6f 6e | 67 41 70 70 4e 61 6d 65 |into lon|gAppName|
|00005030| 0d 69 66 20 66 69 6c 65 | 54 79 70 65 20 69 73 20 |.if file|Type is |
|00005040| 22 64 6f 63 75 6d 65 6e | 74 22 20 74 68 65 6e 0d |"documen|t" then.|
|00005050| 70 75 74 20 22 53 65 6c | 65 63 74 20 74 68 65 20 |put "Sel|ect the |
|00005060| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 74 6f 20 6f |applicat|ion to o|
|00005070| 70 65 6e 22 20 26 20 72 | 65 74 75 72 6e 20 c2 0d |pen" & r|eturn ..|
|00005080| 26 20 22 d2 22 20 26 20 | 73 68 6f 72 74 46 69 6c |& "." & |shortFil|
|00005090| 65 4e 61 6d 65 20 26 20 | 22 d3 22 20 26 20 22 3a |eName & |"." & ":|
|000050a0| 22 20 69 6e 74 6f 20 70 | 72 6f 6d 70 74 20 2d 2d |" into p|rompt --|
|000050b0| 20 c6 0d 70 75 74 20 73 | 65 6c 65 63 74 48 43 46 | ..put s|electHCF|
|000050c0| 69 6c 65 28 70 72 6f 6d | 70 74 2c 22 41 50 50 4c |ile(prom|pt,"APPL|
|000050d0| 22 29 20 69 6e 74 6f 20 | 6c 6f 6e 67 41 70 70 4e |") into |longAppN|
|000050e0| 61 6d 65 20 2d 2d 20 66 | 75 6c 6c 20 70 61 74 68 |ame -- f|ull path|
|000050f0| 0d 70 75 74 20 6c 61 73 | 74 48 43 49 74 65 6d 28 |.put las|tHCItem(|
|00005100| 22 3a 22 2c 6c 6f 6e 67 | 41 70 70 4e 61 6d 65 29 |":",long|AppName)|
|00005110| 20 69 6e 74 6f 20 73 68 | 6f 72 74 41 70 70 4e 61 | into sh|ortAppNa|
|00005120| 6d 65 0d 65 6e 64 20 69 | 66 0d 0d 2d 2d 20 20 65 |me.end i|f..-- e|
|00005130| 78 74 72 61 63 74 20 74 | 68 65 20 66 69 6c 65 20 |xtract t|he file |
|00005140| 70 61 74 68 20 66 72 6f | 6d 20 74 68 65 20 66 75 |path fro|m the fu|
|00005150| 6c 6c 20 70 61 74 68 20 | 6e 61 6d 65 0d 70 75 74 |ll path |name.put|
|00005160| 20 67 65 74 48 43 50 61 | 74 68 4e 61 6d 65 28 6c | getHCPa|thName(l|
|00005170| 6f 6e 67 46 69 6c 65 4e | 61 6d 65 29 20 69 6e 74 |ongFileN|ame) int|
|00005180| 6f 20 74 68 65 50 61 74 | 68 0d 2d 2d 20 20 6d 61 |o thePat|h.-- ma|
|00005190| 6b 65 20 61 20 6e 65 77 | 20 62 75 74 74 6f 6e 20 |ke a new| button |
|000051a0| 66 6f 72 20 74 68 65 20 | 6c 69 6e 6b 65 64 20 66 |for the |linked f|
|000051b0| 69 6c 65 0d 6d 61 6b 65 | 4e 65 77 48 43 42 75 74 |ile.make|NewHCBut|
|000051c0| 74 6f 6e 20 73 68 6f 72 | 74 46 69 6c 65 4e 61 6d |ton shor|tFileNam|
|000051d0| 65 2c 66 69 6c 65 54 79 | 70 65 0d 2d 2d 20 20 77 |e,fileTy|pe.-- w|
|000051e0| 72 69 74 65 20 74 68 65 | 20 73 63 72 69 70 74 20 |rite the| script |
|000051f0| 66 6f 72 20 74 68 65 20 | 6e 65 77 20 62 75 74 74 |for the |new butt|
|00005200| 6f 6e 0d 73 65 74 20 73 | 63 72 69 70 74 20 6f 66 |on.set s|cript of|
|00005210| 20 6c 61 73 74 20 63 64 | 20 62 74 6e 20 74 6f 20 | last cd| btn to |
|00005220| c2 0d 77 72 69 74 65 48 | 43 53 63 72 69 70 74 28 |..writeH|CScript(|
|00005230| 66 69 6c 65 54 79 70 65 | 2c 73 68 6f 72 74 46 69 |fileType|,shortFi|
|00005240| 6c 65 4e 61 6d 65 2c 73 | 68 6f 72 74 41 70 70 4e |leName,s|hortAppN|
|00005250| 61 6d 65 29 0d 2d 2d 20 | 20 61 6c 6c 6f 77 20 74 |ame).-- | allow t|
|00005260| 68 65 20 75 73 65 72 20 | 74 6f 20 73 65 74 20 74 |he user |to set t|
|00005270| 68 65 20 70 6f 73 69 74 | 69 6f 6e 20 6f 66 20 74 |he posit|ion of t|
|00005280| 68 65 20 6e 65 77 20 62 | 75 74 74 6f 6e 0d 70 75 |he new b|utton.pu|
|00005290| 74 20 22 63 61 72 64 20 | 62 75 74 74 6f 6e 20 69 |t "card |button i|
|000052a0| 64 22 20 26 26 20 69 64 | 20 6f 66 20 6c 61 73 74 |d" && id| of last|
|000052b0| 20 63 61 72 64 20 62 75 | 74 74 6f 6e 20 69 6e 74 | card bu|tton int|
|000052c0| 6f 20 62 74 6e 49 44 0d | 64 72 61 67 48 43 42 75 |o btnID.|dragHCBu|
|000052d0| 74 74 6f 6e 20 62 74 6e | 49 44 20 2d 2d 20 75 73 |tton btn|ID -- us|
|000052e0| 65 72 20 63 61 6e 20 6e | 6f 77 20 6d 6f 76 65 20 |er can n|ow move |
|000052f0| 69 74 0d 2d 2d 20 75 70 | 64 61 74 65 20 74 68 65 |it.-- up|date the|
|00005300| 20 22 50 61 74 68 73 22 | 20 66 69 65 6c 64 20 6f | "Paths"| field o|
|00005310| 6e 20 74 68 65 20 70 72 | 6f 70 65 72 20 22 50 61 |n the pr|oper "Pa|
|00005320| 74 68 22 20 63 61 72 64 | 0d 75 70 64 61 74 65 48 |th" card|.updateH|
|00005330| 43 50 61 74 68 73 20 66 | 69 6c 65 54 79 70 65 2c |CPaths f|ileType,|
|00005340| 74 68 65 50 61 74 68 0d | 69 66 20 6c 6f 6e 67 41 |thePath.|if longA|
|00005350| 70 70 4e 61 6d 65 20 69 | 73 20 6e 6f 74 20 65 6d |ppName i|s not em|
|00005360| 70 74 79 20 74 68 65 6e | 20 20 2d 2d 20 20 66 6f |pty then| -- fo|
|00005370| 72 20 61 20 64 6f 63 75 | 6d 65 6e 74 27 73 20 61 |r a docu|ment's a|
|00005380| 70 70 0d 70 75 74 20 67 | 65 74 48 43 50 61 74 68 |pp.put g|etHCPath|
|00005390| 4e 61 6d 65 28 6c 6f 6e | 67 41 70 70 4e 61 6d 65 |Name(lon|gAppName|
|000053a0| 29 20 69 6e 74 6f 20 61 | 70 70 50 61 74 68 0d 75 |) into a|ppPath.u|
|000053b0| 70 64 61 74 65 48 43 50 | 61 74 68 73 20 22 61 70 |pdateHCP|aths "ap|
|000053c0| 70 6c 69 63 61 74 69 6f | 6e 22 2c 61 70 70 50 61 |plicatio|n",appPa|
|000053d0| 74 68 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 65 6d |th.end i|f.put em|
|000053e0| 70 74 79 20 69 6e 74 6f | 20 6d 73 67 20 2d 2d 20 |pty into| msg -- |
|000053f0| 63 6c 65 61 6e 20 75 70 | 20 61 6e 64 20 65 78 69 |clean up| and exi|
|00005400| 74 0d 73 65 74 20 76 69 | 73 69 62 6c 65 20 6f 66 |t.set vi|sible of|
|00005410| 20 6d 73 67 20 62 6f 78 | 20 74 6f 20 73 61 76 65 | msg box| to save|
|00005420| 56 69 73 4d 73 67 42 6f | 78 20 2d 2d 20 72 65 73 |VisMsgBo|x -- res|
|00005430| 74 6f 72 65 20 69 74 0d | 61 6c 6c 6f 77 49 6e 74 |tore it.|allowInt|
|00005440| 65 72 72 75 70 74 69 6f | 6e 0d 65 6e 64 20 6e 65 |erruptio|n.end ne|
|00005450| 77 4c 69 6e 6b 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |wLink..f|unction |
|00005460| 73 65 6c 65 63 74 48 43 | 46 69 6c 65 20 70 72 6f |selectHC|File pro|
|00005470| 6d 70 74 2c 66 69 6c 74 | 65 72 0d 2d 2d 20 64 69 |mpt,filt|er.-- di|
|00005480| 73 70 6c 61 79 73 20 64 | 69 61 6c 6f 67 20 66 6f |splays d|ialog fo|
|00005490| 72 20 73 65 6c 65 63 74 | 69 6f 6e 20 6f 66 20 61 |r select|ion of a|
|000054a0| 20 70 61 72 74 69 63 75 | 6c 61 72 20 66 69 6c 65 | particu|lar file|
|000054b0| 54 79 70 65 0d 69 66 20 | 66 69 6c 74 65 72 20 69 |Type.if |filter i|
|000054c0| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|000054d0| 20 61 6e 73 77 65 72 20 | 66 69 6c 65 20 70 72 6f | answer |file pro|
|000054e0| 6d 70 74 20 6f 66 20 74 | 79 70 65 20 66 69 6c 74 |mpt of t|ype filt|
|000054f0| 65 72 0d 65 6c 73 65 20 | 61 6e 73 77 65 72 20 66 |er.else |answer f|
|00005500| 69 6c 65 20 70 72 6f 6d | 70 74 0d 69 66 20 28 69 |ile prom|pt.if (i|
|00005510| 74 20 69 73 20 65 6d 70 | 74 79 29 20 6f 72 20 28 |t is emp|ty) or (|
|00005520| 74 68 65 20 72 65 73 75 | 6c 74 20 3d 20 22 43 61 |the resu|lt = "Ca|
|00005530| 6e 63 65 6c 22 29 0d 74 | 68 65 6e 20 65 78 69 74 |ncel").t|hen exit|
|00005540| 20 74 6f 20 48 79 70 65 | 72 43 61 72 64 0d 72 65 | to Hype|rCard.re|
|00005550| 74 75 72 6e 20 69 74 20 | 2d 2d 20 6f 74 68 65 72 |turn it |-- other|
|00005560| 77 69 73 65 20 72 65 74 | 75 72 6e 20 74 68 65 20 |wise ret|urn the |
|00005570| 73 65 6c 65 63 74 65 64 | 20 66 69 6c 65 20 70 61 |selected| file pa|
|00005580| 74 68 0d 65 6e 64 20 73 | 65 6c 65 63 74 48 43 46 |th.end s|electHCF|
|00005590| 69 6c 65 0d 0d 66 75 6e | 63 74 69 6f 6e 20 67 65 |ile..fun|ction ge|
|000055a0| 74 48 43 50 61 74 68 4e | 61 6d 65 20 6c 6f 6e 67 |tHCPathN|ame long|
|000055b0| 4e 61 6d 65 0d 2d 2d 20 | 52 65 71 75 69 72 65 73 |Name.-- |Requires|
|000055c0| 20 68 61 6e 64 6c 65 72 | 3a 20 6c 61 73 74 48 43 | handler|: lastHC|
|000055d0| 49 74 65 6d 0d 2d 2d 20 | 72 65 74 75 72 6e 20 74 |Item.-- |return t|
|000055e0| 68 65 20 70 61 74 68 20 | 74 6f 20 74 68 65 20 66 |he path |to the f|
|000055f0| 69 6c 65 0d 70 75 74 20 | 6c 61 73 74 48 43 49 74 |ile.put |lastHCIt|
|00005600| 65 6d 28 22 3a 22 2c 6c | 6f 6e 67 4e 61 6d 65 29 |em(":",l|ongName)|
|00005610| 20 69 6e 74 6f 20 66 69 | 6c 65 4e 61 6d 65 0d 72 | into fi|leName.r|
|00005620| 65 74 75 72 6e 20 63 68 | 61 72 20 31 20 74 6f 20 |eturn ch|ar 1 to |
|00005630| 28 6c 65 6e 67 74 68 28 | 6c 6f 6e 67 4e 61 6d 65 |(length(|longName|
|00005640| 29 20 2d 20 6c 65 6e 67 | 74 68 28 66 69 6c 65 4e |) - leng|th(fileN|
|00005650| 61 6d 65 29 29 20 6f 66 | 20 6c 6f 6e 67 4e 61 6d |ame)) of| longNam|
|00005660| 65 0d 65 6e 64 20 67 65 | 74 48 43 50 61 74 68 4e |e.end ge|tHCPathN|
|00005670| 61 6d 65 0d 0d 6f 6e 20 | 6d 61 6b 65 4e 65 77 48 |ame..on |makeNewH|
|00005680| 43 42 75 74 74 6f 6e 20 | 73 68 6f 72 74 4e 61 6d |CButton |shortNam|
|00005690| 65 2c 69 63 6f 6e 54 79 | 70 65 0d 2d 2d 20 52 65 |e,iconTy|pe.-- Re|
|000056a0| 71 75 69 72 65 73 20 68 | 61 6e 64 6c 65 72 73 3a |quires h|andlers:|
|000056b0| 20 73 65 74 55 73 65 72 | 4c 65 76 65 6c 46 69 76 | setUser|LevelFiv|
|000056c0| 65 2c 72 65 73 74 6f 72 | 65 55 73 65 72 4c 65 76 |e,restor|eUserLev|
|000056d0| 65 6c 0d 2d 2d 20 20 63 | 72 65 61 74 65 20 61 20 |el.-- c|reate a |
|000056e0| 6e 65 77 20 62 75 74 74 | 6f 6e 20 61 6e 64 20 73 |new butt|on and s|
|000056f0| 65 74 20 69 74 27 73 20 | 6e 61 6d 65 20 61 6e 64 |et it's |name and|
|00005700| 20 69 63 6f 6e 0d 6c 6f | 63 6b 20 73 63 72 65 65 | icon.lo|ck scree|
|00005710| 6e 0d 73 65 74 55 73 65 | 72 4c 65 76 65 6c 46 69 |n.setUse|rLevelFi|
|00005720| 76 65 0d 2d 2d 20 6e 65 | 65 64 20 75 73 65 72 20 |ve.-- ne|ed user |
|00005730| 6c 65 76 65 6c 20 66 69 | 76 65 20 73 6f 20 6d 65 |level fi|ve so me|
|00005740| 6e 75 20 69 74 65 6d 20 | 77 69 6c 6c 20 62 65 20 |nu item |will be |
|00005750| 74 68 65 72 65 0d 64 6f | 4d 65 6e 75 20 22 4e 65 |there.do|Menu "Ne|
|00005760| 77 20 42 75 74 74 6f 6e | 22 0d 2d 2d 20 73 65 74 |w Button|".-- set|
|00005770| 20 61 74 74 72 69 62 75 | 74 65 73 20 6f 66 20 6e | attribu|tes of n|
|00005780| 65 77 20 62 75 74 74 6f | 6e 0d 73 65 74 20 73 74 |ew butto|n.set st|
|00005790| 79 6c 65 20 6f 66 20 6c | 61 73 74 20 63 61 72 64 |yle of l|ast card|
|000057a0| 20 62 75 74 74 6f 6e 20 | 74 6f 20 74 72 61 6e 73 | button |to trans|
|000057b0| 70 61 72 65 6e 74 0d 73 | 65 74 20 73 68 6f 77 4e |parent.s|et showN|
|000057c0| 61 6d 65 20 6f 66 20 6c | 61 73 74 20 63 61 72 64 |ame of l|ast card|
|000057d0| 20 62 75 74 74 6f 6e 20 | 74 6f 20 74 72 75 65 0d | button |to true.|
|000057e0| 73 65 74 20 61 75 74 6f | 48 69 6c 69 74 65 20 6f |set auto|Hilite o|
|000057f0| 66 20 6c 61 73 74 20 63 | 61 72 64 20 62 75 74 74 |f last c|ard butt|
|00005800| 6f 6e 20 74 6f 20 74 72 | 75 65 0d 73 65 74 20 6e |on to tr|ue.set n|
|00005810| 61 6d 65 20 6f 66 20 6c | 61 73 74 20 63 61 72 64 |ame of l|ast card|
|00005820| 20 62 75 74 74 6f 6e 20 | 74 6f 20 73 68 6f 72 74 | button |to short|
|00005830| 4e 61 6d 65 0d 73 65 74 | 20 68 65 69 67 68 74 20 |Name.set| height |
|00005840| 6f 66 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |of last |card but|
|00005850| 74 6f 6e 20 74 6f 20 35 | 32 0d 73 65 74 20 69 63 |ton to 5|2.set ic|
|00005860| 6f 6e 20 6f 66 20 6c 61 | 73 74 20 63 61 72 64 20 |on of la|st card |
|00005870| 62 75 74 74 6f 6e 20 74 | 6f 20 69 63 6f 6e 54 79 |button t|o iconTy|
|00005880| 70 65 0d 2d 2d 20 64 6f | 6e 27 74 20 6c 65 74 20 |pe.-- do|n't let |
|00005890| 74 68 65 20 62 75 74 74 | 6f 6e 20 62 65 20 74 6f |the butt|on be to|
|000058a0| 6f 20 73 6c 69 6d 0d 69 | 66 20 6c 65 6e 67 74 68 |o slim.i|f length|
|000058b0| 28 73 68 6f 72 74 4e 61 | 6d 65 29 20 2a 20 36 20 |(shortNa|me) * 6 |
|000058c0| 3e 20 33 36 20 74 68 65 | 6e 0d 73 65 74 20 77 69 |> 36 the|n.set wi|
|000058d0| 64 74 68 20 6f 66 20 6c | 61 73 74 20 63 61 72 64 |dth of l|ast card|
|000058e0| 20 62 75 74 74 6f 6e 20 | 74 6f 20 6c 65 6e 67 74 | button |to lengt|
|000058f0| 68 28 73 68 6f 72 74 4e | 61 6d 65 29 20 2a 20 36 |h(shortN|ame) * 6|
|00005900| 0d 65 6c 73 65 20 73 65 | 74 20 77 69 64 74 68 20 |.else se|t width |
|00005910| 6f 66 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |of last |card but|
|00005920| 74 6f 6e 20 74 6f 20 33 | 36 0d 63 68 6f 6f 73 65 |ton to 3|6.choose|
|00005930| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 72 65 73 | browse |tool.res|
|00005940| 74 6f 72 65 55 73 65 72 | 4c 65 76 65 6c 0d 75 6e |toreUser|Level.un|
|00005950| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 6e 64 20 |lock scr|een.end |
|00005960| 6d 61 6b 65 4e 65 77 48 | 43 42 75 74 74 6f 6e 0d |makeNewH|CButton.|
|00005970| 0d 66 75 6e 63 74 69 6f | 6e 20 6d 65 6d 45 72 72 |.functio|n memErr|
|00005980| 6f 72 53 63 72 69 70 74 | 20 61 70 70 4e 61 6d 65 |orScript| appName|
|00005990| 0d 2d 2d 20 72 65 74 75 | 72 6e 73 20 61 20 73 63 |.-- retu|rns a sc|
|000059a0| 72 69 70 74 20 75 73 65 | 64 20 69 6e 20 6d 61 6e |ript use|d in man|
|000059b0| 79 20 70 6c 61 63 65 73 | 0d 72 65 74 75 72 6e 20 |y places|.return |
|000059c0| 22 69 66 20 28 74 68 65 | 20 72 65 73 75 6c 74 20 |"if (the| result |
|000059d0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 29 20 61 6e |is not e|mpty) an|
|000059e0| 64 20 28 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |d (the r|esult is|
|000059f0| 20 6e 6f 74 22 20 26 26 | 20 c2 0d 71 75 6f 74 65 | not" &&| ..quote|
|00005a00| 20 26 20 22 43 61 6e 63 | 65 6c 22 20 26 20 71 75 | & "Canc|el" & qu|
|00005a10| 6f 74 65 20 26 20 22 29 | 22 20 26 20 72 65 74 75 |ote & ")|" & retu|
|00005a20| 72 6e 20 26 c2 0d 22 74 | 68 65 6e 20 61 6e 73 77 |rn &.."t|hen answ|
|00005a30| 65 72 20 74 68 65 20 72 | 65 73 75 6c 74 22 20 20 |er the r|esult" |
|00005a40| 2d 2d 20 c6 0d 65 6e 64 | 20 6d 65 6d 45 72 72 6f |-- ..end| memErro|
|00005a50| 72 53 63 72 69 70 74 0d | 0d 66 75 6e 63 74 69 6f |rScript.|.functio|
|00005a60| 6e 20 77 72 69 74 65 48 | 43 53 63 72 69 70 74 20 |n writeH|CScript |
|00005a70| 66 69 6c 65 54 79 70 65 | 2c 66 69 6c 65 4e 61 6d |fileType|,fileNam|
|00005a80| 65 2c 61 70 70 6c 4e 61 | 6d 65 0d 2d 2d 20 52 65 |e,applNa|me.-- Re|
|00005a90| 71 75 69 72 65 73 20 68 | 61 6e 64 6c 65 72 3a 20 |quires h|andler: |
|00005aa0| 6d 65 6d 45 72 72 6f 72 | 53 63 72 69 70 74 0d 2d |memError|Script.-|
|00005ab0| 2d 20 63 72 65 61 74 65 | 73 20 61 6e 64 20 77 72 |- create|s and wr|
|00005ac0| 69 74 65 73 20 74 68 65 | 20 73 63 72 69 70 74 20 |ites the| script |
|00005ad0| 66 6f 72 20 74 68 65 20 | 6e 65 77 20 62 75 74 74 |for the |new butt|
|00005ae0| 6f 6e 20 2d 2d 20 73 65 | 65 20 6d 61 6b 65 4e 65 |on -- se|e makeNe|
|00005af0| 77 48 43 42 75 74 74 6f | 6e 0d 70 75 74 20 22 6f |wHCButto|n.put "o|
|00005b00| 6e 20 6d 6f 75 73 65 55 | 70 22 20 26 20 72 65 74 |n mouseU|p" & ret|
|00005b10| 75 72 6e 20 26 20 22 73 | 65 74 20 63 75 72 73 6f |urn & "s|et curso|
|00005b20| 72 20 74 6f 20 77 61 74 | 63 68 22 20 26 20 72 65 |r to wat|ch" & re|
|00005b30| 74 75 72 6e 20 69 6e 74 | 6f 20 74 68 65 53 63 72 |turn int|o theScr|
|00005b40| 69 70 74 0d 69 66 20 66 | 69 6c 65 54 79 70 65 20 |ipt.if f|ileType |
|00005b50| 69 73 20 22 73 74 61 63 | 6b 22 20 20 74 68 65 6e |is "stac|k" then|
|00005b60| 0d 70 75 74 20 22 2d 2d | 20 73 74 61 63 6b 20 77 |.put "--| stack w|
|00005b70| 69 6c 6c 20 6f 70 65 6e | 20 69 6e 20 6e 65 77 20 |ill open| in new |
|00005b80| 77 69 6e 64 6f 77 20 69 | 66 20 74 68 65 72 65 27 |window i|f there'|
|00005b90| 73 20 65 6e 6f 75 67 68 | 20 6d 65 6d 6f 72 79 22 |s enough| memory"|
|00005ba0| 20 26 20 72 65 74 75 72 | 6e 20 c2 0d 26 20 22 67 | & retur|n ..& "g|
|00005bb0| 6f 20 74 6f 20 73 74 61 | 63 6b 22 20 26 26 20 71 |o to sta|ck" && q|
|00005bc0| 75 6f 74 65 20 26 20 66 | 69 6c 65 4e 61 6d 65 20 |uote & f|ileName |
|00005bd0| 26 20 71 75 6f 74 65 20 | 26 26 20 22 69 6e 20 61 |& quote |&& "in a|
|00005be0| 20 6e 65 77 20 77 69 6e | 64 6f 77 22 20 26 20 72 | new win|dow" & r|
|00005bf0| 65 74 75 72 6e 20 c2 0d | 26 20 22 67 65 74 20 74 |eturn ..|& "get t|
|00005c00| 68 65 20 72 65 73 75 6c | 74 22 20 26 20 72 65 74 |he resul|t" & ret|
|00005c10| 75 72 6e 20 26 20 22 69 | 66 20 69 74 20 69 73 22 |urn & "i|f it is"|
|00005c20| 20 26 26 20 71 75 6f 74 | 65 20 26 20 22 43 61 6e | && quot|e & "Can|
|00005c30| 63 65 6c 22 20 26 20 71 | 75 6f 74 65 20 26 26 20 |cel" & q|uote && |
|00005c40| 22 74 68 65 6e 20 65 78 | 69 74 20 6d 6f 75 73 65 |"then ex|it mouse|
|00005c50| 55 70 22 20 26 20 72 65 | 74 75 72 6e 20 c2 0d 26 |Up" & re|turn ..&|
|00005c60| 20 22 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 | "if the| result |
|00005c70| 3c 3e 20 65 6d 70 74 79 | 20 74 68 65 6e 20 67 6f |<> empty| then go|
|00005c80| 20 74 6f 20 73 74 61 63 | 6b 22 20 26 26 20 71 75 | to stac|k" && qu|
|00005c90| 6f 74 65 20 26 20 66 69 | 6c 65 4e 61 6d 65 20 26 |ote & fi|leName &|
|00005ca0| 20 71 75 6f 74 65 20 26 | 20 72 65 74 75 72 6e 20 | quote &| return |
|00005cb0| 61 66 74 65 72 20 74 68 | 65 53 63 72 69 70 74 0d |after th|eScript.|
|00005cc0| 65 6c 73 65 20 69 66 20 | 66 69 6c 65 54 79 70 65 |else if |fileType|
|00005cd0| 20 69 73 20 22 61 70 70 | 6c 69 63 61 74 69 6f 6e | is "app|lication|
|00005ce0| 22 20 74 68 65 6e 0d 70 | 75 74 20 22 6f 70 65 6e |" then.p|ut "open|
|00005cf0| 22 20 26 26 20 71 75 6f | 74 65 20 26 20 66 69 6c |" && quo|te & fil|
|00005d00| 65 4e 61 6d 65 20 26 20 | 71 75 6f 74 65 20 26 20 |eName & |quote & |
|00005d10| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 74 68 65 |return a|fter the|
|00005d20| 53 63 72 69 70 74 0d 70 | 75 74 20 6d 65 6d 45 72 |Script.p|ut memEr|
|00005d30| 72 6f 72 53 63 72 69 70 | 74 28 66 69 6c 65 4e 61 |rorScrip|t(fileNa|
|00005d40| 6d 65 29 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |me) & re|turn aft|
|00005d50| 65 72 20 74 68 65 53 63 | 72 69 70 74 0d 65 6c 73 |er theSc|ript.els|
|00005d60| 65 20 69 66 20 66 69 6c | 65 54 79 70 65 20 69 73 |e if fil|eType is|
|00005d70| 20 22 64 6f 63 75 6d 65 | 6e 74 22 20 74 68 65 6e | "docume|nt" then|
|00005d80| 0d 70 75 74 20 22 6f 70 | 65 6e 22 20 26 26 20 71 |.put "op|en" && q|
|00005d90| 75 6f 74 65 20 26 20 66 | 69 6c 65 4e 61 6d 65 20 |uote & f|ileName |
|00005da0| 26 20 71 75 6f 74 65 20 | c2 0d 26 26 20 22 77 69 |& quote |..&& "wi|
|00005db0| 74 68 22 20 26 26 20 71 | 75 6f 74 65 20 26 20 61 |th" && q|uote & a|
|00005dc0| 70 70 6c 4e 61 6d 65 20 | 26 20 71 75 6f 74 65 20 |pplName |& quote |
|00005dd0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 74 |& return| after t|
|00005de0| 68 65 53 63 72 69 70 74 | 0d 70 75 74 20 6d 65 6d |heScript|.put mem|
|00005df0| 45 72 72 6f 72 53 63 72 | 69 70 74 28 61 70 70 6c |ErrorScr|ipt(appl|
|00005e00| 4e 61 6d 65 29 20 26 20 | 72 65 74 75 72 6e 20 61 |Name) & |return a|
|00005e10| 66 74 65 72 20 74 68 65 | 53 63 72 69 70 74 0d 65 |fter the|Script.e|
|00005e20| 6e 64 20 69 66 0d 70 75 | 74 20 22 65 6e 64 20 6d |nd if.pu|t "end m|
|00005e30| 6f 75 73 65 55 70 22 20 | 61 66 74 65 72 20 74 68 |ouseUp" |after th|
|00005e40| 65 53 63 72 69 70 74 0d | 72 65 74 75 72 6e 20 74 |eScript.|return t|
|00005e50| 68 65 53 63 72 69 70 74 | 0d 65 6e 64 20 77 72 69 |heScript|.end wri|
|00005e60| 74 65 48 43 53 63 72 69 | 70 74 0d 0d 6f 6e 20 64 |teHCScri|pt..on d|
|00005e70| 72 61 67 48 43 42 75 74 | 74 6f 6e 20 74 68 65 42 |ragHCBut|ton theB|
|00005e80| 75 74 74 6f 6e 0d 2d 2d | 20 20 c6 20 6c 65 74 20 |utton.--| . let |
|00005e90| 75 73 65 72 20 64 72 61 | 67 20 74 68 65 20 62 75 |user dra|g the bu|
|00005ea0| 74 74 6f 6e 20 77 69 74 | 68 69 6e 20 74 68 65 20 |tton wit|hin the |
|00005eb0| 63 61 72 64 20 77 69 6e | 64 6f 77 0d 70 75 74 20 |card win|dow.put |
|00005ec0| 22 44 72 61 67 20 74 68 | 65 20 62 75 74 74 6f 6e |"Drag th|e button|
|00005ed0| 20 74 6f 20 74 68 65 20 | 64 65 73 69 72 65 64 20 | to the |desired |
|00005ee0| 6c 6f 63 61 74 69 6f 6e | 2e 22 20 2d 2d 20 c6 0d |location|." -- ..|
|00005ef0| 2d 2d 20 20 66 6c 61 73 | 68 20 62 75 74 74 6f 6e |-- flas|h button|
|00005f00| 20 75 6e 74 69 6c 20 75 | 73 65 72 20 63 6c 69 63 | until u|ser clic|
|00005f10| 6b 73 20 64 6f 77 6e 20 | 6f 6e 20 69 74 0d 73 65 |ks down |on it.se|
|00005f20| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 61 72 72 6f |t cursor| to arro|
|00005f30| 77 0d 72 65 70 65 61 74 | 20 75 6e 74 69 6c 20 74 |w.repeat| until t|
|00005f40| 68 65 20 6d 6f 75 73 65 | 20 69 73 20 64 6f 77 6e |he mouse| is down|
|00005f50| 0d 73 65 74 20 68 69 6c | 69 74 65 20 6f 66 20 74 |.set hil|ite of t|
|00005f60| 68 65 42 75 74 74 6f 6e | 20 74 6f 20 6e 6f 74 20 |heButton| to not |
|00005f70| 68 69 6c 69 74 65 20 6f | 66 20 74 68 65 42 75 74 |hilite o|f theBut|
|00005f80| 74 6f 6e 0d 77 61 69 74 | 20 38 20 2d 2d 20 38 2f |ton.wait| 8 -- 8/|
|00005f90| 36 30 20 6f 66 20 61 20 | 73 65 63 6f 6e 64 0d 65 |60 of a |second.e|
|00005fa0| 6e 64 20 72 65 70 65 61 | 74 0d 73 65 74 20 68 69 |nd repea|t.set hi|
|00005fb0| 6c 69 74 65 20 6f 66 20 | 74 68 65 42 75 74 74 6f |lite of |theButto|
|00005fc0| 6e 20 74 6f 20 74 72 75 | 65 0d 2d 2d 20 20 64 72 |n to tru|e.-- dr|
|00005fd0| 61 67 20 74 68 65 20 62 | 75 74 74 6f 6e 20 62 75 |ag the b|utton bu|
|00005fe0| 74 20 63 6f 6e 73 74 72 | 61 69 6e 20 74 6f 20 63 |t constr|ain to c|
|00005ff0| 61 72 64 20 77 69 6e 64 | 6f 77 0d 70 75 74 20 77 |ard wind|ow.put w|
|00006000| 69 64 74 68 20 6f 66 20 | 74 68 65 42 75 74 74 6f |idth of |theButto|
|00006010| 6e 20 64 69 76 20 32 20 | 69 6e 74 6f 20 68 61 6c |n div 2 |into hal|
|00006020| 66 42 74 6e 57 69 64 74 | 68 0d 70 75 74 20 77 69 |fBtnWidt|h.put wi|
|00006030| 64 74 68 20 6f 66 20 63 | 61 72 64 20 77 69 6e 64 |dth of c|ard wind|
|00006040| 6f 77 20 2d 20 68 61 6c | 66 42 74 6e 57 69 64 74 |ow - hal|fBtnWidt|
|00006050| 68 20 69 6e 74 6f 20 6d | 61 78 57 69 64 74 68 0d |h into m|axWidth.|
|00006060| 70 75 74 20 68 65 69 67 | 68 74 20 6f 66 20 74 68 |put heig|ht of th|
|00006070| 65 42 75 74 74 6f 6e 20 | 64 69 76 20 32 20 69 6e |eButton |div 2 in|
|00006080| 74 6f 20 68 61 6c 66 42 | 74 6e 48 65 69 67 68 74 |to halfB|tnHeight|
|00006090| 0d 70 75 74 20 68 65 69 | 67 68 74 20 6f 66 20 63 |.put hei|ght of c|
|000060a0| 61 72 64 20 77 69 6e 64 | 6f 77 20 2d 20 68 61 6c |ard wind|ow - hal|
|000060b0| 66 42 74 6e 48 65 69 67 | 68 74 20 69 6e 74 6f 20 |fBtnHeig|ht into |
|000060c0| 6d 61 78 48 65 69 67 68 | 74 0d 72 65 70 65 61 74 |maxHeigh|t.repeat|
|000060d0| 20 77 68 69 6c 65 20 74 | 68 65 20 6d 6f 75 73 65 | while t|he mouse|
|000060e0| 20 69 73 20 64 6f 77 6e | 0d 2d 2d 20 74 68 65 20 | is down|.-- the |
|000060f0| 68 6f 72 7a 0d 70 75 74 | 20 6d 61 78 28 74 68 65 |horz.put| max(the|
|00006100| 20 6d 6f 75 73 65 48 2c | 68 61 6c 66 42 74 6e 57 | mouseH,|halfBtnW|
|00006110| 69 64 74 68 29 20 69 6e | 74 6f 20 62 74 6e 48 0d |idth) in|to btnH.|
|00006120| 70 75 74 20 6d 69 6e 28 | 62 74 6e 48 2c 6d 61 78 |put min(|btnH,max|
|00006130| 57 69 64 74 68 29 20 69 | 6e 74 6f 20 62 74 6e 48 |Width) i|nto btnH|
|00006140| 0d 2d 2d 20 74 68 65 20 | 76 65 72 74 0d 70 75 74 |.-- the |vert.put|
|00006150| 20 6d 61 78 28 74 68 65 | 20 6d 6f 75 73 65 56 2c | max(the| mouseV,|
|00006160| 68 61 6c 66 42 74 6e 48 | 65 69 67 68 74 29 20 69 |halfBtnH|eight) i|
|00006170| 6e 74 6f 20 62 74 6e 56 | 0d 70 75 74 20 6d 69 6e |nto btnV|.put min|
|00006180| 28 62 74 6e 56 2c 6d 61 | 78 48 65 69 67 68 74 29 |(btnV,ma|xHeight)|
|00006190| 20 69 6e 74 6f 20 62 74 | 6e 56 0d 73 65 74 20 6c | into bt|nV.set l|
|000061a0| 6f 63 20 6f 66 20 74 68 | 65 42 75 74 74 6f 6e 20 |oc of th|eButton |
|000061b0| 74 6f 20 62 74 6e 48 2c | 62 74 6e 56 0d 65 6e 64 |to btnH,|btnV.end|
|000061c0| 20 72 65 70 65 61 74 0d | 73 65 74 20 68 69 6c 69 | repeat.|set hili|
|000061d0| 74 65 20 6f 66 20 74 68 | 65 42 75 74 74 6f 6e 20 |te of th|eButton |
|000061e0| 74 6f 20 66 61 6c 73 65 | 0d 65 6e 64 20 64 72 61 |to false|.end dra|
|000061f0| 67 48 43 42 75 74 74 6f | 6e 0d 0d 6f 6e 20 75 70 |gHCButto|n..on up|
|00006200| 64 61 74 65 48 43 50 61 | 74 68 73 20 66 69 6c 65 |dateHCPa|ths file|
|00006210| 54 79 70 65 2c 74 68 65 | 50 61 74 68 0d 2d 2d 20 |Type,the|Path.-- |
|00006220| 52 65 71 75 69 72 65 73 | 20 66 75 6e 63 74 69 6f |Requires| functio|
|00006230| 6e 20 68 61 6e 64 6c 65 | 72 3a 20 73 74 72 69 6e |n handle|r: strin|
|00006240| 67 49 73 49 6e 43 6f 6e | 74 61 69 6e 65 72 0d 2d |gIsInCon|tainer.-|
|00006250| 2d 20 75 70 64 61 74 65 | 20 74 68 65 20 61 70 70 |- update| the app|
|00006260| 72 6f 70 72 69 61 74 65 | 20 70 61 74 68 20 63 61 |ropriate| path ca|
|00006270| 72 64 20 66 6f 72 20 74 | 68 65 20 6e 65 77 6c 79 |rd for t|he newly|
|00006280| 20 63 72 65 61 74 65 64 | 20 62 75 74 74 6f 6e 0d | created| button.|
|00006290| 67 6c 6f 62 61 6c 20 53 | 74 61 63 6b 73 2c 41 70 |global S|tacks,Ap|
|000062a0| 70 6c 69 63 61 74 69 6f | 6e 73 2c 44 6f 63 75 6d |plicatio|ns,Docum|
|000062b0| 65 6e 74 73 0d 70 75 74 | 20 22 73 22 20 61 66 74 |ents.put| "s" aft|
|000062c0| 65 72 20 66 69 6c 65 54 | 79 70 65 20 20 2d 2d 20 |er fileT|ype -- |
|000062d0| 20 73 6f 20 69 74 20 77 | 69 6c 6c 20 6d 61 74 63 | so it w|ill matc|
|000062e0| 68 20 63 61 72 64 20 26 | 20 67 6c 6f 62 61 6c 20 |h card &| global |
|000062f0| 6e 61 6d 65 0d 64 6f 20 | 22 67 65 74 22 20 26 26 |name.do |"get" &&|
|00006300| 20 66 69 6c 65 54 79 70 | 65 20 2d 2d 20 20 70 75 | fileTyp|e -- pu|
|00006310| 74 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |t the ap|propriat|
|00006320| 65 20 67 6c 6f 62 61 6c | 20 69 6e 74 6f 20 22 69 |e global| into "i|
|00006330| 74 22 0d 2d 2d 20 20 65 | 78 69 74 20 74 68 69 73 |t".-- e|xit this|
|00006340| 20 68 61 6e 64 6c 65 72 | 20 69 66 20 74 68 65 20 | handler| if the |
|00006350| 67 6c 6f 62 61 6c 20 61 | 6c 72 65 61 64 79 20 63 |global a|lready c|
|00006360| 6f 6e 74 61 69 6e 73 20 | 74 68 65 20 70 61 74 68 |ontains |the path|
|00006370| 0d 69 66 20 73 74 72 69 | 6e 67 49 73 49 6e 43 6f |.if stri|ngIsInCo|
|00006380| 6e 74 61 69 6e 65 72 28 | 74 68 65 50 61 74 68 2c |ntainer(|thePath,|
|00006390| 69 74 29 20 74 68 65 6e | 20 65 78 69 74 20 75 70 |it) then| exit up|
|000063a0| 64 61 74 65 48 43 50 61 | 74 68 73 0d 6c 6f 63 6b |dateHCPa|ths.lock|
|000063b0| 20 73 63 72 65 65 6e 0d | 73 65 74 20 63 75 72 73 | screen.|set curs|
|000063c0| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 73 65 74 20 |or to wa|tch.set |
|000063d0| 6c 6f 63 6b 6d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockmess|ages to |
|000063e0| 74 72 75 65 20 2d 2d 20 | 61 76 6f 69 64 20 6f 70 |true -- |avoid op|
|000063f0| 65 6e 20 6d 65 73 73 61 | 67 65 73 0d 73 65 74 20 |en messa|ges.set |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.