home *** CD-ROM | disk | FTP | other *** search
/ PSION CD 2 / PsionCDVol2.iso / Programs / 400 / STARTS5.SIS / devkit.SIS < prev    next >
EPOC Installation Package  |  1999-02-28  |  18.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: EPOC Installation Package (archive/epocInstallationPackage).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert EPOC Installation Package (archive/epocInstallationPackage) magic Supported
1% dexvert Symbian Series 3 Installation file (other/symbianSeries3InstallationFile) ext Unsupported
100% file Symbian installation file (EPOC release 3/4/5) default
99% file data default
99% TrID Microsoft Help (old) default (weak)
0% TrID EPOC Installation package (rel. 2,3,5) default (weak)
100% xdgMime application/vnd.symbian.install default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 65 87 00 00 6d 00 00 10 | 19 04 00 10 a6 c5 f7 81 |e...m...|........|
|00000010| 7b 25 01 00 06 00 00 00 | 00 00 00 00 00 00 00 00 |{%......|........|
|00000020| 64 00 00 00 02 00 00 00 | 01 00 00 00 00 00 00 00 |d.......|........|
|00000030| 44 00 00 00 46 00 00 00 | 1e 01 00 00 00 00 00 00 |D...F...|........|
|00000040| 1e 01 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 0b 00 00 00 26 01 | 00 00 12 00 00 00 31 01 |......&.|......1.|
|00000060| 00 00 51 02 00 00 08 02 | 00 00 00 00 00 00 00 00 |..Q.....|........|
|00000070| 00 00 00 00 00 00 08 00 | 00 00 43 01 00 00 0f 00 |........|..C.....|
|00000080| 00 00 4b 01 00 00 bc 07 | 00 00 59 04 00 00 00 00 |..K.....|..Y.....|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 0a 00 00 00 5a 01 |........|......Z.|
|000000a0| 00 00 11 00 00 00 64 01 | 00 00 75 08 00 00 15 0c |......d.|..u.....|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 0b 00 |........|........|
|000000c0| 00 00 75 01 00 00 12 00 | 00 00 80 01 00 00 5f 0d |..u.....|......_.|
|000000d0| 00 00 8a 14 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 15 00 00 00 92 01 | 00 00 25 00 00 00 a7 01 |........|..%.....|
|000000f0| 00 00 06 20 00 00 e9 21 | 00 00 00 00 00 00 00 00 |... ...!|........|
|00000100| 00 00 00 00 00 00 0c 00 | 00 00 cc 01 00 00 13 00 |........|........|
|00000110| 00 00 d8 01 00 00 d8 09 | 00 00 ef 41 00 00 1d 00 |........|...A....|
|00000120| 00 00 eb 01 00 00 53 35 | 44 65 76 5c 43 6c 6f 63 |......S5|Dev\Cloc|
|00000130| 6b 43 3a 5c 50 6c 75 67 | 49 6e 20 44 4b 5c 43 6c |kC:\Plug|In DK\Cl|
|00000140| 6f 63 6b 53 35 44 65 76 | 5c 43 46 43 3a 5c 50 6c |ockS5Dev|\CFC:\Pl|
|00000150| 75 67 49 6e 20 44 4b 5c | 43 46 53 35 44 65 76 5c |ugIn DK\|CFS5Dev\|
|00000160| 4c 69 6e 6b 43 3a 5c 50 | 6c 75 67 49 6e 20 44 4b |LinkC:\P|lugIn DK|
|00000170| 5c 4c 69 6e 6b 53 35 44 | 65 76 5c 50 6f 77 65 72 |\LinkS5D|ev\Power|
|00000180| 43 3a 5c 50 6c 75 67 49 | 6e 20 44 4b 5c 50 6f 77 |C:\PlugI|n DK\Pow|
|00000190| 65 72 53 35 44 65 76 5c | 53 74 61 72 74 35 20 41 |erS5Dev\|Start5 A|
|000001a0| 50 49 20 44 6f 63 75 43 | 3a 5c 50 6c 75 67 49 6e |PI DocuC|:\PlugIn|
|000001b0| 20 44 4b 5c 53 74 61 72 | 74 35 20 41 50 49 20 44 | DK\Star|t5 API D|
|000001c0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 53 35 44 65 |ocumenta|tionS5De|
|000001d0| 76 5c 50 6c 75 67 49 6e | 43 3a 5c 50 6c 75 67 49 |v\PlugIn|C:\PlugI|
|000001e0| 6e 20 44 4b 5c 50 6c 75 | 67 49 6e 53 74 61 72 74 |n DK\Plu|gInStart|
|000001f0| 35 20 50 6c 75 67 49 6e | 20 44 65 76 65 6c 6f 70 |5 PlugIn| Develop|
|00000200| 6d 65 6e 74 20 4b 69 74 | 37 00 00 10 6d 00 00 10 |ment Kit|7...m...|
|00000210| 85 00 00 10 f4 63 08 55 | 38 02 00 00 5c 00 00 10 |.....c.U|8...\...|
|00000220| 63 00 00 10 00 00 00 00 | 64 00 00 10 b1 05 72 65 |c.......|d.....re|
|00000230| 6d 20 43 6c 6f 63 6b 20 | 50 6c 75 67 49 6e 20 66 |m Clock |PlugIn f|
|00000240| 6f 72 20 53 74 61 72 74 | 35 06 72 65 6d 20 a9 31 |or Start|5.rem .1|
|00000250| 39 39 38 20 41 2e 20 50 | 65 6d 73 65 6c 06 06 70 |998 A. P|emsel..p|
|00000260| 72 6f 63 20 43 6c 6f 63 | 6b 5f 4c 6f 61 64 3a 06 |roc Cloc|k_Load:.|
|00000270| 65 6e 64 70 06 06 70 72 | 6f 63 20 43 6c 6f 63 6b |endp..pr|oc Clock|
|00000280| 5f 57 69 64 74 68 25 3a | 06 09 72 65 74 75 72 6e |_Width%:|..return|
|00000290| 20 34 35 06 65 6e 64 70 | 06 06 70 72 6f 63 20 43 | 45.endp|..proc C|
|000002a0| 6c 6f 63 6b 5f 55 70 64 | 61 74 65 52 61 74 65 25 |lock_Upd|ateRate%|
|000002b0| 3a 06 09 72 65 74 75 72 | 6e 20 30 20 72 65 6d 20 |:..retur|n 0 rem |
|000002c0| 4e 65 76 65 72 20 61 73 | 20 67 63 6c 6f 63 6b 20 |Never as| gclock |
|000002d0| 69 73 20 75 70 64 61 74 | 65 64 20 61 75 74 6f 6d |is updat|ed autom|
|000002e0| 61 74 69 63 61 6c 6c 79 | 06 65 6e 64 70 06 06 70 |atically|.endp..p|
|000002f0| 72 6f 63 20 43 6c 6f 63 | 6b 5f 44 72 61 77 3a 28 |roc Cloc|k_Draw:(|
|00000300| 77 69 64 25 29 06 09 67 | 75 73 65 20 77 69 64 25 |wid%)..g|use wid%|
|00000310| 06 09 67 61 74 20 32 2c | 35 06 09 67 63 6c 6f 63 |..gat 2,|5..gcloc|
|00000320| 6b 20 6f 6e 2c 31 31 2c | 30 2c 22 25 46 25 4a 3a |k on,11,|0,"%F%J:|
|00000330| 25 54 22 06 65 6e 64 70 | 06 06 70 72 6f 63 20 43 |%T".endp|..proc C|
|00000340| 6c 6f 63 6b 5f 55 70 64 | 61 74 65 3a 28 77 69 64 |lock_Upd|ate:(wid|
|00000350| 25 29 06 65 6e 64 70 06 | 06 70 72 6f 63 20 43 6c |%).endp.|.proc Cl|
|00000360| 6f 63 6b 5f 55 6e 6c 6f | 61 64 3a 06 65 6e 64 70 |ock_Unlo|ad:.endp|
|00000370| 06 06 70 72 6f 63 20 43 | 6c 6f 63 6b 5f 54 61 70 |..proc C|lock_Tap|
|00000380| 70 65 64 3a 06 09 67 69 | 70 72 69 6e 74 20 64 61 |ped:..gi|print da|
|00000390| 74 69 6d 24 06 65 6e 64 | 70 06 01 00 00 00 00 00 |tim$.end|p.......|
|000003a0| 00 00 01 00 00 00 00 00 | 00 00 01 00 00 00 d0 02 |........|........|
|000003b0| 00 00 d0 02 00 00 a0 05 | 00 00 a0 05 00 00 a0 05 |........|........|
|000003c0| 00 00 a0 05 00 00 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 5c 00 00 10 63 | 00 00 10 92 01 00 00 65 |...\...c|.......e|
|000003e0| 00 00 10 00 00 00 00 66 | 00 00 10 00 00 00 00 64 |.......f|.......d|
|000003f0| 00 00 10 02 06 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 5c 00 00 10 63 00 | 00 10 9a 01 00 00 65 00 |..\...c.|......e.|
|00000410| 00 10 00 00 00 00 66 00 | 00 10 00 00 00 00 64 00 |......f.|......d.|
|00000420| 00 10 02 06 fd 00 00 10 | 82 2e 00 00 c6 41 00 00 |........|.....A..|
|00000430| 00 85 00 00 10 2a 54 65 | 78 74 45 64 2e 61 70 70 |.....*Te|xtEd.app|
|00000440| 06 85 00 00 10 14 00 00 | 00 05 01 00 10 a2 01 00 |........|........|
|00000450| 00 89 00 00 10 29 02 00 | 00 37 00 00 10 6d 00 00 |.....)..|.7...m..|
|00000460| 10 85 00 00 10 f4 63 08 | 55 a3 07 00 00 5c 00 00 |......c.|U....\..|
|00000470| 10 63 00 00 10 00 00 00 | 00 64 00 00 10 5d 1b 72 |.c......|.d...].r|
|00000480| 65 6d 20 43 46 20 50 6c | 75 67 49 6e 20 66 6f 72 |em CF Pl|ugIn for|
|00000490| 20 53 74 61 72 74 35 20 | 76 32 2e 30 06 72 65 6d | Start5 |v2.0.rem|
|000004a0| 20 56 31 2e 30 30 06 72 | 65 6d 20 a9 31 39 39 38 | V1.00.r|em .1998|
|000004b0| 20 4f 6c 69 76 65 72 20 | 54 f6 6c 6b 65 72 06 06 | Oliver |T.lker..|
|000004c0| 72 65 6d 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |rem ----|--------|
|000004d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000004e0| 2d 2d 2d 06 06 69 6e 63 | 6c 75 64 65 20 22 73 79 |---..inc|lude "sy|
|000004f0| 73 74 69 6e 66 6f 2e 6f | 78 68 22 06 69 6e 63 6c |stinfo.o|xh".incl|
|00000500| 75 64 65 20 22 73 79 73 | 74 65 6d 2e 6f 78 68 22 |ude "sys|tem.oxh"|
|00000510| 06 06 63 6f 6e 73 74 20 | 4b 50 6c 75 67 69 6e 55 |..const |KPluginU|
|00000520| 70 64 61 74 65 52 61 74 | 65 4e 65 76 65 72 25 3d |pdateRat|eNever%=|
|00000530| 30 06 63 6f 6e 73 74 20 | 4b 50 6c 75 67 69 6e 55 |0.const |KPluginU|
|00000540| 70 64 61 74 65 52 61 74 | 65 4e 6f 72 6d 61 6c 25 |pdateRat|eNormal%|
|00000550| 3d 31 06 63 6f 6e 73 74 | 20 4b 50 6c 75 67 69 6e |=1.const| KPlugin|
|00000560| 55 70 64 61 74 65 52 61 | 74 65 48 69 67 68 25 3d |UpdateRa|teHigh%=|
|00000570| 32 06 63 6f 6e 73 74 20 | 4b 50 6c 75 67 69 6e 55 |2.const |KPluginU|
|00000580| 70 64 61 74 65 52 61 74 | 65 4d 61 78 25 3d 33 20 |pdateRat|eMax%=3 |
|00000590| 72 65 6d 20 6e 6f 74 20 | 69 6d 70 6c 65 6d 65 6e |rem not |implemen|
|000005a0| 74 65 64 20 79 65 74 06 | 63 6f 6e 73 74 20 4b 50 |ted yet.|const KP|
|000005b0| 6c 75 67 69 6e 48 65 69 | 67 68 74 25 3d 32 32 20 |luginHei|ght%=22 |
|000005c0| 72 65 6d 20 61 6c 6c 20 | 50 6c 75 67 49 6e 73 20 |rem all |PlugIns |
|000005d0| 68 61 76 65 20 74 68 65 | 20 73 61 6d 65 20 68 65 |have the| same he|
|000005e0| 69 67 68 74 20 69 6e 20 | 76 32 2e 30 50 41 06 06 |ight in |v2.0PA..|
|000005f0| 72 65 6d 20 54 68 69 73 | 20 70 72 6f 63 20 69 73 |rem This| proc is|
|00000600| 20 63 61 6c 6c 65 64 20 | 77 68 65 6e 20 74 68 65 | called |when the|
|00000610| 20 50 6c 75 67 49 6e 20 | 69 73 20 6c 6f 61 64 65 | PlugIn |is loade|
|00000620| 64 06 70 72 6f 63 20 43 | 46 5f 4c 6f 61 64 3a 06 |d.proc C|F_Load:.|
|00000630| 65 6e 64 70 06 06 72 65 | 6d 20 54 68 69 73 20 70 |endp..re|m This p|
|00000640| 72 6f 63 20 6d 75 73 74 | 20 72 65 74 75 72 6e 20 |roc must| return |
|00000650| 74 68 65 20 50 6c 75 67 | 49 6e 27 73 20 77 69 64 |the Plug|In's wid|
|00000660| 74 68 06 70 72 6f 63 20 | 43 46 5f 57 69 64 74 68 |th.proc |CF_Width|
|00000670| 25 3a 06 09 72 65 74 75 | 72 6e 20 32 30 06 65 6e |%:..retu|rn 20.en|
|00000680| 64 70 06 06 72 65 6d 20 | 54 68 69 73 20 70 72 6f |dp..rem |This pro|
|00000690| 63 20 6d 75 73 74 20 72 | 65 74 75 72 6e 20 6f 6e |c must r|eturn on|
|000006a0| 65 20 6f 66 20 74 68 65 | 20 63 6f 6e 73 74 61 6e |e of the| constan|
|000006b0| 74 73 06 72 65 6d 20 64 | 65 66 69 6e 65 64 20 61 |ts.rem d|efined a|
|000006c0| 62 6f 76 65 06 70 72 6f | 63 20 43 46 5f 55 70 64 |bove.pro|c CF_Upd|
|000006d0| 61 74 65 52 61 74 65 25 | 3a 06 09 72 65 74 75 72 |ateRate%|:..retur|
|000006e0| 6e 20 4b 50 6c 75 67 69 | 6e 55 70 64 61 74 65 52 |n KPlugi|nUpdateR|
|000006f0| 61 74 65 48 69 67 68 25 | 06 65 6e 64 70 06 06 72 |ateHigh%|.endp..r|
|00000700| 65 6d 20 54 68 69 73 20 | 69 73 20 63 61 6c 6c 65 |em This |is calle|
|00000710| 64 20 6f 6e 6c 79 20 6f | 6e 63 65 20 61 66 74 65 |d only o|nce afte|
|00000720| 72 20 74 68 65 20 50 6c | 75 67 49 6e 06 72 65 6d |r the Pl|ugIn.rem|
|00000730| 20 67 6f 74 20 69 74 73 | 20 6f 77 6e 20 77 69 6e | got its| own win|
|00000740| 64 6f 77 2e 20 77 69 64 | 25 20 69 73 20 74 68 65 |dow. wid|% is the|
|00000750| 20 57 69 6e 64 6f 77 49 | 44 20 6f 66 06 72 65 6d | WindowI|D of.rem|
|00000760| 20 74 68 65 20 50 6c 75 | 67 49 6e 73 20 77 69 6e | the Plu|gIns win|
|00000770| 64 6f 77 2e 06 70 72 6f | 63 20 43 46 5f 44 72 61 |dow..pro|c CF_Dra|
|00000780| 77 3a 28 77 69 64 25 29 | 06 20 09 43 46 5f 55 70 |w:(wid%)|. .CF_Up|
|00000790| 64 61 74 65 3a 28 77 69 | 64 25 29 06 65 6e 64 70 |date:(wi|d%).endp|
|000007a0| 06 06 72 65 6d 20 54 68 | 69 73 20 69 73 20 63 61 |..rem Th|is is ca|
|000007b0| 6c 6c 65 64 20 66 72 6f | 6d 20 74 69 6d 65 20 74 |lled fro|m time t|
|000007c0| 6f 20 74 69 6d 65 20 28 | 64 65 70 65 6e 64 69 6e |o time (|dependin|
|000007d0| 67 06 72 65 6d 20 6f 6e | 20 74 68 65 20 75 70 64 |g.rem on| the upd|
|000007e0| 61 74 65 20 72 61 74 65 | 20 73 65 74 74 69 6e 67 |ate rate| setting|
|000007f0| 29 2e 20 41 73 20 53 74 | 61 72 74 35 20 61 6e 64 |). As St|art5 and|
|00000800| 20 61 6c 6c 06 72 65 6d | 20 50 6c 75 67 49 6e 73 | all.rem| PlugIns|
|00000810| 20 61 72 65 20 65 78 65 | 63 75 74 65 64 20 69 6e | are exe|cuted in|
|00000820| 20 63 6f 6f 70 65 72 61 | 74 69 76 65 20 6d 75 6c | coopera|tive mul|
|00000830| 74 69 74 61 73 6b 69 6e | 67 06 72 65 6d 20 74 68 |titaskin|g.rem th|
|00000840| 69 73 20 70 72 6f 63 20 | 73 68 6f 75 6c 64 20 72 |is proc |should r|
|00000850| 65 74 75 72 6e 20 61 73 | 20 66 61 73 74 20 61 73 |eturn as| fast as|
|00000860| 20 70 6f 73 73 69 62 6c | 65 2e 06 72 65 6d 20 28 | possibl|e..rem (|
|00000870| 4e 6f 72 6d 61 6c 6c 79 | 20 61 66 74 65 72 20 6d |Normally| after m|
|00000880| 61 78 2e 20 31 2f 34 20 | 73 65 63 2e 29 06 70 72 |ax. 1/4 |sec.).pr|
|00000890| 6f 63 20 43 46 5f 55 70 | 64 61 74 65 3a 28 77 69 |oc CF_Up|date:(wi|
|000008a0| 64 25 29 06 09 4c 4f 43 | 41 4c 20 77 69 64 62 25 |d%)..LOC|AL widb%|
|000008b0| 2c 20 70 72 65 73 65 6e | 74 25 06 06 09 69 66 20 |, presen|t%...if |
|000008c0| 4d 45 44 49 41 54 59 50 | 45 26 3a 28 33 29 0d 3c |MEDIATYP|E&:(3).<|
|000008d0| 4b 4d 65 64 69 61 52 65 | 6d 6f 74 65 26 06 09 09 |KMediaRe|mote&...|
|000008e0| 70 72 65 73 65 6e 74 25 | 3d 31 0d 06 09 65 6c 73 |present%|=1...els|
|000008f0| 65 06 09 09 70 72 65 73 | 65 6e 74 25 3d 30 06 09 |e...pres|ent%=0..|
|00000900| 65 6e 64 49 66 06 09 77 | 69 64 62 25 3d 67 6c 6f |endIf..w|idb%=glo|
|00000910| 61 64 62 69 74 28 4d 79 | 44 69 72 24 2b 22 50 6c |adbit(My|Dir$+"Pl|
|00000920| 75 67 69 6e 73 5c 43 46 | 2e 6d 62 6d 22 2c 30 2c |ugins\CF|.mbm",0,|
|00000930| 20 70 72 65 73 65 6e 74 | 25 29 06 09 67 75 73 65 | present|%)..guse|
|00000940| 20 77 69 64 25 06 09 67 | 61 74 20 31 2c 31 06 09 | wid%..g|at 1,1..|
|00000950| 67 63 6f 70 79 20 77 69 | 64 62 25 2c 30 2c 30 2c |gcopy wi|db%,0,0,|
|00000960| 32 30 2c 32 30 2c 33 06 | 09 67 63 6c 6f 73 65 20 |20,20,3.|.gclose |
|00000970| 77 69 64 62 25 06 65 6e | 64 70 06 06 72 65 6d 20 |widb%.en|dp..rem |
|00000980| 54 68 69 73 20 77 69 6c | 6c 20 62 65 20 63 61 6c |This wil|l be cal|
|00000990| 6c 65 64 20 77 68 65 6e | 20 74 68 65 20 50 6c 75 |led when| the Plu|
|000009a0| 67 49 6e 20 69 73 20 75 | 6e 6c 6f 61 64 65 64 2e |gIn is u|nloaded.|
|000009b0| 06 70 72 6f 63 20 43 46 | 5f 55 6e 6c 6f 61 64 3a |.proc CF|_Unload:|
|000009c0| 06 65 6e 64 70 06 06 72 | 65 6d 20 50 65 72 68 61 |.endp..r|em Perha|
|000009d0| 70 73 20 74 68 65 20 6d | 6f 73 74 20 69 6d 70 6f |ps the m|ost impo|
|000009e0| 72 74 61 6e 74 20 70 72 | 6f 63 2e 20 43 61 6c 6c |rtant pr|oc. Call|
|000009f0| 65 64 20 77 68 65 6e 65 | 76 65 72 06 72 65 6d 20 |ed whene|ver.rem |
|00000a00| 74 68 65 20 50 6c 75 67 | 49 6e 73 20 77 69 6e 64 |the Plug|Ins wind|
|00000a10| 6f 77 20 69 73 20 74 61 | 70 70 65 64 2e 20 4e 6f |ow is ta|pped. No|
|00000a20| 74 65 20 74 68 61 74 20 | 69 66 20 79 6f 75 06 72 |te that |if you.r|
|00000a30| 65 6d 20 73 74 6f 70 20 | 74 68 65 20 70 72 6f 67 |em stop |the prog|
|00000a40| 72 61 6d 20 69 6e 20 74 | 68 69 73 20 70 72 6f 63 |ram in t|his proc|
|00000a50| 2c 20 53 74 61 72 74 35 | 20 77 69 6c 6c 20 6e 6f |, Start5| will no|
|00000a60| 74 06 72 65 6d 20 72 65 | 61 63 74 20 74 6f 20 65 |t.rem re|act to e|
|00000a70| 76 65 6e 74 73 2e 06 70 | 72 6f 63 20 43 46 5f 54 |vents..p|roc CF_T|
|00000a80| 61 70 70 65 64 3a 06 09 | 69 66 20 4d 45 44 49 41 |apped:..|if MEDIA|
|00000a90| 54 59 50 45 26 3a 28 33 | 29 0d 3c 4b 4d 65 64 69 |TYPE&:(3|).<KMedi|
|00000aa0| 61 52 65 6d 6f 74 65 26 | 06 09 09 67 69 50 72 69 |aRemote&|...giPri|
|00000ab0| 6e 74 20 22 27 22 2b 53 | 49 56 6f 6c 75 6d 65 4e |nt "'"+S|IVolumeN|
|00000ac0| 61 6d 65 24 3a 28 33 29 | 2b 22 27 20 66 72 65 65 |ame$:(3)|+"' free|
|00000ad0| 3a 22 2b 66 69 78 24 28 | 76 6f 6c 75 6d 65 73 70 |:"+fix$(|volumesp|
|00000ae0| 61 63 65 66 72 65 65 26 | 3a 28 33 29 2f 31 30 32 |acefree&|:(3)/102|
|00000af0| 34 2e 30 2c 31 2c 31 32 | 29 2b 22 20 6f 66 20 22 |4.0,1,12|)+" of "|
|00000b00| 2b 66 69 78 24 28 76 6f | 6c 75 6d 65 73 69 7a 65 |+fix$(vo|lumesize|
|00000b10| 26 3a 28 33 29 2f 31 30 | 32 34 2e 30 2c 31 2c 31 |&:(3)/10|24.0,1,1|
|00000b20| 32 29 2b 22 20 4d 42 22 | 06 09 65 6c 73 65 06 09 |2)+" MB"|..else..|
|00000b30| 09 67 69 50 72 69 6e 74 | 20 22 53 6c 6f 74 20 69 |.giPrint| "Slot i|
|00000b40| 73 20 65 6d 70 74 79 21 | 22 06 09 65 6e 64 49 66 |s empty!|"..endIf|
|00000b50| 06 65 6e 64 70 06 01 00 | 00 00 00 00 00 00 01 00 |.endp...|........|
|00000b60| 00 00 00 00 00 00 01 00 | 00 00 d0 02 00 00 d0 02 |........|........|
|00000b70| 00 00 a0 05 00 00 a0 05 | 00 00 a0 05 00 00 a0 05 |........|........|
|00000b80| 00 00 01 00 00 00 00 00 | 00 00 00 00 00 00 00 5c |........|.......\|
|00000b90| 00 00 10 63 00 00 10 fd | 06 00 00 65 00 00 10 00 |...c....|...e....|
|00000ba0| 00 00 00 66 00 00 10 00 | 00 00 00 64 00 00 10 02 |...f....|...d....|
|00000bb0| 06 01 00 00 00 00 00 00 | 00 00 00 00 00 00 5c 00 |........|......\.|
|00000bc0| 00 10 63 00 00 10 05 07 | 00 00 65 00 00 10 00 00 |..c.....|..e.....|
|00000bd0| 00 00 66 00 00 10 00 00 | 00 00 64 00 00 10 02 06 |..f.....|..d.....|
|00000be0| fd 00 00 10 82 2e 00 00 | c6 41 00 00 00 85 00 00 |........|.A......|
|00000bf0| 10 2a 54 65 78 74 45 64 | 2e 61 70 70 06 85 00 00 |.*TextEd|.app....|
|00000c00| 10 14 00 00 00 05 01 00 | 10 0d 07 00 00 89 00 00 |........|........|
|00000c10| 10 94 07 00 00 37 00 00 | 10 6d 00 00 10 85 00 00 |.....7..|.m......|
|00000c20| 10 f4 63 08 55 5c 08 00 | 00 5c 00 00 10 63 00 00 |..c.U\..|.\...c..|
|00000c30| 10 00 00 00 00 64 00 00 | 10 41 1e 72 65 6d 20 4c |.....d..|.A.rem L|
|00000c40| 69 6e 6b 20 50 6c 75 67 | 49 6e 20 66 6f 72 20 53 |ink Plug|In for S|
|00000c50| 74 61 72 74 35 20 76 32 | 2e 30 06 72 65 6d 20 56 |tart5 v2|.0.rem V|
|00000c60| 31 2e 30 30 06 72 65 6d | 20 a9 31 39 39 38 20 4f |1.00.rem| .1998 O|
|00000c70| 6c 69 76 65 72 20 54 f6 | 6c 6b 65 72 06 06 72 65 |liver T.|lker..re|
|00000c80| 6d 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |m ------|--------|
|00000c90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ca0| 2d 06 06 69 6e 63 6c 75 | 64 65 20 22 73 79 73 74 |-..inclu|de "syst|
|00000cb0| 69 6e 66 6f 2e 6f 78 68 | 22 06 06 63 6f 6e 73 74 |info.oxh|"..const|
|00000cc0| 20 4b 50 6c 75 67 69 6e | 55 70 64 61 74 65 52 61 | KPlugin|UpdateRa|
|00000cd0| 74 65 4e 65 76 65 72 25 | 3d 30 06 63 6f 6e 73 74 |teNever%|=0.const|
|00000ce0| 20 4b 50 6c 75 67 69 6e | 55 70 64 61 74 65 52 61 | KPlugin|UpdateRa|
|00000cf0| 74 65 4e 6f 72 6d 61 6c | 25 3d 31 06 63 6f 6e 73 |teNormal|%=1.cons|
|00000d00| 74 20 4b 50 6c 75 67 69 | 6e 55 70 64 61 74 65 52 |t KPlugi|nUpdateR|
|00000d10| 61 74 65 48 69 67 68 25 | 3d 32 06 63 6f 6e 73 74 |ateHigh%|=2.const|
|00000d20| 20 4b 50 6c 75 67 69 6e | 55 70 64 61 74 65 52 61 | KPlugin|UpdateRa|
|00000d30| 74 65 4d 61 78 25 3d 33 | 20 72 65 6d 20 6e 6f 74 |teMax%=3| rem not|
|00000d40| 20 69 6d 70 6c 65 6d 65 | 6e 74 65 64 20 79 65 74 | impleme|nted yet|
|00000d50| 06 63 6f 6e 73 74 20 4b | 50 6c 75 67 69 6e 48 65 |.const K|PluginHe|
|00000d60| 69 67 68 74 25 3d 32 32 | 20 72 65 6d 20 61 6c 6c |ight%=22| rem all|
|00000d70| 20 50 6c 75 67 49 6e 73 | 20 68 61 76 65 20 74 68 | PlugIns| have th|
|00000d80| 65 20 73 61 6d 65 20 68 | 65 69 67 68 74 20 69 6e |e same h|eight in|
|00000d90| 20 76 32 2e 30 50 41 06 | 06 72 65 6d 20 54 68 69 | v2.0PA.|.rem Thi|
|00000da0| 73 20 70 72 6f 63 20 69 | 73 20 63 61 6c 6c 65 64 |s proc i|s called|
|00000db0| 20 77 68 65 6e 20 74 68 | 65 20 50 6c 75 67 49 6e | when th|e PlugIn|
|00000dc0| 20 69 73 20 6c 6f 61 64 | 65 64 06 70 72 6f 63 20 | is load|ed.proc |
|00000dd0| 4c 69 6e 6b 5f 4c 6f 61 | 64 3a 06 65 6e 64 70 06 |Link_Loa|d:.endp.|
|00000de0| 06 72 65 6d 20 54 68 69 | 73 20 70 72 6f 63 20 6d |.rem Thi|s proc m|
|00000df0| 75 73 74 20 72 65 74 75 | 72 6e 20 74 68 65 20 50 |ust retu|rn the P|
|00000e00| 6c 75 67 49 6e 27 73 20 | 77 69 64 74 68 06 70 72 |lugIn's |width.pr|
|00000e10| 6f 63 20 4c 69 6e 6b 5f | 57 69 64 74 68 25 3a 06 |oc Link_|Width%:.|
|00000e20| 09 72 65 74 75 72 6e 20 | 32 30 06 65 6e 64 70 06 |.return |20.endp.|
|00000e30| 06 72 65 6d 20 54 68 69 | 73 20 70 72 6f 63 20 6d |.rem Thi|s proc m|
|00000e40| 75 73 74 20 72 65 74 75 | 72 6e 20 6f 6e 65 20 6f |ust retu|rn one o|
|00000e50| 66 20 74 68 65 20 63 6f | 6e 73 74 61 6e 74 73 06 |f the co|nstants.|
|00000e60| 72 65 6d 20 64 65 66 69 | 6e 65 64 20 61 62 6f 76 |rem defi|ned abov|
|00000e70| 65 06 70 72 6f 63 20 4c | 69 6e 6b 5f 55 70 64 61 |e.proc L|ink_Upda|
|00000e80| 74 65 52 61 74 65 25 3a | 06 09 72 65 74 75 72 6e |teRate%:|..return|
|00000e90| 20 4b 50 6c 75 67 69 6e | 55 70 64 61 74 65 52 61 | KPlugin|UpdateRa|
|00000ea0| 74 65 48 69 67 68 25 06 | 65 6e 64 70 06 06 72 65 |teHigh%.|endp..re|
|00000eb0| 6d 20 54 68 69 73 20 69 | 73 20 63 61 6c 6c 65 64 |m This i|s called|
|00000ec0| 20 6f 6e 6c 79 20 6f 6e | 63 65 20 61 66 74 65 72 | only on|ce after|
|00000ed0| 20 74 68 65 20 50 6c 75 | 67 49 6e 06 72 65 6d 20 | the Plu|gIn.rem |
|00000ee0| 67 6f 74 20 69 74 73 20 | 6f 77 6e 20 77 69 6e 64 |got its |own wind|
|00000ef0| 6f 77 2e 20 77 69 64 25 | 20 69 73 20 74 68 65 20 |ow. wid%| is the |
|00000f00| 57 69 6e 64 6f 77 49 44 | 20 6f 66 06 72 65 6d 20 |WindowID| of.rem |
|00000f10| 74 68 65 20 50 6c 75 67 | 49 6e 73 20 77 69 6e 64 |the Plug|Ins wind|
|00000f20| 6f 77 2e 06 70 72 6f 63 | 20 4c 69 6e 6b 5f 44 72 |ow..proc| Link_Dr|
|00000f30| 61 77 3a 28 77 69 64 25 | 29 06 20 09 4c 69 6e 6b |aw:(wid%|). .Link|
|00000f40| 5f 55 70 64 61 74 65 3a | 28 77 69 64 25 29 06 65 |_Update:|(wid%).e|
|00000f50| 6e 64 70 06 06 72 65 6d | 20 54 68 69 73 20 69 73 |ndp..rem| This is|
|00000f60| 20 63 61 6c 6c 65 64 20 | 66 72 6f 6d 20 74 69 6d | called |from tim|
|00000f70| 65 20 74 6f 20 74 69 6d | 65 20 28 64 65 70 65 6e |e to tim|e (depen|
|00000f80| 64 69 6e 67 06 72 65 6d | 20 6f 6e 20 74 68 65 20 |ding.rem| on the |
|00000f90| 75 70 64 61 74 65 20 72 | 61 74 65 20 73 65 74 74 |update r|ate sett|
|00000fa0| 69 6e 67 29 2e 20 41 73 | 20 53 74 61 72 74 35 20 |ing). As| Start5 |
|00000fb0| 61 6e 64 20 61 6c 6c 06 | 72 65 6d 20 50 6c 75 67 |and all.|rem Plug|
|00000fc0| 49 6e 73 20 61 72 65 20 | 65 78 65 63 75 74 65 64 |Ins are |executed|
|00000fd0| 20 69 6e 20 63 6f 6f 70 | 65 72 61 74 69 76 65 20 | in coop|erative |
|00000fe0| 6d 75 6c 74 69 74 61 73 | 6b 69 6e 67 06 72 65 6d |multitas|king.rem|
|00000ff0| 20 74 68 69 73 20 70 72 | 6f 63 20 73 68 6f 75 6c | this pr|oc shoul|
|00001000| 64 20 72 65 74 75 72 6e | 20 61 73 20 66 61 73 74 |d return| as fast|
|00001010| 20 61 73 20 70 6f 73 73 | 69 62 6c 65 2e 06 72 65 | as poss|ible..re|
|00001020| 6d 20 28 4e 6f 72 6d 61 | 6c 6c 79 20 61 66 74 65 |m (Norma|lly afte|
|00001030| 72 20 6d 61 78 2e 20 31 | 2f 34 20 73 65 63 2e 29 |r max. 1|/4 sec.)|
|00001040| 06 70 72 6f 63 20 4c 69 | 6e 6b 5f 55 70 64 61 74 |.proc Li|nk_Updat|
|00001050| 65 3a 28 77 69 64 25 29 | 06 09 4c 4f 43 41 4c 20 |e:(wid%)|..LOCAL |
|00001060| 77 69 64 62 25 2c 20 6c | 69 6e 6b 53 74 61 74 75 |widb%, l|inkStatu|
|00001070| 73 26 06 06 09 6c 69 6e | 6b 53 74 61 74 75 73 26 |s&...lin|kStatus&|
|00001080| 3d 53 49 52 65 6d 6f 74 | 65 4c 69 6e 6b 53 74 61 |=SIRemot|eLinkSta|
|00001090| 74 75 73 26 3a 06 09 77 | 69 64 62 25 3d 67 6c 6f |tus&:..w|idb%=glo|
|000010a0| 61 64 62 69 74 28 4d 79 | 44 69 72 24 2b 22 50 6c |adbit(My|Dir$+"Pl|
|000010b0| 75 67 69 6e 73 5c 4c 69 | 6e 6b 2e 6d 62 6d 22 2c |ugins\Li|nk.mbm",|
|000010c0| 30 2c 20 6c 69 6e 6b 53 | 74 61 74 75 73 26 29 06 |0, linkS|tatus&).|
|000010d0| 09 67 75 73 65 20 77 69 | 64 25 06 09 67 61 74 20 |.guse wi|d%..gat |
|000010e0| 31 2c 31 06 09 67 63 6f | 70 79 20 77 69 64 62 25 |1,1..gco|py widb%|
|000010f0| 2c 30 2c 30 2c 32 30 2c | 32 30 2c 33 06 09 67 63 |,0,0,20,|20,3..gc|
|00001100| 6c 6f 73 65 20 77 69 64 | 62 25 06 65 6e 64 70 06 |lose wid|b%.endp.|
|00001110| 06 72 65 6d 20 54 68 69 | 73 20 77 69 6c 6c 20 62 |.rem Thi|s will b|
|00001120| 65 20 63 61 6c 6c 65 64 | 20 77 68 65 6e 20 74 68 |e called| when th|
|00001130| 65 20 50 6c 75 67 49 6e | 20 69 73 20 75 6e 6c 6f |e PlugIn| is unlo|
|00001140| 61 64 65 64 2e 06 70 72 | 6f 63 20 4c 69 6e 6b 5f |aded..pr|oc Link_|
|00001150| 55 6e 6c 6f 61 64 3a 06 | 65 6e 64 70 06 06 72 65 |Unload:.|endp..re|
|00001160| 6d 20 50 65 72 68 61 70 | 73 20 74 68 65 20 6d 6f |m Perhap|s the mo|
|00001170| 73 74 20 69 6d 70 6f 72 | 74 61 6e 74 20 70 72 6f |st impor|tant pro|
|00001180| 63 2e 20 43 61 6c 6c 65 | 64 20 77 68 65 6e 65 76 |c. Calle|d whenev|
|00001190| 65 72 06 72 65 6d 20 74 | 68 65 20 50 6c 75 67 49 |er.rem t|he PlugI|
|000011a0| 6e 73 20 77 69 6e 64 6f | 77 20 69 73 20 74 61 70 |ns windo|w is tap|
|000011b0| 70 65 64 2e 20 4e 6f 74 | 65 20 74 68 61 74 20 69 |ped. Not|e that i|
|000011c0| 66 20 79 6f 75 06 72 65 | 6d 20 73 74 6f 70 20 74 |f you.re|m stop t|
|000011d0| 68 65 20 70 72 6f 67 72 | 61 6d 20 69 6e 20 74 68 |he progr|am in th|
|000011e0| 69 73 20 70 72 6f 63 2c | 20 53 74 61 72 74 35 20 |is proc,| Start5 |
|000011f0| 77 69 6c 6c 20 6e 6f 74 | 06 72 65 6d 20 72 65 61 |will not|.rem rea|
|00001200| 63 74 20 74 6f 20 65 76 | 65 6e 74 73 2e 06 70 72 |ct to ev|ents..pr|
|00001210| 6f 63 20 4c 69 6e 6b 5f | 54 61 70 70 65 64 3a 06 |oc Link_|Tapped:.|
|00001220| 09 4c 4f 43 41 4c 20 6c | 69 6e 6b 53 74 61 74 75 |.LOCAL l|inkStatu|
|00001230| 73 26 2c 20 61 63 74 69 | 6f 6e 24 28 37 29 06 06 |s&, acti|on$(7)..|
|00001240| 09 6c 69 6e 6b 53 74 61 | 74 75 73 26 3d 53 49 52 |.linkSta|tus&=SIR|
|00001250| 65 6d 6f 74 65 4c 69 6e | 6b 53 74 61 74 75 73 26 |emoteLin|kStatus&|
|00001260| 3a 06 09 69 66 20 6c 69 | 6e 6b 53 74 61 74 75 73 |:..if li|nkStatus|
|00001270| 26 3d 30 06 09 09 61 63 | 74 69 6f 6e 24 3d 22 45 |&=0...ac|tion$="E|
|00001280| 4e 41 42 4c 45 22 06 09 | 65 6c 73 65 69 66 20 6c |NABLE"..|elseif l|
|00001290| 69 6e 6b 53 74 61 74 75 | 73 26 3d 31 06 09 09 61 |inkStatu|s&=1...a|
|000012a0| 63 74 69 6f 6e 24 3d 22 | 44 49 53 41 42 4c 45 22 |ction$="|DISABLE"|
|000012b0| 06 09 65 6c 73 65 06 09 | 09 61 63 74 69 6f 6e 24 |..else..|.action$|
|000012c0| 3d 22 44 49 53 41 42 4c | 45 22 06 09 65 6e 64 69 |="DISABL|E"..endi|
|000012d0| 66 06 09 64 69 6e 69 74 | 20 22 4c 69 6e 6b 20 50 |f..dinit| "Link P|
|000012e0| 6c 75 67 69 6e 20 56 31 | 2e 30 22 06 09 64 74 65 |lugin V1|.0"..dte|
|000012f0| 78 74 20 22 22 2c 20 22 | 44 6f 20 79 6f 75 20 77 |xt "", "|Do you w|
|00001300| 61 6e 74 20 74 6f 20 22 | 2b 61 63 74 69 6f 6e 24 |ant to "|+action$|
|00001310| 2b 22 20 74 68 65 20 6c | 69 6e 6b 20 3f 22 06 09 |+" the l|ink ?"..|
|00001320| 64 62 75 74 74 6f 6e 73 | 20 22 59 65 73 22 2c 25 |dbuttons| "Yes",%|
|00001330| 79 20 6f 72 20 24 31 30 | 30 20 6f 72 20 24 32 30 |y or $10|0 or $20|
|00001340| 30 2c 22 4e 6f 22 2c 2d | 28 25 6e 20 6f 72 20 24 |0,"No",-|(%n or $|
|00001350| 31 30 30 20 6f 72 20 24 | 32 30 30 29 06 09 69 66 |100 or $|200)..if|
|00001360| 20 64 69 61 6c 6f 67 3d | 25 79 06 09 09 69 66 20 | dialog=|%y...if |
|00001370| 61 63 74 69 6f 6e 24 3d | 22 45 4e 41 42 4c 45 22 |action$=|"ENABLE"|
|00001380| 06 09 09 09 53 49 52 65 | 6d 6f 74 65 4c 69 6e 6b |....SIRe|moteLink|
|00001390| 45 6e 61 62 6c 65 3a 06 | 09 09 65 6c 73 65 06 09 |Enable:.|..else..|
|000013a0| 09 09 53 49 52 65 6d 6f | 74 65 4c 69 6e 6b 44 69 |..SIRemo|teLinkDi|
|000013b0| 73 61 62 6c 65 3a 06 09 | 09 65 6e 64 69 66 06 09 |sable:..|.endif..|
|000013c0| 65 6e 64 69 66 06 65 6e | 64 70 06 01 00 00 00 00 |endif.en|dp......|
|000013d0| 00 00 00 01 00 00 00 00 | 00 00 00 01 00 00 00 d0 |........|........|
|000013e0| 02 00 00 d0 02 00 00 a0 | 05 00 00 a0 05 00 00 a0 |........|........|
|000013f0| 05 00 00 a0 05 00 00 01 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 00 00 5c 00 00 10 | 63 00 00 10 b6 07 00 00 |....\...|c.......|
|00001410| 65 00 00 10 00 00 00 00 | 66 00 00 10 00 00 00 00 |e.......|f.......|
|00001420| 64 00 00 10 02 06 01 00 | 00 00 00 00 00 00 00 00 |d.......|........|
|00001430| 00 00 00 5c 00 00 10 63 | 00 00 10 be 07 00 00 65 |...\...c|.......e|
|00001440| 00 00 10 00 00 00 00 66 | 00 00 10 00 00 00 00 64 |.......f|.......d|
|00001450| 00 00 10 02 06 fd 00 00 | 10 82 2e 00 00 c6 41 00 |........|......A.|
|00001460| 00 00 85 00 00 10 2a 54 | 65 78 74 45 64 2e 61 70 |......*T|extEd.ap|
|00001470| 70 06 85 00 00 10 14 00 | 00 00 05 01 00 10 c6 07 |p.......|........|
|00001480| 00 00 89 00 00 10 4d 08 | 00 00 37 00 00 10 6d 00 |......M.|..7...m.|
|00001490| 00 10 85 00 00 10 f4 63 | 08 55 46 0d 00 00 5c 00 |.......c|.UF...\.|
|000014a0| 00 10 63 00 00 10 00 00 | 00 00 64 00 00 10 e9 31 |..c.....|..d....1|
|000014b0| 72 65 6d 20 50 6f 77 65 | 72 4d 61 6e 61 67 65 6d |rem Powe|rManagem|
|000014c0| 65 6e 74 20 50 6c 75 67 | 69 6e 20 66 6f 72 20 53 |ent Plug|in for S|
|000014d0| 74 61 72 74 35 20 76 30 | 2e 32 06 72 65 6d 20 a9 |tart5 v0|.2.rem .|
|000014e0| 31 39 39 38 20 41 2e 20 | 50 65 6d 73 65 6c 06 06 |1998 A. |Pemsel..|
|000014f0| 69 6e 63 6c 75 64 65 20 | 22 73 79 73 74 65 6d 2e |include |"system.|
|00001500| 6f 78 68 22 06 69 6e 63 | 6c 75 64 65 20 22 73 79 |oxh".inc|lude "sy|
|00001510| 73 74 69 6e 66 6f 2e 6f | 78 68 22 06 69 6e 63 6c |stinfo.o|xh".incl|
|00001520| 75 64 65 20 22 64 61 74 | 65 2e 6f 78 68 22 09 06 |ude "dat|e.oxh"..|
|00001530| 06 63 6f 6e 73 74 20 4b | 50 6c 75 67 49 6e 55 70 |.const K|PlugInUp|
|00001540| 64 61 74 65 52 61 74 65 | 4e 65 76 65 72 25 3d 30 |dateRate|Never%=0|
|00001550| 06 63 6f 6e 73 74 20 4b | 50 6c 75 67 49 6e 55 70 |.const K|PlugInUp|
|00001560| 64 61 74 65 52 61 74 65 | 4e 6f 72 6d 61 6c 25 3d |dateRate|Normal%=|
|00001570| 31 06 63 6f 6e 73 74 20 | 4b 50 6c 75 67 49 6e 55 |1.const |KPlugInU|
|00001580| 70 64 61 74 65 52 61 74 | 65 48 69 67 68 25 3d 32 |pdateRat|eHigh%=2|
|00001590| 06 63 6f 6e 73 74 20 4b | 50 6c 75 67 49 6e 48 65 |.const K|PlugInHe|
|000015a0| 69 67 68 74 25 3d 32 32 | 06 06 70 72 6f 63 20 50 |ight%=22|..proc P|
|000015b0| 6f 77 65 72 5f 4c 6f 61 | 64 3a 06 65 6e 64 70 06 |ower_Loa|d:.endp.|
|000015c0| 06 70 72 6f 63 20 50 6f | 77 65 72 5f 57 69 64 74 |.proc Po|wer_Widt|
|000015d0| 68 25 3a 06 09 72 65 74 | 75 72 6e 20 32 32 06 65 |h%:..ret|urn 22.e|
|000015e0| 6e 64 70 06 06 70 72 6f | 63 20 50 6f 77 65 72 5f |ndp..pro|c Power_|
|000015f0| 55 70 64 61 74 65 52 61 | 74 65 25 3a 06 09 72 65 |UpdateRa|te%:..re|
|00001600| 74 75 72 6e 20 4b 50 6c | 75 67 49 6e 55 70 64 61 |turn KPl|ugInUpda|
|00001610| 74 65 52 61 74 65 4e 6f | 72 6d 61 6c 25 06 65 6e |teRateNo|rmal%.en|
|00001620| 64 70 06 06 70 72 6f 63 | 20 50 6f 77 65 72 5f 44 |dp..proc| Power_D|
|00001630| 72 61 77 3a 28 77 69 64 | 25 29 06 09 50 6f 77 65 |raw:(wid|%)..Powe|
|00001640| 72 5f 55 70 64 61 74 65 | 3a 28 77 69 64 25 29 06 |r_Update|:(wid%).|
|00001650| 65 6e 64 70 06 06 70 72 | 6f 63 20 50 6f 77 65 72 |endp..pr|oc Power|
|00001660| 5f 55 70 64 61 74 65 3a | 28 77 69 64 25 29 06 09 |_Update:|(wid%)..|
|00001670| 6c 6f 63 61 6c 20 77 69 | 64 62 25 2c 73 25 2c 63 |local wi|db%,s%,c|
|00001680| 75 72 26 2c 74 6f 74 61 | 6c 26 2c 69 6e 75 73 65 |ur&,tota|l&,inuse|
|00001690| 26 2c 65 78 74 74 69 6d | 65 26 2c 65 78 74 70 6f |&,exttim|e&,extpo|
|000016a0| 77 65 72 26 2c 64 74 69 | 6d 65 26 06 09 73 25 3d |wer&,dti|me&..s%=|
|000016b0| 4d 61 69 6e 42 61 74 74 | 65 72 79 53 74 61 74 75 |MainBatt|eryStatu|
|000016c0| 73 26 3a 06 09 64 74 69 | 6d 65 26 3d 44 54 4e 6f |s&:..dti|me&=DTNo|
|000016d0| 77 26 3a 06 09 53 49 42 | 61 74 74 65 72 79 43 75 |w&:..SIB|atteryCu|
|000016e0| 72 72 65 6e 74 3a 28 63 | 75 72 26 2c 20 74 6f 74 |rrent:(c|ur&, tot|
|000016f0| 61 6c 26 2c 20 69 6e 75 | 73 65 26 2c 20 65 78 74 |al&, inu|se&, ext|
|00001700| 74 69 6d 65 26 2c 20 65 | 78 74 70 6f 77 65 72 26 |time&, e|xtpower&|
|00001710| 2c 20 64 74 69 6d 65 26 | 29 06 09 69 66 20 50 6c |, dtime&|)..if Pl|
|00001720| 75 67 49 6e 47 6c 6f 62 | 61 6c 26 28 50 6c 75 67 |ugInGlob|al&(Plug|
|00001730| 49 6e 49 44 25 3a 28 22 | 50 6f 77 65 72 22 29 29 |InID%:("|Power"))|
|00001740| 3d 31 36 2a 65 78 74 70 | 6f 77 65 72 26 2b 73 25 |=16*extp|ower&+s%|
|00001750| 06 09 09 44 54 44 65 6c | 65 74 65 44 61 74 65 54 |...DTDel|eteDateT|
|00001760| 69 6d 65 3a 28 64 74 69 | 6d 65 26 29 06 09 09 72 |ime:(dti|me&)...r|
|00001770| 65 74 75 72 6e 06 09 65 | 6c 73 65 06 09 09 50 6c |eturn..e|lse...Pl|
|00001780| 75 67 49 6e 47 6c 6f 62 | 61 6c 26 28 50 6c 75 67 |ugInGlob|al&(Plug|
|00001790| 49 6e 49 44 25 3a 28 22 | 50 6f 77 65 72 22 29 29 |InID%:("|Power"))|
|000017a0| 3d 31 36 2a 65 78 74 70 | 6f 77 65 72 26 2b 73 25 |=16*extp|ower&+s%|
|000017b0| 06 09 65 6e 64 69 66 06 | 09 73 25 3d 33 2d 73 25 |..endif.|.s%=3-s%|
|000017c0| 06 09 69 66 20 65 78 74 | 70 6f 77 65 72 26 06 09 |..if ext|power&..|
|000017d0| 09 73 25 3d 33 06 09 65 | 6e 64 69 66 06 09 77 69 |.s%=3..e|ndif..wi|
|000017e0| 64 62 25 3d 67 6c 6f 61 | 64 62 69 74 28 4d 79 44 |db%=gloa|dbit(MyD|
|000017f0| 69 72 24 2b 22 50 6c 75 | 67 69 6e 73 5c 50 6f 77 |ir$+"Plu|gins\Pow|
|00001800| 65 72 2e 6d 62 6d 22 2c | 30 2c 73 25 29 06 09 67 |er.mbm",|0,s%)..g|
|00001810| 75 73 65 20 77 69 64 25 | 06 09 67 61 74 20 31 2c |use wid%|..gat 1,|
|00001820| 31 06 09 67 63 6f 70 79 | 20 77 69 64 62 25 2c 30 |1..gcopy| widb%,0|
|00001830| 2c 30 2c 32 30 2c 32 30 | 2c 33 06 09 67 63 6c 6f |,0,20,20|,3..gclo|
|00001840| 73 65 20 77 69 64 62 25 | 06 09 44 54 44 65 6c 65 |se widb%|..DTDele|
|00001850| 74 65 44 61 74 65 54 69 | 6d 65 3a 28 64 74 69 6d |teDateTi|me:(dtim|
|00001860| 65 26 29 06 65 6e 64 70 | 06 06 70 72 6f 63 20 50 |e&).endp|..proc P|
|00001870| 6f 77 65 72 5f 55 6e 6c | 6f 61 64 3a 06 65 6e 64 |ower_Unl|oad:.end|
|00001880| 70 06 06 70 72 6f 63 20 | 50 6f 77 65 72 5f 54 61 |p..proc |Power_Ta|
|00001890| 70 70 65 64 3a 06 09 6c | 6f 63 61 6c 20 77 69 64 |pped:..l|ocal wid|
|000018a0| 25 2c 6d 61 69 6e 56 6f | 6c 74 26 2c 20 6d 61 69 |%,mainVo|lt&, mai|
|000018b0| 6e 4d 61 78 56 6f 6c 74 | 26 2c 20 62 61 63 6b 56 |nMaxVolt|&, backV|
|000018c0| 6f 6c 74 26 2c 20 62 61 | 63 6b 4d 61 78 56 6f 6c |olt&, ba|ckMaxVol|
|000018d0| 74 26 06 09 6c 6f 63 61 | 6c 20 6d 61 69 6e 53 74 |t&..loca|l mainSt|
|000018e0| 61 74 24 28 32 30 29 2c | 62 61 63 6b 53 74 61 74 |at$(20),|backStat|
|000018f0| 24 28 32 30 29 2c 73 25 | 2c 65 74 72 25 06 09 6c |$(20),s%|,etr%..l|
|00001900| 6f 63 61 6c 20 63 75 72 | 26 2c 20 74 6f 74 61 6c |ocal cur|&, total|
|00001910| 26 2c 20 69 6e 75 73 65 | 26 2c 20 65 78 74 74 69 |&, inuse|&, extti|
|00001920| 6d 65 26 2c 20 65 78 74 | 70 6f 77 65 72 26 2c 20 |me&, ext|power&, |
|00001930| 64 74 69 6d 65 26 06 09 | 77 69 64 25 3d 67 63 72 |dtime&..|wid%=gcr|
|00001940| 65 61 74 65 28 37 30 2c | 33 30 2c 35 30 30 2c 31 |eate(70,|30,500,1|
|00001950| 38 30 2c 30 2c 24 32 31 | 31 29 06 09 53 65 74 50 |80,0,$21|1)..SetP|
|00001960| 6f 69 6e 74 65 72 43 61 | 70 74 75 72 65 3a 28 77 |ointerCa|pture:(w|
|00001970| 69 64 25 2c 26 30 31 29 | 06 09 67 75 70 64 61 74 |id%,&01)|..gupdat|
|00001980| 65 20 6f 66 66 06 09 67 | 75 73 65 20 77 69 64 25 |e off..g|use wid%|
|00001990| 06 09 67 78 62 6f 72 64 | 65 72 20 32 2c 24 39 34 |..gxbord|er 2,$94|
|000019a0| 06 09 67 66 6f 6e 74 20 | 32 36 38 34 33 35 39 35 |..gfont |26843595|
|000019b0| 37 06 09 67 67 6d 6f 64 | 65 20 30 06 09 67 61 74 |7..ggmod|e 0..gat|
|000019c0| 20 32 2c 32 34 06 09 67 | 63 6f 6c 6f 72 20 24 61 | 2,24..g|color $a|
|000019d0| 61 2c 24 61 61 2c 24 61 | 61 06 09 67 6c 69 6e 65 |a,$aa,$a|a..gline|
|000019e0| 62 79 20 34 39 34 2c 30 | 06 09 67 61 74 20 33 2c |by 494,0|..gat 3,|
|000019f0| 33 06 09 67 63 6f 6c 6f | 72 20 24 64 64 2c 24 64 |3..gcolo|r $dd,$d|
|00001a00| 64 2c 24 64 64 06 09 67 | 66 69 6c 6c 20 34 39 34 |d,$dd..g|fill 494|
|00001a10| 2c 32 31 2c 30 06 09 67 | 61 74 20 31 30 2c 31 39 |,21,0..g|at 10,19|
|00001a20| 06 09 67 63 6f 6c 6f 72 | 20 30 2c 30 2c 30 06 09 |..gcolor| 0,0,0..|
|00001a30| 67 70 72 69 6e 74 20 22 | 50 6f 77 65 72 4d 61 6e |gprint "|PowerMan|
|00001a40| 61 67 65 6d 65 6e 74 20 | 50 6c 75 67 49 6e 20 76 |agement |PlugIn v|
|00001a50| 31 2e 31 22 06 09 67 76 | 69 73 69 62 6c 65 20 6f |1.1"..gv|isible o|
|00001a60| 6e 06 06 09 69 66 20 65 | 76 73 74 61 74 25 3c 3e |n...if e|vstat%<>|
|00001a70| 2d 34 39 20 61 6e 64 20 | 65 76 26 28 31 29 3d 26 |-49 and |ev&(1)=&|
|00001a80| 34 30 38 20 61 6e 64 20 | 65 76 26 28 34 29 3d 30 |408 and |ev&(4)=0|
|00001a90| 06 09 09 4e 65 78 74 45 | 76 65 6e 74 3a 06 09 65 |...NextE|vent:..e|
|00001aa0| 6e 64 69 66 06 09 09 06 | 09 64 6f 06 09 09 69 6f |ndif....|.do...io|
|00001ab0| 79 69 65 6c 64 06 09 09 | 69 66 20 65 76 73 74 61 |yield...|if evsta|
|00001ac0| 74 25 3c 3e 2d 34 36 06 | 09 09 09 69 66 20 65 76 |t%<>-46.|...if ev|
|00001ad0| 73 74 61 74 25 3c 30 20 | 3a 72 61 69 73 65 20 65 |stat%<0 |:raise e|
|00001ae0| 76 73 74 61 74 25 20 3a | 65 6e 64 69 66 06 09 09 |vstat% :|endif...|
|00001af0| 09 69 66 20 28 65 76 26 | 28 31 29 20 41 4e 44 20 |.if (ev&|(1) AND |
|00001b00| 26 34 30 30 29 20 3d 20 | 30 20 72 65 6d 20 4b 65 |&400) = |0 rem Ke|
|00001b10| 79 06 09 09 09 09 62 72 | 65 61 6b 06 09 09 09 65 |y.....br|eak....e|
|00001b20| 6c 73 65 69 66 20 65 76 | 26 28 31 29 3d 26 34 30 |lseif ev|&(1)=&40|
|00001b30| 38 20 72 65 6d 20 50 65 | 6e 06 09 09 09 09 69 66 |8 rem Pe|n.....if|
|00001b40| 20 65 76 26 28 34 29 3d | 30 06 09 09 09 09 09 62 | ev&(4)=|0......b|
|00001b50| 72 65 61 6b 06 09 09 09 | 09 65 6e 64 69 66 06 09 |reak....|.endif..|
|00001b60| 09 09 65 6c 73 65 06 09 | 09 09 09 69 66 20 65 76 |..else..|...if ev|
|00001b70| 26 28 31 29 3d 26 34 30 | 32 20 72 65 6d 20 6d 6f |&(1)=&40|2 rem mo|
|00001b80| 76 65 64 20 74 6f 20 62 | 61 63 6b 67 72 6f 75 6e |ved to b|ackgroun|
|00001b90| 64 06 09 09 09 09 09 43 | 61 70 4b 65 79 48 6e 64 |d......C|apKeyHnd|
|00001ba0| 26 3d 43 61 70 74 75 72 | 65 4b 65 79 26 3a 28 53 |&=Captur|eKey&:(S|
|00001bb0| 68 6f 77 42 61 72 4b 65 | 79 26 2c 26 32 30 38 30 |howBarKe|y&,&2080|
|00001bc0| 2c 53 68 6f 77 42 61 72 | 4d 6f 64 26 29 06 09 09 |,ShowBar|Mod&)...|
|00001bd0| 09 09 09 62 72 65 61 6b | 06 09 09 09 09 65 6e 64 |...break|.....end|
|00001be0| 69 66 06 09 09 09 65 6e | 64 69 66 06 09 09 09 4e |if....en|dif....N|
|00001bf0| 65 78 74 45 76 65 6e 74 | 3a 06 09 09 65 6e 64 69 |extEvent|:...endi|
|00001c00| 66 06 09 09 64 74 69 6d | 65 26 3d 44 54 4e 6f 77 |f...dtim|e&=DTNow|
|00001c10| 26 3a 06 09 09 53 49 42 | 61 74 74 65 72 79 56 6f |&:...SIB|atteryVo|
|00001c20| 6c 74 73 3a 28 6d 61 69 | 6e 56 6f 6c 74 26 2c 20 |lts:(mai|nVolt&, |
|00001c30| 6d 61 69 6e 4d 61 78 56 | 6f 6c 74 26 2c 20 62 61 |mainMaxV|olt&, ba|
|00001c40| 63 6b 56 6f 6c 74 26 2c | 20 62 61 63 6b 4d 61 78 |ckVolt&,| backMax|
|00001c50| 56 6f 6c 74 26 29 06 09 | 09 53 49 42 61 74 74 65 |Volt&)..|.SIBatte|
|00001c60| 72 79 43 75 72 72 65 6e | 74 3a 28 63 75 72 26 2c |ryCurren|t:(cur&,|
|00001c70| 20 74 6f 74 61 6c 26 2c | 20 69 6e 75 73 65 26 2c | total&,| inuse&,|
|00001c80| 20 65 78 74 74 69 6d 65 | 26 2c 20 65 78 74 70 6f | exttime|&, extpo|
|00001c90| 77 65 72 26 2c 20 64 74 | 69 6d 65 26 29 06 09 09 |wer&, dt|ime&)...|
|00001ca0| 73 25 3d 4d 61 69 6e 42 | 61 74 74 65 72 79 53 74 |s%=MainB|atterySt|
|00001cb0| 61 74 75 73 26 3a 06 09 | 09 69 66 20 73 25 3d 30 |atus&:..|.if s%=0|
|00001cc0| 06 09 09 09 6d 61 69 6e | 53 74 61 74 24 3d 22 6e |....main|Stat$="n|
|00001cd0| 6f 74 20 70 72 65 73 65 | 6e 74 22 06 09 09 65 6c |ot prese|nt"...el|
|00001ce0| 73 65 69 66 20 73 25 3d | 31 06 09 09 09 6d 61 69 |seif s%=|1....mai|
|00001cf0| 6e 53 74 61 74 24 3d 22 | 76 65 72 79 20 6c 6f 77 |nStat$="|very low|
|00001d00| 22 06 09 09 65 6c 73 65 | 69 66 20 73 25 3d 32 06 |"...else|if s%=2.|
|00001d10| 09 09 09 6d 61 69 6e 53 | 74 61 74 24 3d 22 6c 6f |...mainS|tat$="lo|
|00001d20| 77 22 06 09 09 65 6c 73 | 65 69 66 20 73 25 3d 33 |w"...els|eif s%=3|
|00001d30| 06 09 09 09 6d 61 69 6e | 53 74 61 74 24 3d 22 67 |....main|Stat$="g|
|00001d40| 6f 6f 64 22 06 09 09 65 | 6e 64 69 66 06 09 09 73 |ood"...e|ndif...s|
|00001d50| 25 3d 42 61 63 6b 75 70 | 42 61 74 74 65 72 79 53 |%=Backup|BatteryS|
|00001d60| 74 61 74 75 73 26 3a 06 | 09 09 69 66 20 73 25 3d |tatus&:.|..if s%=|
|00001d70| 30 06 09 09 09 62 61 63 | 6b 53 74 61 74 24 3d 22 |0....bac|kStat$="|
|00001d80| 6e 6f 74 20 70 72 65 73 | 65 6e 74 22 06 09 09 65 |not pres|ent"...e|
|00001d90| 6c 73 65 69 66 20 73 25 | 3d 31 06 09 09 09 62 61 |lseif s%|=1....ba|
|00001da0| 63 6b 53 74 61 74 24 3d | 22 76 65 72 79 20 6c 6f |ckStat$=|"very lo|
|00001db0| 77 22 06 09 09 65 6c 73 | 65 69 66 20 73 25 3d 32 |w"...els|eif s%=2|
|00001dc0| 06 09 09 09 62 61 63 6b | 53 74 61 74 24 3d 22 6c |....back|Stat$="l|
|00001dd0| 6f 77 22 06 09 09 65 6c | 73 65 69 66 20 73 25 3d |ow"...el|seif s%=|
|00001de0| 33 06 09 09 09 62 61 63 | 6b 53 74 61 74 24 3d 22 |3....bac|kStat$="|
|00001df0| 67 6f 6f 64 22 06 09 09 | 65 6e 64 69 66 06 09 09 |good"...|endif...|
|00001e00| 67 61 74 20 31 30 2c 33 | 30 06 09 09 67 42 61 72 |gat 10,3|0...gBar|
|00001e10| 3a 28 22 4d 61 69 6e 20 | 42 61 74 74 65 72 69 65 |:("Main |Batterie|
|00001e20| 73 20 22 2b 6d 61 69 6e | 53 74 61 74 24 2b 22 20 |s "+main|Stat$+" |
|00001e30| 61 74 20 22 2b 6e 75 6d | 24 28 6d 61 69 6e 56 6f |at "+num|$(mainVo|
|00001e40| 6c 74 26 2c 35 29 2b 22 | 6d 56 22 2c 34 38 30 2c |lt&,5)+"|mV",480,|
|00001e50| 66 6c 74 28 6d 61 69 6e | 56 6f 6c 74 26 2d 31 2e |flt(main|Volt&-1.|
|00001e60| 38 29 2f 28 6d 61 69 6e | 4d 61 78 56 6f 6c 74 26 |8)/(main|MaxVolt&|
|00001e70| 2d 31 2e 38 29 2a 31 30 | 30 2e 30 29 06 09 09 67 |-1.8)*10|0.0)...g|
|00001e80| 61 74 20 31 30 2c 35 35 | 06 09 09 67 42 61 72 3a |at 10,55|...gBar:|
|00001e90| 28 22 42 61 63 6b 75 70 | 20 42 61 74 74 65 72 79 |("Backup| Battery|
|00001ea0| 20 22 2b 62 61 63 6b 53 | 74 61 74 24 2b 22 20 61 | "+backS|tat$+" a|
|00001eb0| 74 20 22 2b 6e 75 6d 24 | 28 62 61 63 6b 56 6f 6c |t "+num$|(backVol|
|00001ec0| 74 26 2c 35 29 2b 22 6d | 56 22 2c 34 38 30 2c 66 |t&,5)+"m|V",480,f|
|00001ed0| 6c 74 28 62 61 63 6b 56 | 6f 6c 74 26 2d 31 2e 38 |lt(backV|olt&-1.8|
|00001ee0| 29 2f 28 62 61 63 6b 4d | 61 78 56 6f 6c 74 26 2d |)/(backM|axVolt&-|
|00001ef0| 31 2e 38 29 2a 31 30 30 | 2e 30 29 06 09 09 67 61 |1.8)*100|.0)...ga|
|00001f00| 74 20 31 30 2c 39 35 06 | 09 09 67 70 72 69 6e 74 |t 10,95.|..gprint|
|00001f10| 62 20 22 42 61 74 74 65 | 72 79 20 63 75 72 72 65 |b "Batte|ry curre|
|00001f20| 6e 74 3a 20 22 2b 6e 75 | 6d 24 28 63 75 72 26 2c |nt: "+nu|m$(cur&,|
|00001f30| 34 29 2b 22 6d 41 22 2c | 32 33 30 2c 32 2c 32 06 |4)+"mA",|230,2,2.|
|00001f40| 09 09 67 61 74 20 32 35 | 30 2c 39 35 06 09 09 67 |..gat 25|0,95...g|
|00001f50| 70 72 69 6e 74 62 20 22 | 54 6f 74 61 6c 20 63 6f |printb "|Total co|
|00001f60| 6e 73 75 6d 70 74 69 6f | 6e 3a 20 22 2b 6e 75 6d |nsumptio|n: "+num|
|00001f70| 24 28 74 6f 74 61 6c 26 | 2f 33 36 30 30 2e 30 2c |$(total&|/3600.0,|
|00001f80| 37 29 2b 22 6d 41 48 22 | 2c 32 33 34 2c 32 2c 32 |7)+"mAH"|,234,2,2|
|00001f90| 06 09 09 67 61 74 20 31 | 30 2c 31 31 30 06 09 09 |...gat 1|0,110...|
|00001fa0| 67 70 72 69 6e 74 62 20 | 22 48 6f 75 72 73 20 69 |gprintb |"Hours i|
|00001fb0| 6e 20 75 73 65 3a 20 22 | 2b 6e 75 6d 24 28 66 6c |n use: "|+num$(fl|
|00001fc0| 74 28 69 6e 75 73 65 26 | 2f 33 36 30 30 2e 30 29 |t(inuse&|/3600.0)|
|00001fd0| 2c 35 29 2c 32 33 30 2c | 32 2c 32 06 09 09 67 61 |,5),230,|2,2...ga|
|00001fe0| 74 20 31 30 2c 31 36 30 | 06 09 09 67 70 72 69 6e |t 10,160|...gprin|
|00001ff0| 74 62 20 22 54 61 70 20 | 6f 72 20 70 72 65 73 73 |tb "Tap |or press|
|00002000| 20 6b 65 79 20 74 6f 20 | 71 75 69 74 22 2c 34 38 | key to |quit",48|
|00002010| 30 2c 33 2c 32 06 09 09 | 44 54 44 65 6c 65 74 65 |0,3,2...|DTDelete|
|00002020| 44 61 74 65 54 69 6d 65 | 3a 28 64 74 69 6d 65 26 |DateTime|:(dtime&|
|00002030| 29 06 09 09 67 75 70 64 | 61 74 65 06 09 09 70 61 |)...gupd|ate...pa|
|00002040| 75 73 65 20 31 30 06 09 | 75 6e 74 69 6c 20 30 06 |use 10..|until 0.|
|00002050| 09 67 63 6c 6f 73 65 20 | 77 69 64 25 06 65 6e 64 |.gclose |wid%.end|
|00002060| 70 06 06 70 72 6f 63 20 | 67 42 61 72 3a 28 63 61 |p..proc |gBar:(ca|
|00002070| 70 74 69 6f 6e 24 2c 77 | 25 2c 66 29 06 09 67 63 |ption$,w|%,f)..gc|
|00002080| 6f 6c 6f 72 20 30 2c 30 | 2c 30 06 09 67 66 69 6c |olor 0,0|,0..gfil|
|00002090| 6c 20 77 25 2c 32 30 2c | 31 06 09 67 62 6f 78 20 |l w%,20,|1..gbox |
|000020a0| 77 25 2c 32 30 06 09 67 | 6d 6f 76 65 20 31 2c 31 |w%,20..g|move 1,1|
|000020b0| 06 09 67 63 6f 6c 6f 72 | 20 24 61 61 2c 24 61 61 |..gcolor| $aa,$aa|
|000020c0| 2c 24 61 61 06 09 67 66 | 69 6c 6c 20 66 6c 74 28 |,$aa..gf|ill flt(|
|000020d0| 28 77 25 2d 32 29 2f 31 | 30 30 2e 30 2a 66 2b 31 |(w%-2)/1|00.0*f+1|
|000020e0| 2e 30 29 2c 31 38 2c 30 | 06 09 67 6d 6f 76 65 20 |.0),18,0|..gmove |
|000020f0| 39 2c 31 34 06 09 67 66 | 6f 6e 74 20 32 36 38 34 |9,14..gf|ont 2684|
|00002100| 33 35 39 35 37 06 09 67 | 63 6f 6c 6f 72 20 30 2c |35957..g|color 0,|
|00002110| 30 2c 30 06 09 67 70 72 | 69 6e 74 20 63 61 70 74 |0,0..gpr|int capt|
|00002120| 69 6f 6e 24 06 65 6e 64 | 70 06 01 00 00 00 00 00 |ion$.end|p.......|
|00002130| 00 00 01 00 00 00 00 00 | 00 00 01 00 00 00 d0 02 |........|........|
|00002140| 00 00 d0 02 00 00 a0 05 | 00 00 a0 05 00 00 a0 05 |........|........|
|00002150| 00 00 a0 05 00 00 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002160| 00 00 00 5c 00 00 10 63 | 00 00 10 a0 0c 00 00 65 |...\...c|.......e|
|00002170| 00 00 10 00 00 00 00 66 | 00 00 10 00 00 00 00 64 |.......f|.......d|
|00002180| 00 00 10 02 06 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 5c 00 00 10 63 00 | 00 10 a8 0c 00 00 65 00 |..\...c.|......e.|
|000021a0| 00 10 00 00 00 00 66 00 | 00 10 00 00 00 00 64 00 |......f.|......d.|
|000021b0| 00 10 02 06 fd 00 00 10 | 82 2e 00 00 c6 41 00 00 |........|.....A..|
|000021c0| 00 85 00 00 10 2a 54 65 | 78 74 45 64 2e 61 70 70 |.....*Te|xtEd.app|
|000021d0| 06 85 00 00 10 14 00 00 | 00 05 01 00 10 b0 0c 00 |........|........|
|000021e0| 00 89 00 00 10 37 0d 00 | 00 37 00 00 10 6d 00 00 |.....7..|.7...m..|
|000021f0| 10 7f 00 00 10 fe 9f 08 | 55 d5 1f 00 00 02 00 03 |........|U.......|
|00002200| 01 00 00 fa 10 00 00 e8 | 03 00 00 07 00 00 00 05 |........|........|
|00002210| 00 0a 64 00 00 00 17 00 | 00 00 1c c8 00 00 00 22 |..d.....|......."|
|00002220| 10 54 69 6d 65 73 20 4e | 65 77 20 52 6f 6d 61 6e |.Times N|ew Roman|
|00002230| 03 53 00 00 00 05 31 00 | 00 00 32 00 00 00 33 00 |.S....1.|..2...3.|
|00002240| 00 00 41 00 00 00 43 00 | 00 00 05 36 dc 62 65 72 |..A...C.|...6.ber|
|00002250| 73 63 68 72 69 66 74 20 | 31 4c 00 00 10 00 00 00 |schrift |1L......|
|00002260| 00 11 00 00 00 20 00 1c | 18 01 00 00 1e 01 22 06 |..... ..|......".|
|00002270| 41 72 69 61 6c 01 07 00 | 00 00 04 00 00 00 00 05 |Arial...|........|
|00002280| 01 36 dc 62 65 72 73 63 | 68 72 69 66 74 20 32 4c |.6.bersc|hrift 2L|
|00002290| 00 00 10 00 00 00 00 11 | 00 00 00 20 01 1c f0 00 |........|... ....|
|000022a0| 00 00 1e 01 22 06 41 72 | 69 61 6c 01 0c 00 00 00 |....".Ar|ial.....|
|000022b0| 09 f0 00 00 00 0a 3c 00 | 00 00 0c 01 36 dc 62 65 |......<.|....6.be|
|000022c0| 72 73 63 68 72 69 66 74 | 20 33 4c 00 00 10 00 00 |rschrift| 3L.....|
|000022d0| 00 00 13 00 00 00 20 01 | 1c c8 00 00 00 1d 01 1e |...... .|........|
|000022e0| 00 22 06 41 72 69 61 6c | 01 00 00 00 00 2a 53 74 |.".Arial|.....*St|
|000022f0| 69 63 68 77 6f 72 74 65 | 4f 00 00 10 00 00 00 00 |ichworte|O.......|
|00002300| 00 00 00 00 17 00 00 00 | 04 1b 01 00 00 15 10 b3 |........|........|
|00002310| 00 00 00 95 01 00 00 00 | 06 53 77 69 73 73 00 12 |........|.Swiss..|
|00002320| 43 6f 64 65 4f 00 00 10 | 00 00 00 00 13 00 00 00 |CodeO...|........|
|00002330| 1c c8 00 00 00 22 0c 43 | 6f 75 72 69 65 72 20 4e |.....".C|ourier N|
|00002340| 65 77 02 0a 00 00 00 02 | 37 02 00 00 04 00 00 00 |ew......|7.......|
|00002350| 00 ff ff ff ff ff 01 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002360| 01 01 00 00 00 11 00 00 | 00 16 68 01 00 00 17 33 |........|..h....3|
|00002370| 10 00 00 02 17 72 20 00 | 00 03 00 00 00 00 01 00 |.....r .|........|
|00002380| 00 00 01 00 00 00 01 00 | 00 00 00 01 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 01 01 00 | 00 00 11 00 00 00 16 68 |........|.......h|
|000023a0| 01 00 00 17 33 10 00 00 | 02 17 72 20 00 00 03 00 |....3...|..r ....|
|000023b0| 00 00 00 01 00 00 00 01 | 00 00 00 01 00 00 00 00 |........|........|
|000023c0| 01 00 00 00 d0 02 00 00 | d0 02 00 00 08 07 00 00 |........|........|
|000023d0| 08 07 00 00 a0 05 00 00 | a0 05 00 00 01 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 5c 00 00 10 63 00 00 |........|.\...c..|
|000023f0| 10 6d 01 00 00 65 00 00 | 10 00 00 00 00 66 00 00 |.m...e..|.....f..|
|00002400| 10 75 01 00 00 64 00 00 | 10 02 06 01 00 00 00 00 |.u...d..|........|
|00002410| 00 00 00 00 00 00 00 00 | 5c 00 00 10 63 00 00 10 |........|\...c...|
|00002420| a2 01 00 00 65 00 00 10 | 00 00 00 00 66 00 00 10 |....e...|....f...|
|00002430| aa 01 00 00 64 00 00 10 | 02 06 fd 00 00 10 82 2e |....d...|........|
|00002440| 00 00 c6 41 00 00 00 ed | 43 53 74 61 72 74 35 20 |...A....|CStart5 |
|00002450| 41 50 49 20 44 6f 63 75 | 6d 65 6e 74 61 74 69 6f |API Docu|mentatio|
|00002460| 6e 07 52 65 76 2e 20 30 | 2e 32 20 28 31 38 2e 31 |n.Rev. 0|.2 (18.1|
|00002470| 32 2e 39 38 29 07 a9 31 | 39 39 38 20 41 2e 20 50 |2.98)..1|998 A. P|
|00002480| 65 6d 73 65 6c 20 2f 20 | 54 65 61 6d 35 06 47 65 |emsel / |Team5.Ge|
|00002490| 6e 65 72 61 6c 20 4e 6f | 74 65 73 06 54 68 69 73 |neral No|tes.This|
|000024a0| 20 64 6f 63 75 6d 65 6e | 74 20 64 65 73 63 72 69 | documen|t descri|
|000024b0| 62 65 73 20 61 6c 6c 20 | 75 73 65 66 75 6c 6c 20 |bes all |usefull |
|000024c0| 66 75 6e 63 74 69 6f 6e | 73 20 61 6e 64 20 70 72 |function|s and pr|
|000024d0| 6f 63 65 64 75 72 65 73 | 20 74 68 61 74 20 6d 61 |ocedures| that ma|
|000024e0| 79 20 62 65 20 63 61 6c | 6c 65 64 20 62 79 20 50 |y be cal|led by P|
|000024f0| 6c 75 67 49 6e 73 2e 20 | 49 66 20 79 6f 75 20 66 |lugIns. |If you f|
|00002500| 69 6e 64 20 61 20 62 75 | 67 20 6f 72 20 79 6f 75 |ind a bu|g or you|
|00002510| 20 68 61 76 65 20 66 75 | 72 74 68 65 72 20 71 75 | have fu|rther qu|
|00002520| 65 73 74 69 6f 6e 73 20 | 66 65 65 6c 20 66 72 65 |estions |feel fre|
|00002530| 65 20 74 6f 20 73 65 6e | 64 20 61 6e 20 65 4d 61 |e to sen|d an eMa|
|00002540| 69 6c 20 74 6f 20 61 70 | 65 6d 73 65 6c 40 72 6f |il to ap|emsel@ro|
|00002550| 73 65 6e 68 65 69 6d 2e | 62 61 79 6e 65 74 2e 64 |senheim.|baynet.d|
|00002560| 65 06 49 4e 49 20 46 69 | 6c 65 20 4d 61 6e 61 67 |e.INI Fi|le Manag|
|00002570| 65 6d 65 6e 74 06 50 6c | 75 67 49 6e 73 20 6d 61 |ement.Pl|ugIns ma|
|00002580| 79 20 73 74 6f 72 65 20 | 63 6f 6e 66 69 67 75 72 |y store |configur|
|00002590| 61 74 69 6f 6e 20 64 61 | 74 61 20 6f 72 20 76 61 |ation da|ta or va|
|000025a0| 72 73 20 74 68 61 74 20 | 6e 65 65 64 20 74 6f 20 |rs that |need to |
|000025b0| 62 65 20 72 65 73 74 6f | 72 65 64 20 77 68 65 6e |be resto|red when|
|000025c0| 20 53 74 61 72 74 35 20 | 69 73 20 72 65 73 74 61 | Start5 |is resta|
|000025d0| 72 74 65 64 20 69 6e 20 | 53 74 61 72 74 35 27 73 |rted in |Start5's|
|000025e0| 20 49 4e 49 20 66 69 6c | 65 2e 20 50 6c 65 61 73 | INI fil|e. Pleas|
|000025f0| 65 20 6d 61 6b 65 20 73 | 75 72 65 20 79 6f 75 20 |e make s|ure you |
|00002600| 64 6f 20 6e 6f 74 20 73 | 74 6f 72 65 20 74 6f 6f |do not s|tore too|
|00002610| 20 6d 75 63 68 20 64 61 | 74 61 20 69 6e 20 74 68 | much da|ta in th|
|00002620| 69 73 20 77 61 79 20 73 | 6f 20 74 68 65 20 49 4e |is way s|o the IN|
|00002630| 49 20 66 69 6c 65 20 64 | 6f 65 73 20 6e 6f 74 20 |I file d|oes not |
|00002640| 75 6e 6e 65 63 65 73 73 | 61 72 69 6c 79 20 67 72 |unnecess|arily gr|
|00002650| 6f 77 2e 07 41 6e 20 65 | 6e 74 72 79 20 69 6e 20 |ow..An e|ntry in |
|00002660| 74 68 65 20 49 4e 49 20 | 66 69 6c 65 20 63 6f 6e |the INI |file con|
|00002670| 73 69 73 74 73 20 6f 66 | 20 61 20 6b 65 79 20 6f |sists of| a key o|
|00002680| 72 20 6e 61 6d 65 20 61 | 6e 64 20 61 20 76 61 6c |r name a|nd a val|
|00002690| 75 65 2e 20 54 68 65 20 | 6e 61 6d 65 20 6d 61 79 |ue. The |name may|
|000026a0| 20 62 65 20 61 20 73 74 | 72 69 6e 67 20 6f 66 20 | be a st|ring of |
|000026b0| 75 70 20 74 6f 20 32 35 | 35 20 63 68 61 72 61 63 |up to 25|5 charac|
|000026c0| 74 65 72 73 20 61 6e 64 | 20 73 68 6f 75 6c 64 20 |ters and| should |
|000026d0| 62 65 67 69 6e 20 77 69 | 74 68 20 79 6f 75 72 20 |begin wi|th your |
|000026e0| 50 6c 75 67 49 6e 27 73 | 20 6e 61 6d 65 20 74 6f |PlugIn's| name to|
|000026f0| 20 61 76 6f 69 64 20 6e | 61 6d 65 20 63 6f 6e 66 | avoid n|ame conf|
|00002700| 6c 69 63 74 73 2e 20 53 | 74 61 72 74 35 27 73 20 |licts. S|tart5's |
|00002710| 49 4e 49 20 66 69 6c 65 | 20 73 79 73 74 65 6d 20 |INI file| system |
|00002720| 73 75 70 70 6f 72 74 73 | 20 74 77 6f 20 64 69 66 |supports| two dif|
|00002730| 66 65 72 65 6e 74 20 74 | 79 70 65 73 20 6f 66 20 |ferent t|ypes of |
|00002740| 76 61 6c 75 65 73 3a 20 | 53 74 72 69 6e 67 73 20 |values: |Strings |
|00002750| 61 6e 64 20 49 6e 74 65 | 67 65 72 73 2e 06 53 61 |and Inte|gers..Sa|
|00002760| 76 65 49 4e 49 25 3a 28 | 6e 61 6d 65 24 2c 76 61 |veINI%:(|name$,va|
|00002770| 6c 75 65 25 29 06 54 68 | 69 73 20 70 72 6f 63 65 |lue%).Th|is proce|
|00002780| 64 75 72 65 20 77 69 6c | 6c 20 65 69 74 68 65 72 |dure wil|l either|
|00002790| 20 63 72 65 61 74 65 20 | 61 20 6e 65 77 20 65 6e | create |a new en|
|000027a0| 74 72 79 20 6f 72 20 6d | 6f 64 69 66 79 20 61 6e |try or m|odify an|
|000027b0| 20 65 78 69 73 74 69 6e | 67 20 6f 6e 65 2e 06 4c | existin|g one..L|
|000027c0| 6f 61 64 49 4e 49 25 3a | 28 6e 61 6d 65 24 29 06 |oadINI%:|(name$).|
|000027d0| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 77 69 |This fun|ction wi|
|000027e0| 6c 6c 20 72 65 74 75 72 | 6e 20 74 68 65 20 63 75 |ll retur|n the cu|
|000027f0| 72 72 65 6e 74 20 76 61 | 6c 75 65 20 6f 66 20 74 |rrent va|lue of t|
|00002800| 68 65 20 65 6e 74 72 79 | 20 6e 61 6d 65 24 20 6f |he entry| name$ o|
|00002810| 72 20 30 20 69 66 20 74 | 68 65 72 65 20 69 73 20 |r 0 if t|here is |
|00002820| 6e 6f 20 73 75 63 68 20 | 65 6e 74 72 79 2e 06 53 |no such |entry..S|
|00002830| 61 76 65 49 4e 49 24 3a | 28 6e 61 6d 65 24 2c 76 |aveINI$:|(name$,v|
|00002840| 61 6c 75 65 24 29 06 4c | 6f 61 64 49 4e 49 24 3a |alue$).L|oadINI$:|
|00002850| 28 6e 61 6d 65 24 29 06 | 54 68 65 73 65 20 74 77 |(name$).|These tw|
|00002860| 6f 20 70 72 6f 63 65 64 | 75 72 65 73 20 2f 20 66 |o proced|ures / f|
|00002870| 75 6e 63 74 69 6f 6e 73 | 20 64 6f 20 74 68 65 20 |unctions| do the |
|00002880| 73 61 6d 65 20 66 6f 72 | 20 73 74 72 69 6e 67 20 |same for| string |
|00002890| 76 61 6c 75 65 73 2e 06 | 55 74 69 6c 69 74 79 20 |values..|Utility |
|000028a0| 70 72 6f 63 65 64 75 72 | 65 73 20 66 6f 72 20 74 |procedur|es for t|
|000028b0| 68 72 65 61 64 20 68 61 | 6e 64 6c 69 6e 67 06 4e |hread ha|ndling.N|
|000028c0| 6f 74 65 3a 20 54 68 65 | 20 75 73 61 67 65 20 6f |ote: The| usage o|
|000028d0| 66 20 74 68 65 73 65 20 | 70 72 6f 63 65 64 75 72 |f these |procedur|
|000028e0| 65 73 20 72 65 71 75 69 | 72 65 73 20 74 68 61 74 |es requi|res that|
|000028f0| 20 79 6f 75 20 61 72 65 | 20 66 61 6d 69 6c 69 61 | you are| familia|
|00002900| 72 20 77 69 74 68 20 74 | 68 65 20 77 61 79 20 69 |r with t|he way i|
|00002910| 6e 20 77 68 69 63 68 20 | 45 50 4f 43 20 68 61 6e |n which |EPOC han|
|00002920| 64 6c 65 73 20 74 68 72 | 65 61 64 73 2e 06 47 65 |dles thr|eads..Ge|
|00002930| 74 41 63 74 69 76 65 54 | 68 72 65 61 64 73 3a 06 |tActiveT|hreads:.|
|00002940| 54 68 69 73 20 77 69 6c | 6c 20 72 65 62 75 69 6c |This wil|l rebuil|
|00002950| 64 20 53 74 61 72 74 35 | 27 73 20 69 6e 74 65 72 |d Start5|'s inter|
|00002960| 6e 61 6c 20 6c 69 73 74 | 20 6f 66 20 72 75 6e 6e |nal list| of runn|
|00002970| 69 6e 67 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ing appl|ications|
|00002980| 2e 20 41 66 74 65 72 77 | 61 72 64 73 20 74 68 65 |. Afterw|ards the|
|00002990| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 67 6c 6f 62 61 | followi|ng globa|
|000029a0| 6c 20 76 61 72 73 20 77 | 69 6c 6c 20 62 65 20 75 |l vars w|ill be u|
|000029b0| 70 64 61 74 65 64 2e 20 | 54 49 44 20 6d 65 61 6e |pdated. |TID mean|
|000029c0| 73 20 54 68 72 65 61 64 | 20 49 44 3a 06 41 63 74 |s Thread| ID:.Act|
|000029d0| 69 76 65 54 68 72 65 61 | 64 26 20 63 6f 6e 74 61 |iveThrea|d& conta|
|000029e0| 69 6e 73 20 74 68 65 20 | 54 49 44 20 6f 66 20 74 |ins the |TID of t|
|000029f0| 68 65 20 61 63 74 69 76 | 65 20 74 68 72 65 61 64 |he activ|e thread|
|00002a00| 20 28 74 68 65 20 74 68 | 72 65 61 64 20 74 68 61 | (the th|read tha|
|00002a10| 74 20 69 73 20 69 6e 20 | 66 6f 72 65 67 72 6f 75 |t is in |foregrou|
|00002a20| 6e 64 29 2e 20 49 66 20 | 53 74 61 72 74 35 20 69 |nd). If |Start5 i|
|00002a30| 73 20 69 6e 20 74 68 65 | 20 66 6f 72 65 67 72 6f |s in the| foregro|
|00002a40| 75 6e 64 20 69 74 20 63 | 6f 6e 74 61 69 6e 73 20 |und it c|ontains |
|00002a50| 74 68 65 20 54 49 44 20 | 6f 66 20 74 68 65 20 61 |the TID |of the a|
|00002a60| 70 70 6c 69 63 61 74 69 | 6f 6e 20 77 68 69 63 68 |pplicati|on which|
|00002a70| 20 69 73 20 76 69 73 69 | 62 6c 65 20 69 6e 20 74 | is visi|ble in t|
|00002a80| 68 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 6f 66 |he backg|round of|
|00002a90| 20 53 74 61 72 74 35 2e | 20 06 41 63 74 69 76 65 | Start5.| .Active|
|00002aa0| 54 68 72 65 61 64 73 25 | 20 63 6f 6e 74 61 69 6e |Threads%| contain|
|00002ab0| 73 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s the nu|mber of |
|00002ac0| 61 63 74 69 76 65 20 74 | 68 72 65 61 64 73 06 53 |active t|hreads.S|
|00002ad0| 79 73 54 68 72 65 61 64 | 49 64 26 20 63 6f 6e 74 |ysThread|Id& cont|
|00002ae0| 61 69 6e 73 20 74 68 65 | 20 54 49 44 20 6f 66 20 |ains the| TID of |
|00002af0| 74 68 65 20 6f 70 65 72 | 61 74 69 6e 67 20 73 79 |the oper|ating sy|
|00002b00| 73 74 65 6d 27 73 20 73 | 68 65 6c 6c 06 4d 79 54 |stem's s|hell.MyT|
|00002b10| 68 72 65 61 64 49 64 26 | 20 63 6f 6e 74 61 69 6e |hreadId&| contain|
|00002b20| 73 20 53 74 61 72 74 35 | 27 73 20 54 49 44 2e 20 |s Start5|'s TID. |
|00002b30| 28 49 66 20 53 74 61 72 | 74 35 20 72 75 6e 73 20 |(If Star|t5 runs |
|00002b40| 69 6e 20 6d 75 6c 74 69 | 74 68 72 65 61 64 69 6e |in multi|threadin|
|00002b50| 67 20 6d 6f 64 65 20 69 | 74 20 63 6f 6e 74 61 69 |g mode i|t contai|
|00002b60| 6e 73 20 74 68 65 20 54 | 49 44 20 6f 66 20 74 68 |ns the T|ID of th|
|00002b70| 69 73 20 74 68 72 65 61 | 64 29 06 54 68 72 65 61 |is threa|d).Threa|
|00002b80| 64 49 44 26 28 29 20 63 | 6f 6e 74 61 69 6e 73 20 |dID&() c|ontains |
|00002b90| 74 68 65 20 54 49 44 27 | 73 20 6f 66 20 61 6c 6c |the TID'|s of all|
|00002ba0| 20 72 75 6e 6e 69 6e 67 | 20 74 68 72 65 61 64 73 | running| threads|
|00002bb0| 20 65 78 63 6c 75 64 69 | 6e 67 20 74 68 6f 73 65 | excludi|ng those|
|00002bc0| 20 6f 66 20 74 68 72 65 | 61 64 73 20 74 68 61 74 | of thre|ads that|
|00002bd0| 20 61 72 65 20 68 69 64 | 64 65 6e 20 66 72 6f 6d | are hid|den from|
|00002be0| 20 74 68 65 20 74 61 73 | 6b 20 62 61 72 2e 06 53 | the tas|k bar..S|
|00002bf0| 6f 72 74 41 63 74 69 76 | 65 54 68 72 65 61 64 73 |ortActiv|eThreads|
|00002c00| 3a 06 54 68 69 73 20 77 | 69 6c 6c 20 73 6f 72 74 |:.This w|ill sort|
|00002c10| 20 54 68 72 65 61 64 49 | 44 26 28 29 20 62 79 20 | ThreadI|D&() by |
|00002c20| 74 68 65 20 54 49 44 2e | 20 4e 6f 72 6d 61 6c 6c |the TID.| Normall|
|00002c30| 79 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |y the fo|llowing |
|00002c40| 73 74 61 74 65 6d 65 6e | 74 20 69 73 20 74 72 75 |statemen|t is tru|
|00002c50| 65 3a 20 54 68 65 20 6c | 6f 77 65 72 20 61 20 54 |e: The l|ower a T|
|00002c60| 49 44 20 69 73 2c 20 74 | 68 65 20 6c 6f 6e 67 65 |ID is, t|he longe|
|00002c70| 72 20 69 73 20 74 68 65 | 20 63 6f 72 65 73 70 6f |r is the| corespo|
|00002c80| 6e 64 69 6e 67 20 74 68 | 72 65 61 64 20 61 6c 72 |nding th|read alr|
|00002c90| 65 61 64 79 20 72 75 6e | 6e 69 6e 67 2e 06 45 78 |eady run|ning..Ex|
|00002ca0| 69 73 74 54 68 72 65 61 | 64 26 3a 28 54 49 44 26 |istThrea|d&:(TID&|
|00002cb0| 29 06 52 65 74 75 72 6e | 73 20 54 49 44 26 20 69 |).Return|s TID& i|
|00002cc0| 66 20 74 68 65 20 54 68 | 72 65 61 64 20 77 69 74 |f the Th|read wit|
|00002cd0| 68 20 74 68 69 73 20 54 | 49 44 20 65 78 69 73 74 |h this T|ID exist|
|00002ce0| 73 20 6f 72 20 30 20 69 | 66 20 69 74 20 64 6f 65 |s or 0 i|f it doe|
|00002cf0| 73 20 6e 6f 74 2e 06 50 | 6c 75 67 49 6e 20 4d 61 |s not..P|lugIn Ma|
|00002d00| 6e 61 67 65 6d 65 6e 74 | 20 53 79 73 74 65 6d 06 |nagement| System.|
|00002d10| 4e 6f 72 6d 61 6c 6c 79 | 20 74 68 65 72 65 20 69 |Normally| there i|
|00002d20| 73 20 6f 6e 6c 79 20 6f | 6e 65 20 72 65 61 73 6f |s only o|ne reaso|
|00002d30| 6e 20 77 68 79 20 61 20 | 50 6c 75 67 49 6e 20 6e |n why a |PlugIn n|
|00002d40| 65 65 64 73 20 74 6f 20 | 6d 61 6b 65 20 75 73 65 |eeds to |make use|
|00002d50| 20 6f 66 20 74 68 65 73 | 65 20 70 72 6f 63 65 64 | of thes|e proced|
|00002d60| 75 72 65 73 20 2d 20 74 | 6f 20 73 74 6f 72 65 20 |ures - t|o store |
|00002d70| 64 61 74 61 20 67 6c 6f | 62 61 6c 2e 20 4f 6e 65 |data glo|bal. One|
|00002d80| 20 6c 69 6d 69 74 61 74 | 69 6f 6e 20 6f 66 20 50 | limitat|ion of P|
|00002d90| 6c 75 67 49 6e 73 20 69 | 73 20 74 68 61 74 20 74 |lugIns i|s that t|
|00002da0| 68 65 72 65 20 69 73 20 | 6e 6f 20 73 75 70 70 6f |here is |no suppo|
|00002db0| 72 74 20 66 6f 72 20 67 | 6c 6f 62 61 6c 20 76 61 |rt for g|lobal va|
|00002dc0| 72 73 2e 20 48 6f 77 65 | 76 65 72 2c 20 69 66 20 |rs. Howe|ver, if |
|00002dd0| 69 74 20 69 73 20 61 62 | 73 6f 6c 75 74 65 6c 79 |it is ab|solutely|
|00002de0| 20 6e 65 63 65 73 73 61 | 72 79 20 74 68 65 72 65 | necessa|ry there|
|00002df0| 20 69 73 20 61 20 77 61 | 79 20 74 6f 20 73 74 6f | is a wa|y to sto|
|00002e00| 72 65 20 64 61 74 61 20 | 67 6c 6f 62 61 6c 2e 20 |re data |global. |
|00002e10| 45 61 63 68 20 50 6c 75 | 67 49 6e 20 69 73 20 61 |Each Plu|gIn is a|
|00002e20| 73 73 69 67 6e 65 64 20 | 6f 6e 65 20 4c 6f 6e 67 |ssigned |one Long|
|00002e30| 49 6e 74 20 76 61 72 20 | 69 6e 20 50 6c 75 67 49 |Int var |in PlugI|
|00002e40| 6e 47 6c 6f 62 61 6c 25 | 28 29 2e 20 50 6c 75 67 |nGlobal%|(). Plug|
|00002e50| 49 6e 73 20 6d 61 79 20 | 61 63 63 65 73 73 20 69 |Ins may |access i|
|00002e60| 74 20 69 6e 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |t in the| followi|
|00002e70| 6e 67 20 77 61 79 3a 06 | 50 6c 75 67 49 6e 47 6c |ng way:.|PlugInGl|
|00002e80| 6f 62 61 6c 25 28 50 6c | 75 67 49 6e 49 44 25 3a |obal%(Pl|ugInID%:|
|00002e90| 28 22 4e 41 4d 45 22 29 | 29 06 4e 41 4d 45 20 6e |("NAME")|).NAME n|
|00002ea0| 65 65 64 73 20 74 6f 20 | 62 65 20 74 68 65 20 6e |eeds to |be the n|
|00002eb0| 61 6d 65 20 6f 66 20 74 | 68 65 20 50 6c 75 67 49 |ame of t|he PlugI|
|00002ec0| 6e 2e 20 20 54 68 65 20 | 70 72 6f 63 65 64 75 72 |n. The |procedur|
|00002ed0| 65 20 50 6c 75 67 49 6e | 49 44 25 3a 28 6e 61 6d |e PlugIn|ID%:(nam|
|00002ee0| 65 24 29 20 72 65 74 75 | 72 6e 73 20 74 68 65 20 |e$) retu|rns the |
|00002ef0| 50 6c 75 67 49 6e 49 44 | 2c 20 61 20 75 6e 69 71 |PlugInID|, a uniq|
|00002f00| 75 65 20 6e 75 6d 62 65 | 72 20 66 6f 72 20 65 61 |ue numbe|r for ea|
|00002f10| 63 68 20 69 6e 73 74 61 | 6c 6c 65 64 20 50 6c 75 |ch insta|lled Plu|
|00002f20| 67 49 6e 2e 20 50 72 6f | 67 72 61 6d 6d 65 72 73 |gIn. Pro|grammers|
|00002f30| 20 73 68 6f 75 6c 64 20 | 62 65 20 76 65 72 79 20 | should |be very |
|00002f40| 63 61 72 65 66 75 6c 6c | 20 69 6e 20 6f 72 64 65 |carefull| in orde|
|00002f50| 72 20 6e 6f 74 20 74 6f | 20 64 65 73 74 72 6f 79 |r not to| destroy|
|00002f60| 20 6f 74 68 65 72 20 50 | 6c 75 67 49 6e 27 73 20 | other P|lugIn's |
|00002f70| 64 61 74 61 20 62 79 20 | 61 63 63 69 64 65 6e 74 |data by |accident|
|00002f80| 69 61 6c 6c 79 20 75 73 | 69 6e 67 20 50 6c 75 67 |ially us|ing Plug|
|00002f90| 49 6e 47 6c 6f 62 61 6c | 25 28 29 20 77 69 74 68 |InGlobal|%() with|
|00002fa0| 20 61 20 77 72 6f 6e 67 | 20 49 44 2e 20 49 66 20 | a wrong| ID. If |
|00002fb0| 79 6f 75 20 6e 65 65 64 | 20 6d 6f 72 65 20 74 68 |you need| more th|
|00002fc0| 61 6e 20 6f 6e 65 20 76 | 61 72 20 69 74 20 69 73 |an one v|ar it is|
|00002fd0| 20 73 75 67 67 65 73 74 | 65 64 20 74 6f 20 73 74 | suggest|ed to st|
|00002fe0| 6f 72 65 20 61 20 70 6f | 69 6e 74 65 72 20 74 6f |ore a po|inter to|
|00002ff0| 20 61 6e 20 41 4c 4c 4f | 43 61 74 65 64 20 6d 65 | an ALLO|Cated me|
|00003000| 6d 6f 72 79 20 62 6c 6f | 63 6b 20 69 6e 20 50 6c |mory blo|ck in Pl|
|00003010| 75 67 49 6e 47 6c 6f 62 | 61 6c 25 28 29 2e 06 54 |ugInGlob|al%()..T|
|00003020| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 6f 74 68 |he follo|wing oth|
|00003030| 65 72 20 76 61 72 73 20 | 61 6e 64 20 70 72 6f 63 |er vars |and proc|
|00003040| 65 64 75 72 65 73 20 6f | 66 20 74 68 65 20 50 6c |edures o|f the Pl|
|00003050| 75 67 49 6e 20 4d 61 6e | 61 67 65 6d 65 6e 74 20 |ugIn Man|agement |
|00003060| 53 79 73 74 65 6d 20 61 | 72 65 20 61 76 61 69 6c |System a|re avail|
|00003070| 61 62 6c 65 20 61 6e 64 | 20 6d 69 67 68 74 20 62 |able and| might b|
|00003080| 65 20 75 73 65 66 75 6c | 6c 20 66 6f 72 20 61 64 |e useful|l for ad|
|00003090| 76 61 6e 63 65 64 20 70 | 72 6f 67 72 61 6d 6d 65 |vanced p|rogramme|
|000030a0| 72 73 3a 06 50 6c 75 67 | 49 6e 24 28 29 20 63 6f |rs:.Plug|In$() co|
|000030b0| 6e 74 61 69 6e 73 20 61 | 20 6c 69 73 74 20 6f 66 |ntains a| list of|
|000030c0| 20 61 6c 6c 20 69 6e 73 | 74 61 6c 6c 65 64 20 50 | all ins|talled P|
|000030d0| 6c 75 67 49 6e 73 27 20 | 6e 61 6d 65 73 06 50 6c |lugIns' |names.Pl|
|000030e0| 75 67 49 6e 55 52 25 28 | 29 20 63 6f 6e 74 61 69 |ugInUR%(|) contai|
|000030f0| 6e 73 20 74 68 65 20 50 | 6c 75 67 49 6e 73 27 20 |ns the P|lugIns' |
|00003100| 75 70 64 61 74 65 20 72 | 61 74 65 73 2e 20 59 6f |update r|ates. Yo|
|00003110| 75 20 63 6f 75 6c 64 20 | 61 63 63 65 73 73 20 74 |u could |access t|
|00003120| 68 69 73 20 74 6f 20 63 | 68 61 6e 67 65 20 74 68 |his to c|hange th|
|00003130| 65 20 50 6c 75 67 49 6e | 73 20 75 70 64 61 74 65 |e PlugIn|s update|
|00003140| 20 72 61 74 65 20 64 79 | 6e 61 6d 69 63 61 6c 6c | rate dy|namicall|
|00003150| 79 2e 06 50 6c 75 67 49 | 6e 57 49 44 25 28 29 20 |y..PlugI|nWID%() |
|00003160| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 50 6c 75 |contains| the Plu|
|00003170| 67 49 6e 73 27 20 77 69 | 6e 64 6f 77 20 49 44 73 |gIns' wi|ndow IDs|
|00003180| 06 4b 4d 61 78 50 6c 75 | 67 49 6e 73 25 20 63 6f |.KMaxPlu|gIns% co|
|00003190| 6e 74 61 69 6e 73 20 74 | 68 65 20 6d 61 78 69 6d |ntains t|he maxim|
|000031a0| 75 6d 20 6e 75 6d 62 65 | 72 20 6f 66 20 50 6c 75 |um numbe|r of Plu|
|000031b0| 67 49 6e 73 20 28 61 6c | 6c 20 6f 74 68 65 72 20 |gIns (al|l other |
|000031c0| 66 69 65 6c 64 20 76 61 | 72 73 20 6d 65 6e 74 69 |field va|rs menti|
|000031d0| 6f 6e 65 64 20 61 62 6f | 76 65 20 72 61 6e 67 65 |oned abo|ve range|
|000031e0| 20 66 72 6f 6d 20 31 20 | 74 6f 20 4b 4d 61 78 50 | from 1 |to KMaxP|
|000031f0| 6c 75 67 49 6e 73 25 29 | 06 52 75 6e 50 6c 75 67 |lugIns%)|.RunPlug|
|00003200| 49 6e 50 72 6f 63 3a 28 | 6e 61 6d 65 24 29 20 63 |InProc:(|name$) c|
|00003210| 61 6c 6c 73 20 74 68 65 | 20 70 72 6f 63 65 64 75 |alls the| procedu|
|00003220| 72 65 20 6e 61 6d 65 24 | 20 69 6e 20 61 6c 6c 20 |re name$| in all |
|00003230| 50 6c 75 67 49 6e 73 06 | 55 70 64 61 74 65 50 6c |PlugIns.|UpdatePl|
|00003240| 75 67 49 6e 73 3a 28 55 | 70 64 61 74 65 52 61 74 |ugIns:(U|pdateRat|
|00003250| 65 25 29 20 63 61 6c 6c | 73 20 74 68 65 20 55 50 |e%) call|s the UP|
|00003260| 44 41 54 45 20 70 72 6f | 63 65 64 75 72 65 20 6f |DATE pro|cedure o|
|00003270| 66 20 61 6c 6c 20 50 6c | 75 67 49 6e 73 20 74 68 |f all Pl|ugIns th|
|00003280| 61 74 20 68 61 76 65 20 | 61 6e 20 75 70 64 61 74 |at have |an updat|
|00003290| 65 20 72 61 74 65 20 6f | 66 20 55 70 64 61 74 65 |e rate o|f Update|
|000032a0| 52 61 74 65 25 20 6f 72 | 20 68 69 67 68 65 72 2e |Rate% or| higher.|
|000032b0| 07 57 61 72 6e 69 6e 67 | 21 3a 20 44 6f 20 6e 6f |.Warning|!: Do no|
|000032c0| 74 20 63 61 6c 6c 20 74 | 68 69 73 20 66 72 6f 6d |t call t|his from|
|000032d0| 20 79 6f 75 72 20 6f 77 | 6e 20 50 6c 75 67 49 6e | your ow|n PlugIn|
|000032e0| 27 73 20 55 50 44 41 54 | 45 20 72 6f 75 74 69 6e |'s UPDAT|E routin|
|000032f0| 65 20 6f 72 20 79 6f 75 | 20 77 69 6c 6c 20 63 61 |e or you| will ca|
|00003300| 75 73 65 20 61 6e 20 65 | 6e 64 6c 65 73 73 20 6c |use an e|ndless l|
|00003310| 6f 6f 70 2e 06 4f 74 68 | 65 72 20 75 73 65 66 75 |oop..Oth|er usefu|
|00003320| 6c 6c 20 76 61 72 73 20 | 61 6e 64 20 70 72 6f 63 |ll vars |and proc|
|00003330| 65 64 75 72 65 73 06 54 | 68 65 73 65 20 61 72 65 |edures.T|hese are|
|00003340| 20 73 6f 6d 65 20 6f 74 | 68 65 72 20 75 73 65 66 | some ot|her usef|
|00003350| 75 6c 6c 20 70 72 6f 63 | 65 64 75 72 65 73 20 61 |ull proc|edures a|
|00003360| 6e 64 20 67 6c 6f 62 61 | 6c 20 76 61 72 73 3a 06 |nd globa|l vars:.|
|00003370| 4d 79 44 69 72 24 20 63 | 6f 6e 74 61 69 6e 73 20 |MyDir$ c|ontains |
|00003380| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 20 77 68 |the dire|ctory wh|
|00003390| 65 72 65 20 53 74 61 72 | 74 35 20 69 73 20 69 6e |ere Star|t5 is in|
|000033a0| 73 74 61 6c 6c 65 64 06 | 49 6e 46 6f 72 65 47 72 |stalled.|InForeGr|
|000033b0| 6f 75 6e 64 25 20 69 73 | 20 74 72 75 65 20 28 2d |ound% is| true (-|
|000033c0| 31 29 20 77 68 65 6e 20 | 53 74 61 72 74 35 20 69 |1) when |Start5 i|
|000033d0| 73 20 69 6e 20 74 68 65 | 20 66 6f 72 65 67 72 6f |s in the| foregro|
|000033e0| 75 6e 64 2c 20 66 61 6c | 73 65 20 28 30 29 20 77 |und, fal|se (0) w|
|000033f0| 68 65 6e 20 69 6e 20 62 | 61 63 6b 67 72 6f 75 6e |hen in b|ackgroun|
|00003400| 64 06 53 63 72 65 65 6e | 57 25 2c 20 53 63 72 65 |d.Screen|W%, Scre|
|00003410| 65 6e 48 25 20 63 6f 6e | 74 61 69 6e 20 74 68 65 |enH% con|tain the|
|00003420| 20 64 69 6d 65 6e 73 69 | 6f 6e 73 20 6f 66 20 74 | dimensi|ons of t|
|00003430| 68 65 20 73 63 72 65 65 | 6e 06 42 61 72 57 25 2c |he scree|n.BarW%,|
|00003440| 20 42 61 72 48 25 20 63 | 6f 6e 74 61 69 6e 20 74 | BarH% c|ontain t|
|00003450| 68 65 20 64 69 6d 65 6e | 73 69 6f 6e 73 20 6f 66 |he dimen|sions of|
|00003460| 20 74 68 65 20 53 74 61 | 72 74 35 20 62 61 72 06 | the Sta|rt5 bar.|
|00003470| 42 61 72 50 6f 73 69 74 | 69 6f 6e 25 20 69 73 20 |BarPosit|ion% is |
|00003480| 31 20 69 66 20 53 74 61 | 72 74 35 20 69 73 20 6f |1 if Sta|rt5 is o|
|00003490| 6e 20 74 68 65 20 62 6f | 74 74 6f 6d 20 6f 66 20 |n the bo|ttom of |
|000034a0| 74 68 65 20 73 63 72 65 | 65 6e 2c 20 32 20 77 68 |the scre|en, 2 wh|
|000034b0| 65 6e 20 6f 6e 20 74 68 | 65 20 74 6f 70 06 53 65 |en on th|e top.Se|
|000034c0| 74 42 61 72 50 6f 73 69 | 74 69 6f 6e 3a 28 70 25 |tBarPosi|tion:(p%|
|000034d0| 29 20 6e 65 65 64 73 20 | 74 6f 20 62 65 20 75 73 |) needs |to be us|
|000034e0| 65 64 20 74 6f 20 63 68 | 61 6e 67 65 20 74 68 65 |ed to ch|ange the|
|000034f0| 20 70 6f 73 69 74 69 6f | 6e 20 6f 66 20 74 68 65 | positio|n of the|
|00003500| 20 62 61 72 06 53 68 6f | 77 42 61 72 3a 20 74 61 | bar.Sho|wBar: ta|
|00003510| 6b 65 73 20 53 74 61 72 | 74 35 20 74 6f 20 74 68 |kes Star|t5 to th|
|00003520| 65 20 66 6f 72 65 67 72 | 6f 75 6e 64 20 61 6e 64 |e foregr|ound and|
|00003530| 20 75 70 64 61 74 65 73 | 20 65 76 65 72 79 74 68 | updates| everyth|
|00003540| 69 6e 67 06 01 00 07 01 | 00 00 00 00 00 00 00 fe |ing.....|........|
|00003550| 0a 00 00 00 20 01 22 06 | 41 72 69 61 6c 01 02 00 |.... .".|Arial...|
|00003560| 00 00 00 00 00 00 fe 00 | 00 00 00 03 00 00 00 00 |........|........|
|00003570| 00 00 00 fb 02 00 00 00 | 1d 00 04 00 00 00 00 00 |........|........|
|00003580| 00 00 00 02 00 00 00 1d | 00 05 00 00 00 00 00 00 |........|........|
|00003590| 00 fb 0e 00 00 00 22 0c | 43 6f 75 72 69 65 72 20 |......".|Courier |
|000035a0| 4e 65 77 02 06 00 00 00 | 00 00 00 00 fe 0a 00 00 |New.....|........|
|000035b0| 00 1e 01 22 06 41 72 69 | 61 6c 01 07 00 00 00 00 |...".Ari|al......|
|000035c0| 00 00 00 00 14 00 00 00 | 1e 00 22 10 54 69 6d 65 |........|..".Time|
|000035d0| 73 20 4e 65 77 20 52 6f | 6d 61 6e 03 2d 00 00 00 |s New Ro|man.-...|
|000035e0| 45 00 00 00 00 28 00 00 | 00 11 00 00 00 00 00 00 |E....(..|........|
|000035f0| 00 00 01 12 01 14 00 00 | 00 00 00 00 01 13 00 00 |........|........|
|00003600| 00 00 00 00 00 00 01 14 | 00 00 00 00 00 00 00 00 |........|........|
|00003610| 01 ff 03 00 00 00 0e 00 | 00 00 01 c6 00 00 00 00 |........|........|
|00003620| 00 00 00 00 00 03 00 00 | 00 14 00 00 00 02 e8 01 |........|........|
|00003630| 00 00 00 05 00 00 00 04 | 00 00 00 00 00 0a 00 00 |........|........|
|00003640| 00 18 00 00 00 03 49 00 | 00 00 04 11 00 00 00 03 |......I.|........|
|00003650| 5f 00 00 00 04 18 00 00 | 00 03 11 00 00 00 03 40 |_.......|.......@|
|00003660| 00 00 00 04 27 00 00 00 | 02 6f 00 00 00 00 00 00 |....'...|.o......|
|00003670| 00 00 00 02 00 00 00 12 | 00 00 00 00 00 00 00 00 |........|........|
|00003680| fb 02 00 00 00 8d 00 00 | 00 00 00 00 00 00 00 05 |........|........|
|00003690| 00 00 00 cd 00 00 00 00 | 00 00 00 00 fc 02 00 00 |........|........|
|000036a0| 00 35 00 00 00 00 00 00 | 00 00 fc 02 00 00 00 3e |.5......|.......>|
|000036b0| 00 00 00 00 00 00 00 00 | fc 02 00 00 00 6e 00 00 |........|.....n..|
|000036c0| 00 00 00 00 00 00 fc 02 | 00 00 00 74 00 00 00 00 |........|...t....|
|000036d0| 00 00 00 00 fc 02 00 00 | 00 13 00 00 00 05 9c 00 |........|........|
|000036e0| 00 00 00 00 00 00 00 00 | 03 00 00 00 14 00 00 00 |........|........|
|000036f0| 05 45 00 00 00 00 00 00 | 00 00 00 03 00 00 00 19 |.E......|........|
|00003700| 00 00 00 02 68 01 00 00 | 00 00 00 00 00 00 05 00 |....h...|........|
|00003710| 00 00 22 00 00 00 05 85 | 01 00 00 00 00 00 00 00 |..".....|........|
|00003720| 00 0a 00 00 00 85 00 00 | 00 00 00 00 00 00 00 03 |........|........|
|00003730| 00 00 00 3a 00 00 00 00 | 17 00 00 00 04 1b 01 00 |...:....|........|
|00003740| 00 15 10 b3 00 00 00 95 | 01 00 00 00 06 53 77 69 |........|.....Swi|
|00003750| 73 73 00 00 02 00 00 00 | 75 00 00 00 00 17 00 00 |ss......|u.......|
|00003760| 00 04 1b 01 00 00 15 10 | b3 00 00 00 95 01 00 00 |........|........|
|00003770| 00 06 53 77 69 73 73 00 | 00 02 00 00 00 2e 00 00 |..Swiss.|........|
|00003780| 00 00 17 00 00 00 04 1b | 01 00 00 15 10 b3 00 00 |........|........|
|00003790| 00 95 01 00 00 00 06 53 | 77 69 73 73 00 00 02 00 |.......S|wiss....|
|000037a0| 00 00 78 00 00 00 00 17 | 00 00 00 04 1b 01 00 00 |..x.....|........|
|000037b0| 15 10 b3 00 00 00 95 01 | 00 00 00 06 53 77 69 73 |........|....Swis|
|000037c0| 73 00 00 06 00 00 00 3f | 00 00 00 00 17 00 00 00 |s......?|........|
|000037d0| 04 1b 01 00 00 15 10 b3 | 00 00 00 95 01 00 00 00 |........|........|
|000037e0| 06 53 77 69 73 73 00 00 | 04 00 00 00 dd 00 00 00 |.Swiss..|........|
|000037f0| 00 17 00 00 00 04 1b 01 | 00 00 15 10 b3 00 00 00 |........|........|
|00003800| 95 01 00 00 00 06 53 77 | 69 73 73 00 00 0a 00 00 |......Sw|iss.....|
|00003810| 00 22 00 00 00 06 39 00 | 00 00 07 38 00 00 00 00 |."....9.|...8....|
|00003820| 17 00 00 00 04 1b 01 00 | 00 15 10 b3 00 00 00 95 |........|........|
|00003830| 01 00 00 00 06 53 77 69 | 73 73 00 00 02 00 00 00 |.....Swi|ss......|
|00003840| 5a 00 00 00 00 17 00 00 | 00 04 1b 01 00 00 15 10 |Z.......|........|
|00003850| b3 00 00 00 95 01 00 00 | 00 06 53 77 69 73 73 00 |........|..Swiss.|
|00003860| 00 02 00 00 00 38 00 00 | 00 00 17 00 00 00 04 1b |.....8..|........|
|00003870| 01 00 00 15 10 b3 00 00 | 00 95 01 00 00 00 06 53 |........|.......S|
|00003880| 77 69 73 73 00 00 02 00 | 00 00 36 00 00 00 00 17 |wiss....|..6.....|
|00003890| 00 00 00 04 1b 01 00 00 | 15 10 b3 00 00 00 95 01 |........|........|
|000038a0| 00 00 00 06 53 77 69 73 | 73 00 00 02 00 00 00 4e |....Swis|s......N|
|000038b0| 00 00 00 00 17 00 00 00 | 04 1b 01 00 00 15 10 b3 |........|........|
|000038c0| 00 00 00 95 01 00 00 00 | 06 53 77 69 73 73 00 00 |........|.Swiss..|
|000038d0| 02 00 00 00 47 00 00 00 | 00 17 00 00 00 04 1b 01 |....G...|........|
|000038e0| 00 00 15 10 b3 00 00 00 | 95 01 00 00 00 06 53 77 |........|......Sw|
|000038f0| 69 73 73 00 00 02 00 00 | 00 3f 00 00 00 00 17 00 |iss.....|.?......|
|00003900| 00 00 04 1b 01 00 00 15 | 10 b3 00 00 00 95 01 00 |........|........|
|00003910| 00 00 06 53 77 69 73 73 | 00 00 03 00 00 00 64 00 |...Swiss|......d.|
|00003920| 00 00 00 2d 00 00 00 08 | 00 00 00 22 06 41 72 69 |...-....|...".Ari|
|00003930| 61 6c 01 00 17 00 00 00 | 11 00 00 00 1c f0 00 00 |al......|........|
|00003940| 00 1d 01 1e 00 22 06 41 | 72 69 61 6c 01 00 01 00 |.....".A|rial....|
|00003950| 00 00 08 00 00 00 22 06 | 41 72 69 61 6c 01 00 aa |......".|Arial...|
|00003960| 00 00 00 00 00 00 00 00 | 1b 00 00 00 02 00 00 00 |........|........|
|00003970| 1d 01 00 01 00 00 00 00 | 00 00 00 00 05 01 00 00 |........|........|
|00003980| 00 00 00 00 00 04 00 00 | 00 02 00 00 00 1d 01 00 |........|........|
|00003990| 03 00 00 00 02 00 00 00 | 1d 00 00 05 00 00 00 02 |........|........|
|000039a0| 00 00 00 1d 01 00 06 00 | 00 00 02 00 00 00 1d 00 |........|........|
|000039b0| 00 05 00 00 00 02 00 00 | 00 1d 01 00 b6 00 00 00 |........|........|
|000039c0| 02 00 00 00 1d 00 00 08 | 00 00 00 02 00 00 00 1d |........|........|
|000039d0| 01 00 04 00 00 00 02 00 | 00 00 1d 00 00 0a 00 00 |........|........|
|000039e0| 00 02 00 00 00 1d 01 00 | 67 00 00 00 00 00 00 00 |........|g.......|
|000039f0| 00 08 00 00 00 12 00 00 | 00 22 10 54 69 6d 65 73 |........|.".Times|
|00003a00| 20 4e 65 77 20 52 6f 6d | 61 6e 03 00 11 00 00 00 | New Rom|an......|
|00003a10| 0e 00 00 00 22 0c 43 6f | 75 72 69 65 72 20 4e 65 |....".Co|urier Ne|
|00003a20| 77 02 00 01 00 00 00 12 | 00 00 00 22 10 54 69 6d |w.......|...".Tim|
|00003a30| 65 73 20 4e 65 77 20 52 | 6f 6d 61 6e 03 00 18 00 |es New R|oman....|
|00003a40| 00 00 12 00 00 00 22 10 | 54 69 6d 65 73 20 4e 65 |......".|Times Ne|
|00003a50| 77 20 52 6f 6d 61 6e 03 | 00 6a 00 00 00 00 00 00 |w Roman.|.j......|
|00003a60| 00 00 01 00 00 00 02 00 | 00 00 1d 01 00 08 00 00 |........|........|
|00003a70| 00 02 00 00 00 1d 01 00 | 02 00 00 00 00 00 00 00 |........|........|
|00003a80| 00 0d 00 00 00 0e 00 00 | 00 22 0c 43 6f 75 72 69 |........|.".Couri|
|00003a90| 65 72 20 4e 65 77 02 00 | c0 00 00 00 12 00 00 00 |er New..|........|
|00003aa0| 22 10 54 69 6d 65 73 20 | 4e 65 77 20 52 6f 6d 61 |".Times |New Roma|
|00003ab0| 6e 03 00 0e 00 00 00 0e | 00 00 00 22 0c 43 6f 75 |n.......|...".Cou|
|00003ac0| 72 69 65 72 20 4e 65 77 | 02 00 27 00 00 00 12 00 |rier New|..'.....|
|00003ad0| 00 00 22 10 54 69 6d 65 | 73 20 4e 65 77 20 52 6f |..".Time|s New Ro|
|00003ae0| 6d 61 6e 03 00 0c 00 00 | 00 0e 00 00 00 22 0c 43 |man.....|.....".C|
|00003af0| 6f 75 72 69 65 72 20 4e | 65 77 02 00 32 00 00 00 |ourier N|ew..2...|
|00003b00| 12 00 00 00 22 10 54 69 | 6d 65 73 20 4e 65 77 20 |....".Ti|mes New |
|00003b10| 52 6f 6d 61 6e 03 00 0b | 00 00 00 0e 00 00 00 22 |Roman...|......."|
|00003b20| 0c 43 6f 75 72 69 65 72 | 20 4e 65 77 02 00 63 00 |.Courier| New..c.|
|00003b30| 00 00 12 00 00 00 22 10 | 54 69 6d 65 73 20 4e 65 |......".|Times Ne|
|00003b40| 77 20 52 6f 6d 61 6e 03 | 00 0b 00 00 00 0e 00 00 |w Roman.|........|
|00003b50| 00 22 0c 43 6f 75 72 69 | 65 72 20 4e 65 77 02 00 |.".Couri|er New..|
|00003b60| 69 00 00 00 12 00 00 00 | 22 10 54 69 6d 65 73 20 |i.......|".Times |
|00003b70| 4e 65 77 20 52 6f 6d 61 | 6e 03 00 0f 00 00 00 12 |New Roma|n.......|
|00003b80| 00 00 00 22 10 54 69 6d | 65 73 20 4e 65 77 20 52 |...".Tim|es New R|
|00003b90| 6f 6d 61 6e 03 00 0b 00 | 00 00 0e 00 00 00 22 0c |oman....|......".|
|00003ba0| 43 6f 75 72 69 65 72 20 | 4e 65 77 02 00 82 00 00 |Courier |New.....|
|00003bb0| 00 12 00 00 00 22 10 54 | 69 6d 65 73 20 4e 65 77 |.....".T|imes New|
|00003bc0| 20 52 6f 6d 61 6e 03 00 | 08 00 00 00 12 00 00 00 | Roman..|........|
|00003bd0| 22 10 54 69 6d 65 73 20 | 4e 65 77 20 52 6f 6d 61 |".Times |New Roma|
|00003be0| 6e 03 00 04 00 00 00 0e | 00 00 00 22 0c 43 6f 75 |n.......|...".Cou|
|00003bf0| 72 69 65 72 20 4e 65 77 | 02 00 39 00 00 00 12 00 |rier New|..9.....|
|00003c00| 00 00 22 10 54 69 6d 65 | 73 20 4e 65 77 20 52 6f |..".Time|s New Ro|
|00003c10| 6d 61 6e 03 00 1c 01 00 | 00 00 00 00 00 00 07 00 |man.....|........|
|00003c20| 00 00 02 00 00 00 1d 01 | 00 08 00 00 00 00 00 00 |........|........|
|00003c30| 00 00 0f 00 00 00 0e 00 | 00 00 22 0c 43 6f 75 72 |........|..".Cour|
|00003c40| 69 65 72 20 4e 65 77 02 | 00 2e 00 00 00 12 00 00 |ier New.|........|
|00003c50| 00 22 10 54 69 6d 65 73 | 20 4e 65 77 20 52 6f 6d |.".Times| New Rom|
|00003c60| 61 6e 03 00 05 00 00 00 | 0e 00 00 00 22 0c 43 6f |an......|....".Co|
|00003c70| 75 72 69 65 72 20 4e 65 | 77 02 00 33 00 00 00 12 |urier Ne|w..3....|
|00003c80| 00 00 00 22 10 54 69 6d | 65 73 20 4e 65 77 20 52 |...".Tim|es New R|
|00003c90| 6f 6d 61 6e 03 00 11 00 | 00 00 0e 00 00 00 22 0c |oman....|......".|
|00003ca0| 43 6f 75 72 69 65 72 20 | 4e 65 77 02 00 a9 00 00 |Courier |New.....|
|00003cb0| 00 12 00 00 00 22 10 54 | 69 6d 65 73 20 4e 65 77 |.....".T|imes New|
|00003cc0| 20 52 6f 6d 61 6e 03 00 | 0f 00 00 00 0e 00 00 00 | Roman..|........|
|00003cd0| 22 0c 43 6f 75 72 69 65 | 72 20 4e 65 77 02 00 58 |".Courie|r New..X|
|00003ce0| 00 00 00 12 00 00 00 22 | 10 54 69 6d 65 73 20 4e |......."|.Times N|
|00003cf0| 65 77 20 52 6f 6d 61 6e | 03 00 06 00 00 00 0e 00 |ew Roman|........|
|00003d00| 00 00 22 0c 43 6f 75 72 | 69 65 72 20 4e 65 77 02 |..".Cour|ier New.|
|00003d10| 00 15 00 00 00 12 00 00 | 00 22 10 54 69 6d 65 73 |........|.".Times|
|00003d20| 20 4e 65 77 20 52 6f 6d | 61 6e 03 00 0f 00 00 00 | New Rom|an......|
|00003d30| 0e 00 00 00 22 0c 43 6f | 75 72 69 65 72 20 4e 65 |....".Co|urier Ne|
|00003d40| 77 02 00 02 00 00 00 12 | 00 00 00 22 10 54 69 6d |w.......|...".Tim|
|00003d50| 65 73 20 4e 65 77 20 52 | 6f 6d 61 6e 03 00 2f 00 |es New R|oman../.|
|00003d60| 00 00 12 00 00 00 22 10 | 54 69 6d 65 73 20 4e 65 |......".|Times Ne|
|00003d70| 77 20 52 6f 6d 61 6e 03 | 00 18 00 00 00 14 00 00 |w Roman.|........|
|00003d80| 00 1d 01 22 10 54 69 6d | 65 73 20 4e 65 77 20 52 |...".Tim|es New R|
|00003d90| 6f 6d 61 6e 03 00 3e 00 | 00 00 12 00 00 00 22 10 |oman..>.|......".|
|00003da0| 54 69 6d 65 73 20 4e 65 | 77 20 52 6f 6d 61 6e 03 |Times Ne|w Roman.|
|00003db0| 00 09 00 00 00 0e 00 00 | 00 22 0c 43 6f 75 72 69 |........|.".Couri|
|00003dc0| 65 72 20 4e 65 77 02 00 | 31 00 00 00 12 00 00 00 |er New..|1.......|
|00003dd0| 22 10 54 69 6d 65 73 20 | 4e 65 77 20 52 6f 6d 61 |".Times |New Roma|
|00003de0| 6e 03 00 0b 00 00 00 0e | 00 00 00 22 0c 43 6f 75 |n.......|...".Cou|
|00003df0| 72 69 65 72 20 4e 65 77 | 02 00 6a 00 00 00 12 00 |rier New|..j.....|
|00003e00| 00 00 22 10 54 69 6d 65 | 73 20 4e 65 77 20 52 6f |..".Time|s New Ro|
|00003e10| 6d 61 6e 03 00 0c 00 00 | 00 0e 00 00 00 22 0c 43 |man.....|.....".C|
|00003e20| 6f 75 72 69 65 72 20 4e | 65 77 02 00 22 00 00 00 |ourier N|ew.."...|
|00003e30| 12 00 00 00 22 10 54 69 | 6d 65 73 20 4e 65 77 20 |....".Ti|mes New |
|00003e40| 52 6f 6d 61 6e 03 00 0d | 00 00 00 0e 00 00 00 22 |Roman...|......."|
|00003e50| 0c 43 6f 75 72 69 65 72 | 20 4e 65 77 02 00 58 00 |.Courier| New..X.|
|00003e60| 00 00 12 00 00 00 22 10 | 54 69 6d 65 73 20 4e 65 |......".|Times Ne|
|00003e70| 77 20 52 6f 6d 61 6e 03 | 00 01 00 00 00 0e 00 00 |w Roman.|........|
|00003e80| 00 22 0c 43 6f 75 72 69 | 65 72 20 4e 65 77 02 00 |.".Couri|er New..|
|00003e90| 04 00 00 00 12 00 00 00 | 22 10 54 69 6d 65 73 20 |........|".Times |
|00003ea0| 4e 65 77 20 52 6f 6d 61 | 6e 03 00 0c 00 00 00 0e |New Roma|n.......|
|00003eb0| 00 00 00 22 0c 43 6f 75 | 72 69 65 72 20 4e 65 77 |...".Cou|rier New|
|00003ec0| 02 00 02 00 00 00 12 00 | 00 00 22 10 54 69 6d 65 |........|..".Time|
|00003ed0| 73 20 4e 65 77 20 52 6f | 6d 61 6e 03 00 15 00 00 |s New Ro|man.....|
|00003ee0| 00 0e 00 00 00 22 0c 43 | 6f 75 72 69 65 72 20 4e |.....".C|ourier N|
|00003ef0| 65 77 02 00 15 00 00 00 | 12 00 00 00 22 10 54 69 |ew......|....".Ti|
|00003f00| 6d 65 73 20 4e 65 77 20 | 52 6f 6d 61 6e 03 00 05 |mes New |Roman...|
|00003f10| 00 00 00 0e 00 00 00 22 | 0c 43 6f 75 72 69 65 72 |......."|.Courier|
|00003f20| 20 4e 65 77 02 00 10 00 | 00 00 12 00 00 00 22 10 | New....|......".|
|00003f30| 54 69 6d 65 73 20 4e 65 | 77 20 52 6f 6d 61 6e 03 |Times Ne|w Roman.|
|00003f40| 00 1b 00 00 00 0e 00 00 | 00 22 0c 43 6f 75 72 69 |........|.".Couri|
|00003f50| 65 72 20 4e 65 77 02 00 | 0b 00 00 00 12 00 00 00 |er New..|........|
|00003f60| 22 10 54 69 6d 65 73 20 | 4e 65 77 20 52 6f 6d 61 |".Times |New Roma|
|00003f70| 6e 03 00 07 00 00 00 0e | 00 00 00 22 0c 43 6f 75 |n.......|...".Cou|
|00003f80| 72 69 65 72 20 4e 65 77 | 02 00 35 00 00 00 12 00 |rier New|..5.....|
|00003f90| 00 00 22 10 54 69 6d 65 | 73 20 4e 65 77 20 52 6f |..".Time|s New Ro|
|00003fa0| 6d 61 6e 03 00 0b 00 00 | 00 0e 00 00 00 22 0c 43 |man.....|.....".C|
|00003fb0| 6f 75 72 69 65 72 20 4e | 65 77 02 00 0c 00 00 00 |ourier N|ew......|
|00003fc0| 12 00 00 00 22 10 54 69 | 6d 65 73 20 4e 65 77 20 |....".Ti|mes New |
|00003fd0| 52 6f 6d 61 6e 03 00 0a | 00 00 00 14 00 00 00 1e |Roman...|........|
|00003fe0| 01 22 10 54 69 6d 65 73 | 20 4e 65 77 20 52 6f 6d |.".Times| New Rom|
|00003ff0| 61 6e 03 00 28 00 00 00 | 14 00 00 00 1e 00 22 10 |an..(...|......".|
|00004000| 54 69 6d 65 73 20 4e 65 | 77 20 52 6f 6d 61 6e 03 |Times Ne|w Roman.|
|00004010| 00 06 00 00 00 10 00 00 | 00 1e 00 22 0c 43 6f 75 |........|...".Cou|
|00004020| 72 69 65 72 20 4e 65 77 | 02 00 2c 00 00 00 14 00 |rier New|..,.....|
|00004030| 00 00 1e 00 22 10 54 69 | 6d 65 73 20 4e 65 77 20 |....".Ti|mes New |
|00004040| 52 6f 6d 61 6e 03 00 06 | 00 00 00 10 00 00 00 1e |Roman...|........|
|00004050| 00 22 0c 43 6f 75 72 69 | 65 72 20 4e 65 77 02 00 |.".Couri|er New..|
|00004060| 32 00 00 00 14 00 00 00 | 1e 00 22 10 54 69 6d 65 |2.......|..".Time|
|00004070| 73 20 4e 65 77 20 52 6f | 6d 61 6e 03 00 0d 00 00 |s New Ro|man.....|
|00004080| 00 0e 00 00 00 22 0c 43 | 6f 75 72 69 65 72 20 4e |.....".C|ourier N|
|00004090| 65 77 02 00 4d 00 00 00 | 12 00 00 00 22 10 54 69 |ew..M...|....".Ti|
|000040a0| 6d 65 73 20 4e 65 77 20 | 52 6f 6d 61 6e 03 00 12 |mes New |Roman...|
|000040b0| 00 00 00 0e 00 00 00 22 | 0c 43 6f 75 72 69 65 72 |......."|.Courier|
|000040c0| 20 4e 65 77 02 00 26 00 | 00 00 12 00 00 00 22 10 | New..&.|......".|
|000040d0| 54 69 6d 65 73 20 4e 65 | 77 20 52 6f 6d 61 6e 03 |Times Ne|w Roman.|
|000040e0| 00 0c 00 00 00 0e 00 00 | 00 22 0c 43 6f 75 72 69 |........|.".Couri|
|000040f0| 65 72 20 4e 65 77 02 00 | 2a 00 00 00 12 00 00 00 |er New..|*.......|
|00004100| 22 10 54 69 6d 65 73 20 | 4e 65 77 20 52 6f 6d 61 |".Times |New Roma|
|00004110| 6e 03 00 0c 00 00 00 0e | 00 00 00 22 0c 43 6f 75 |n.......|...".Cou|
|00004120| 72 69 65 72 20 4e 65 77 | 02 00 42 00 00 00 12 00 |rier New|..B.....|
|00004130| 00 00 22 10 54 69 6d 65 | 73 20 4e 65 77 20 52 6f |..".Time|s New Ro|
|00004140| 6d 61 6e 03 00 13 00 00 | 00 0e 00 00 00 22 0c 43 |man.....|.....".C|
|00004150| 6f 75 72 69 65 72 20 4e | 65 77 02 00 34 00 00 00 |ourier N|ew..4...|
|00004160| 12 00 00 00 22 10 54 69 | 6d 65 73 20 4e 65 77 20 |....".Ti|mes New |
|00004170| 52 6f 6d 61 6e 03 00 08 | 00 00 00 0e 00 00 00 22 |Roman...|......."|
|00004180| 0c 43 6f 75 72 69 65 72 | 20 4e 65 77 02 00 36 00 |.Courier| New..6.|
|00004190| 00 00 12 00 00 00 22 10 | 54 69 6d 65 73 20 4e 65 |......".|Times Ne|
|000041a0| 77 20 52 6f 6d 61 6e 03 | 00 01 00 00 00 00 00 00 |w Roman.|........|
|000041b0| 00 7f 00 00 10 22 57 6f | 72 64 2e 61 70 70 0c 43 |....."Wo|rd.app.C|
|000041c0| 02 00 10 14 00 00 00 04 | 01 00 10 22 00 00 00 05 |........|..."....|
|000041d0| 01 00 10 d7 01 00 00 06 | 01 00 10 5e 02 00 00 43 |........|...^...C|
|000041e0| 01 00 10 5b 13 00 00 89 | 00 00 10 c8 1f 00 00 37 |...[....|.......7|
|000041f0| 00 00 10 6d 00 00 10 85 | 00 00 10 f4 63 08 55 bf |...m....|....c.U.|
|00004200| 09 00 00 5c 00 00 10 63 | 00 00 10 00 00 00 00 64 |...\...c|.......d|
|00004210| 00 00 10 cd 23 72 65 6d | 20 50 6c 75 67 49 6e 20 |....#rem| PlugIn |
|00004220| 74 65 6d 70 6c 61 74 65 | 20 66 6f 72 20 53 74 61 |template| for Sta|
|00004230| 72 74 35 20 76 32 2e 30 | 06 72 65 6d 20 52 65 76 |rt5 v2.0|.rem Rev|
|00004240| 2e 20 30 2e 35 06 72 65 | 6d 20 a9 31 39 39 38 20 |. 0.5.re|m .1998 |
|00004250| 41 2e 20 50 65 6d 73 65 | 6c 06 06 72 65 6d 20 2d |A. Pemse|l..rem -|
|00004260| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 06 06 |--------|------..|
|00004280| 72 65 6d 20 53 6f 6d 65 | 20 63 6f 6d 6d 65 6e 74 |rem Some| comment|
|00004290| 73 20 61 62 6f 75 74 20 | 63 72 65 61 74 69 6e 67 |s about |creating|
|000042a0| 20 50 6c 75 67 49 6e 73 | 3a 06 72 65 6d 20 31 29 | PlugIns|:.rem 1)|
|000042b0| 20 52 65 70 6c 61 63 65 | 20 22 50 6c 75 67 49 6e | Replace| "PlugIn|
|000042c0| 22 20 77 69 74 68 20 79 | 6f 75 72 20 50 6c 75 67 |" with y|our Plug|
|000042d0| 49 6e 27 73 06 72 65 6d | 20 20 20 20 6e 61 6d 65 |In's.rem| name|
|000042e0| 20 69 6e 20 74 68 65 20 | 70 72 6f 63 65 64 75 72 | in the |procedur|
|000042f0| 65 20 6e 61 6d 65 73 06 | 72 65 6d 20 32 29 20 43 |e names.|rem 2) C|
|00004300| 6f 70 79 20 74 68 65 20 | 74 72 61 6e 73 6c 61 74 |opy the |translat|
|00004310| 65 64 20 4f 50 4f 20 66 | 69 6c 65 20 74 6f 06 72 |ed OPO f|ile to.r|
|00004320| 65 6d 20 20 20 20 5c 53 | 79 73 74 65 6d 5c 41 70 |em \S|ystem\Ap|
|00004330| 70 73 5c 53 74 61 72 74 | 35 5c 50 6c 75 67 49 6e |ps\Start|5\PlugIn|
|00004340| 73 5c 2a 2e 70 6c 67 06 | 72 65 6d 20 33 29 20 52 |s\*.plg.|rem 3) R|
|00004350| 65 73 74 61 72 74 20 53 | 74 61 72 74 35 06 72 65 |estart S|tart5.re|
|00004360| 6d 20 34 29 20 41 74 20 | 74 68 65 20 6d 6f 6d 65 |m 4) At |the mome|
|00004370| 6e 74 20 53 74 61 72 74 | 35 20 69 73 20 6e 6f 74 |nt Start|5 is not|
|00004380| 20 70 72 6f 74 65 63 74 | 65 64 06 72 65 6d 09 20 | protect|ed.rem. |
|00004390| 20 20 61 67 61 69 6e 73 | 74 20 63 6f 72 72 75 70 | agains|t corrup|
|000043a0| 74 20 50 6c 75 67 49 6e | 73 06 72 65 6d 20 35 29 |t PlugIn|s.rem 5)|
|000043b0| 20 49 74 20 69 73 20 70 | 6f 73 73 69 62 6c 65 20 | It is p|ossible |
|000043c0| 74 6f 20 72 65 74 75 72 | 6e 20 30 20 61 73 20 74 |to retur|n 0 as t|
|000043d0| 68 65 20 50 6c 75 67 49 | 6e 73 06 72 65 6d 20 20 |he PlugI|ns.rem |
|000043e0| 20 20 77 69 64 74 68 2e | 20 54 68 65 73 65 20 50 | width.| These P|
|000043f0| 6c 75 67 49 6e 73 20 61 | 72 65 20 75 73 65 64 20 |lugIns a|re used |
|00004400| 61 73 20 61 20 70 61 74 | 63 68 06 72 65 6d 20 20 |as a pat|ch.rem |
|00004410| 20 20 66 6f 72 20 53 74 | 61 72 74 35 06 72 65 6d | for St|art5.rem|
|00004420| 20 36 29 20 54 68 65 72 | 65 20 69 73 20 61 20 6d | 6) Ther|e is a m|
|00004430| 61 78 69 6d 75 6d 20 6f | 66 20 36 20 50 6c 75 67 |aximum o|f 6 Plug|
|00004440| 49 6e 73 20 74 68 61 74 | 20 63 61 6e 06 72 65 6d |Ins that| can.rem|
|00004450| 20 20 20 20 62 65 20 6c | 6f 61 64 65 64 20 62 79 | be l|oaded by|
|00004460| 20 53 74 61 72 74 35 06 | 72 65 6d 20 37 29 20 54 | Start5.|rem 7) T|
|00004470| 68 65 72 65 20 69 73 20 | 6e 6f 20 73 75 70 70 6f |here is |no suppo|
|00004480| 72 74 20 66 6f 72 20 67 | 6c 6f 62 61 6c 20 76 61 |rt for g|lobal va|
|00004490| 72 73 20 28 79 65 74 29 | 06 72 65 6d 20 38 29 20 |rs (yet)|.rem 8) |
|000044a0| 50 6c 75 67 49 6e 73 20 | 6d 61 79 20 75 73 65 20 |PlugIns |may use |
|000044b0| 53 74 61 72 74 35 27 73 | 20 41 50 49 20 28 61 20 |Start5's| API (a |
|000044c0| 64 6f 63 75 06 72 65 6d | 20 20 20 20 6f 66 20 74 |docu.rem| of t|
|000044d0| 68 65 20 41 50 49 20 77 | 69 6c 6c 20 62 65 20 61 |he API w|ill be a|
|000044e0| 76 61 69 6c 61 62 6c 65 | 29 06 06 63 6f 6e 73 74 |vailable|)..const|
|000044f0| 20 4b 50 6c 75 67 49 6e | 55 70 64 61 74 65 52 61 | KPlugIn|UpdateRa|
|00004500| 74 65 4e 65 76 65 72 25 | 3d 30 06 09 09 09 72 65 |teNever%|=0....re|
|00004510| 6d 20 50 6c 75 67 49 6e | 5f 55 70 64 61 74 65 3a |m PlugIn|_Update:|
|00004520| 28 77 69 64 25 29 20 69 | 73 20 6e 65 76 65 72 20 |(wid%) i|s never |
|00004530| 63 61 6c 6c 65 64 06 06 | 63 6f 6e 73 74 20 4b 50 |called..|const KP|
|00004540| 6c 75 67 49 6e 55 70 64 | 61 74 65 52 61 74 65 4e |lugInUpd|ateRateN|
|00004550| 6f 72 6d 61 6c 25 3d 31 | 20 72 65 6d 20 61 74 20 |ormal%=1| rem at |
|00004560| 6c 65 61 73 74 06 09 09 | 09 72 65 6d 20 65 76 65 |least...|.rem eve|
|00004570| 72 79 20 31 30 73 20 77 | 68 65 6e 20 69 6e 20 66 |ry 10s w|hen in f|
|00004580| 6f 72 65 67 72 6f 75 6e | 64 2c 20 6e 6f 74 20 69 |oregroun|d, not i|
|00004590| 6e 06 09 09 09 72 65 6d | 20 62 61 63 6b 67 72 6f |n....rem| backgro|
|000045a0| 75 6e 64 06 09 09 09 06 | 63 6f 6e 73 74 20 4b 50 |und.....|const KP|
|000045b0| 6c 75 67 49 6e 55 70 64 | 61 74 65 52 61 74 65 48 |lugInUpd|ateRateH|
|000045c0| 69 67 68 25 3d 32 20 72 | 65 6d 20 61 74 20 6c 65 |igh%=2 r|em at le|
|000045d0| 61 73 74 06 09 09 09 72 | 65 6d 20 65 76 65 72 79 |ast....r|em every|
|000045e0| 20 32 73 20 77 68 65 6e | 20 69 6e 20 66 6f 72 65 | 2s when| in fore|
|000045f0| 67 72 6f 75 6e 64 2c 20 | 6e 6f 74 20 69 6e 06 09 |ground, |not in..|
|00004600| 09 09 72 65 6d 20 62 61 | 63 6b 67 72 6f 75 6e 64 |..rem ba|ckground|
|00004610| 06 09 09 09 06 63 6f 6e | 73 74 20 4b 50 6c 75 67 |.....con|st KPlug|
|00004620| 49 6e 55 70 64 61 74 65 | 52 61 74 65 4d 61 78 25 |InUpdate|RateMax%|
|00004630| 3d 33 20 72 65 6d 20 61 | 74 20 6c 65 61 73 74 06 |=3 rem a|t least.|
|00004640| 09 09 09 72 65 6d 20 65 | 76 65 72 79 20 73 65 63 |...rem e|very sec|
|00004650| 6f 6e 64 20 77 68 65 6e | 20 69 6e 20 66 6f 72 65 |ond when| in fore|
|00004660| 67 72 6f 75 6e 64 20 61 | 6e 64 06 09 09 09 72 65 |ground a|nd....re|
|00004670| 6d 20 69 6e 20 62 61 63 | 6b 67 72 6f 75 6e 64 06 |m in bac|kground.|
|00004680| 09 09 09 72 65 6d 20 49 | 4d 50 4f 52 54 41 4e 54 |...rem I|MPORTANT|
|00004690| 20 4e 4f 54 45 3a 20 54 | 68 69 73 20 77 69 6c 6c | NOTE: T|his will|
|000046a0| 20 72 65 63 6f 6e 66 69 | 67 75 72 65 06 09 09 09 | reconfi|gure....|
|000046b0| 72 65 6d 20 53 74 61 72 | 74 35 27 73 20 69 6e 74 |rem Star|t5's int|
|000046c0| 65 72 6e 61 6c 20 74 69 | 6d 65 72 20 61 6e 64 20 |ernal ti|mer and |
|000046d0| 74 68 65 72 65 66 6f 72 | 65 06 09 09 09 72 65 6d |therefor|e....rem|
|000046e0| 20 69 6e 63 72 65 61 73 | 65 20 43 50 55 20 61 6e | increas|e CPU an|
|000046f0| 64 20 62 61 74 74 65 72 | 79 20 6c 6f 61 64 2e 06 |d batter|y load..|
|00004700| 09 09 09 06 63 6f 6e 73 | 74 20 4b 50 6c 75 67 49 |....cons|t KPlugI|
|00004710| 6e 48 65 69 67 68 74 25 | 3d 32 32 20 72 65 6d 20 |nHeight%|=22 rem |
|00004720| 61 6c 6c 20 50 6c 75 67 | 49 6e 73 20 68 61 76 65 |all Plug|Ins have|
|00004730| 20 74 68 65 20 73 61 6d | 65 20 68 65 69 67 68 74 | the sam|e height|
|00004740| 20 69 6e 20 76 32 2e 30 | 50 41 06 06 72 65 6d 20 | in v2.0|PA..rem |
|00004750| 54 68 69 73 20 70 72 6f | 63 20 69 73 20 63 61 6c |This pro|c is cal|
|00004760| 6c 65 64 20 77 68 65 6e | 20 74 68 65 20 50 6c 75 |led when| the Plu|
|00004770| 67 49 6e 20 69 73 20 6c | 6f 61 64 65 64 06 70 72 |gIn is l|oaded.pr|
|00004780| 6f 63 20 50 6c 75 67 49 | 6e 5f 4c 6f 61 64 3a 06 |oc PlugI|n_Load:.|
|00004790| 65 6e 64 70 06 06 72 65 | 6d 20 54 68 69 73 20 70 |endp..re|m This p|
|000047a0| 72 6f 63 20 6d 75 73 74 | 20 72 65 74 75 72 6e 20 |roc must| return |
|000047b0| 74 68 65 20 50 6c 75 67 | 49 6e 27 73 20 77 69 64 |the Plug|In's wid|
|000047c0| 74 68 06 70 72 6f 63 20 | 50 6c 75 67 49 6e 5f 57 |th.proc |PlugIn_W|
|000047d0| 69 64 74 68 25 3a 06 09 | 72 65 74 75 72 6e 20 32 |idth%:..|return 2|
|000047e0| 34 06 65 6e 64 70 06 06 | 72 65 6d 20 54 68 69 73 |4.endp..|rem This|
|000047f0| 20 70 72 6f 63 20 6d 75 | 73 74 20 72 65 74 75 72 | proc mu|st retur|
|00004800| 6e 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 63 6f 6e |n one of| the con|
|00004810| 73 74 61 6e 74 73 06 72 | 65 6d 20 64 65 66 69 6e |stants.r|em defin|
|00004820| 65 64 20 61 62 6f 76 65 | 06 70 72 6f 63 20 50 6c |ed above|.proc Pl|
|00004830| 75 67 49 6e 5f 55 70 64 | 61 74 65 52 61 74 65 25 |ugIn_Upd|ateRate%|
|00004840| 3a 06 09 72 65 74 75 72 | 6e 06 65 6e 64 70 06 06 |:..retur|n.endp..|
|00004850| 72 65 6d 20 54 68 69 73 | 20 69 73 20 63 61 6c 6c |rem This| is call|
|00004860| 65 64 20 6f 6e 6c 79 20 | 6f 6e 63 65 20 61 66 74 |ed only |once aft|
|00004870| 65 72 20 74 68 65 20 50 | 6c 75 67 49 6e 06 72 65 |er the P|lugIn.re|
|00004880| 6d 20 67 6f 74 20 69 74 | 73 20 6f 77 6e 20 77 69 |m got it|s own wi|
|00004890| 6e 64 6f 77 2e 20 77 69 | 64 25 20 69 73 20 74 68 |ndow. wi|d% is th|
|000048a0| 65 20 57 69 6e 64 6f 77 | 49 44 20 6f 66 06 72 65 |e Window|ID of.re|
|000048b0| 6d 20 74 68 65 20 50 6c | 75 67 49 6e 73 20 77 69 |m the Pl|ugIns wi|
|000048c0| 6e 64 6f 77 2e 06 70 72 | 6f 63 20 50 6c 75 67 49 |ndow..pr|oc PlugI|
|000048d0| 6e 5f 44 72 61 77 3a 28 | 77 69 64 25 29 06 65 6e |n_Draw:(|wid%).en|
|000048e0| 64 70 06 06 72 65 6d 20 | 54 68 69 73 20 69 73 20 |dp..rem |This is |
|000048f0| 63 61 6c 6c 65 64 20 66 | 72 6f 6d 20 74 69 6d 65 |called f|rom time|
|00004900| 20 74 6f 20 74 69 6d 65 | 20 28 64 65 70 65 6e 64 | to time| (depend|
|00004910| 69 6e 67 06 72 65 6d 20 | 6f 6e 20 74 68 65 20 75 |ing.rem |on the u|
|00004920| 70 64 61 74 65 20 72 61 | 74 65 20 73 65 74 74 69 |pdate ra|te setti|
|00004930| 6e 67 29 2e 20 41 73 20 | 53 74 61 72 74 35 20 61 |ng). As |Start5 a|
|00004940| 6e 64 20 61 6c 6c 06 72 | 65 6d 20 50 6c 75 67 49 |nd all.r|em PlugI|
|00004950| 6e 73 20 61 72 65 20 65 | 78 65 63 75 74 65 64 20 |ns are e|xecuted |
|00004960| 69 6e 20 63 6f 6f 70 65 | 72 61 74 69 76 65 20 6d |in coope|rative m|
|00004970| 75 6c 74 69 74 61 73 6b | 69 6e 67 06 72 65 6d 20 |ultitask|ing.rem |
|00004980| 74 68 69 73 20 70 72 6f | 63 20 73 68 6f 75 6c 64 |this pro|c should|
|00004990| 20 72 65 74 75 72 6e 20 | 61 73 20 66 61 73 74 20 | return |as fast |
|000049a0| 61 73 20 70 6f 73 73 69 | 62 6c 65 2e 06 72 65 6d |as possi|ble..rem|
|000049b0| 20 28 4e 6f 72 6d 61 6c | 6c 79 20 61 66 74 65 72 | (Normal|ly after|
|000049c0| 20 6d 61 78 2e 20 31 2f | 34 20 73 65 63 2e 29 06 | max. 1/|4 sec.).|
|000049d0| 70 72 6f 63 20 50 6c 75 | 67 49 6e 5f 55 70 64 61 |proc Plu|gIn_Upda|
|000049e0| 74 65 3a 28 77 69 64 25 | 29 06 65 6e 64 70 06 06 |te:(wid%|).endp..|
|000049f0| 72 65 6d 20 54 68 69 73 | 20 77 69 6c 6c 20 62 65 |rem This| will be|
|00004a00| 20 63 61 6c 6c 65 64 20 | 77 68 65 6e 20 74 68 65 | called |when the|
|00004a10| 20 50 6c 75 67 49 6e 20 | 69 73 20 75 6e 6c 6f 61 | PlugIn |is unloa|
|00004a20| 64 65 64 2e 06 70 72 6f | 63 20 50 6c 75 67 49 6e |ded..pro|c PlugIn|
|00004a30| 5f 55 6e 6c 6f 61 64 3a | 06 65 6e 64 70 06 06 72 |_Unload:|.endp..r|
|00004a40| 65 6d 20 50 65 72 68 61 | 70 73 20 74 68 65 20 6d |em Perha|ps the m|
|00004a50| 6f 73 74 20 69 6d 70 6f | 72 74 61 6e 74 20 70 72 |ost impo|rtant pr|
|00004a60| 6f 63 2e 20 43 61 6c 6c | 65 64 20 77 68 65 6e 65 |oc. Call|ed whene|
|00004a70| 76 65 72 06 72 65 6d 20 | 74 68 65 20 50 6c 75 67 |ver.rem |the Plug|
|00004a80| 49 6e 73 20 77 69 6e 64 | 6f 77 20 69 73 20 74 61 |Ins wind|ow is ta|
|00004a90| 70 70 65 64 2e 20 4e 6f | 74 65 20 74 68 61 74 20 |pped. No|te that |
|00004aa0| 69 66 20 79 6f 75 06 72 | 65 6d 20 73 74 6f 70 20 |if you.r|em stop |
|00004ab0| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 69 6e 20 74 |the prog|ram in t|
|00004ac0| 68 69 73 20 70 72 6f 63 | 2c 20 53 74 61 72 74 35 |his proc|, Start5|
|00004ad0| 20 77 69 6c 6c 20 6e 6f | 74 06 72 65 6d 20 72 65 | will no|t.rem re|
|00004ae0| 61 63 74 20 74 6f 20 65 | 76 65 6e 74 73 2e 06 70 |act to e|vents..p|
|00004af0| 72 6f 63 20 50 6c 75 67 | 49 6e 5f 54 61 70 70 65 |roc Plug|In_Tappe|
|00004b00| 64 3a 06 65 6e 64 70 06 | 01 00 00 00 00 00 00 00 |d:.endp.|........|
|00004b10| 01 00 00 00 00 00 00 00 | 01 00 00 00 d0 02 00 00 |........|........|
|00004b20| d0 02 00 00 a0 05 00 00 | a0 05 00 00 a0 05 00 00 |........|........|
|00004b30| a0 05 00 00 01 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b40| 00 5c 00 00 10 63 00 00 | 10 19 09 00 00 65 00 00 |.\...c..|.....e..|
|00004b50| 10 00 00 00 00 66 00 00 | 10 00 00 00 00 64 00 00 |.....f..|.....d..|
|00004b60| 10 02 06 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b70| 5c 00 00 10 63 00 00 10 | 21 09 00 00 65 00 00 10 |\...c...|!...e...|
|00004b80| 00 00 00 00 66 00 00 10 | 00 00 00 00 64 00 00 10 |....f...|....d...|
|00004b90| 02 06 fd 00 00 10 82 2e | 00 00 c6 41 00 00 00 85 |........|...A....|
|00004ba0| 00 00 10 2a 54 65 78 74 | 45 64 2e 61 70 70 06 85 |...*Text|Ed.app..|
|00004bb0| 00 00 10 14 00 00 00 05 | 01 00 10 29 09 00 00 89 |........|...)....|
|00004bc0| 00 00 10 b0 09 00 00 | |....... | |
+--------+-------------------------+-------------------------+--------+--------+