home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [R*ch] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 65 63 65 69 76 65 64 | 2d 44 61 74 65 3a 20 57 |Received|-Date: W|
|00000010| 65 64 2c 20 31 30 20 41 | 75 67 20 31 39 39 34 20 |ed, 10 A|ug 1994 |
|00000020| 31 33 3a 31 36 3a 35 35 | 20 2b 30 32 30 30 0d 46 |13:16:55| +0200.F|
|00000030| 72 6f 6d 3a 20 70 6f 74 | 74 69 65 72 40 63 6c 69 |rom: pot|tier@cli|
|00000040| 70 70 65 72 2e 65 6e 73 | 2e 66 72 20 28 46 72 61 |pper.ens|.fr (Fra|
|00000050| 6e 63 6f 69 73 20 50 6f | 74 74 69 65 72 29 0d 53 |ncois Po|ttier).S|
|00000060| 75 62 6a 65 63 74 3a 20 | 63 73 6d 70 2d 64 69 67 |ubject: |csmp-dig|
|00000070| 65 73 74 2d 76 33 2d 30 | 35 30 0d 54 6f 3a 20 63 |est-v3-0|50.To: c|
|00000080| 73 6d 70 2d 64 69 67 65 | 73 74 40 65 6e 73 2e 66 |smp-dige|st@ens.f|
|00000090| 72 0d 44 61 74 65 3a 20 | 57 65 64 2c 20 31 30 20 |r.Date: |Wed, 10 |
|000000a0| 41 75 67 20 31 39 39 34 | 20 31 33 3a 31 36 3a 34 |Aug 1994| 13:16:4|
|000000b0| 39 20 2b 30 32 30 30 20 | 28 4d 45 54 20 44 53 54 |9 +0200 |(MET DST|
|000000c0| 29 0d 58 2d 4d 61 69 6c | 65 72 3a 20 45 4c 4d 20 |).X-Mail|er: ELM |
|000000d0| 5b 76 65 72 73 69 6f 6e | 20 32 2e 34 20 50 4c 32 |[version| 2.4 PL2|
|000000e0| 33 5d 0d 4d 69 6d 65 2d | 56 65 72 73 69 6f 6e 3a |3].Mime-|Version:|
|000000f0| 20 31 2e 30 0d 43 6f 6e | 74 65 6e 74 2d 54 79 70 | 1.0.Con|tent-Typ|
|00000100| 65 3a 20 74 65 78 74 2f | 70 6c 61 69 6e 3b 20 63 |e: text/|plain; c|
|00000110| 68 61 72 73 65 74 3d 49 | 53 4f 2d 38 38 35 39 2d |harset=I|SO-8859-|
|00000120| 31 0d 43 6f 6e 74 65 6e | 74 2d 54 72 61 6e 73 66 |1.Conten|t-Transf|
|00000130| 65 72 2d 45 6e 63 6f 64 | 69 6e 67 3a 20 38 62 69 |er-Encod|ing: 8bi|
|00000140| 74 0d 45 72 72 6f 72 73 | 2d 54 6f 3a 20 6c 69 73 |t.Errors|-To: lis|
|00000150| 74 6d 61 6e 40 65 6e 73 | 2e 66 72 0d 52 65 70 6c |tman@ens|.fr.Repl|
|00000160| 79 2d 54 6f 3a 20 70 6f | 74 74 69 65 72 40 63 6c |y-To: po|ttier@cl|
|00000170| 69 70 70 65 72 2e 65 6e | 73 2e 66 72 0d 58 2d 53 |ipper.en|s.fr.X-S|
|00000180| 65 71 75 65 6e 63 65 3a | 20 35 35 0d 0d 43 2e 53 |equence:| 55..C.S|
|00000190| 2e 4d 2e 50 2e 20 44 69 | 67 65 73 74 20 20 20 20 |.M.P. Di|gest |
|000001a0| 20 20 20 20 20 20 20 20 | 20 57 65 64 2c 20 31 30 | | Wed, 10|
|000001b0| 20 41 75 67 20 39 34 20 | 20 20 20 20 20 20 56 6f | Aug 94 | Vo|
|000001c0| 6c 75 6d 65 20 33 20 3a | 20 49 73 73 75 65 20 35 |lume 3 :| Issue 5|
|000001d0| 30 0d 20 0d 54 6f 64 61 | 79 27 73 20 54 6f 70 69 |0. .Toda|y's Topi|
|000001e0| 63 73 3a 0d 20 0d 20 20 | 20 20 20 20 20 20 44 65 |cs:. . | De|
|000001f0| 74 65 63 74 69 6e 67 20 | 41 70 70 6c 65 20 45 76 |tecting |Apple Ev|
|00000200| 65 6e 74 73 20 6f 6e 20 | 6c 61 75 6e 63 68 3f 0d |ents on |launch?.|
|00000210| 20 20 20 20 20 20 20 20 | 44 69 61 6c 6f 67 73 20 | |Dialogs |
|00000220| 61 6e 64 20 66 6f 6e 74 | 73 2e 2e 2e 0d 20 20 20 |and font|s.... |
|00000230| 20 20 20 20 20 46 69 6c | 74 65 72 69 6e 67 20 45 | Fil|tering E|
|00000240| 64 69 74 20 54 65 78 74 | 20 69 74 65 6d 73 0d 20 |dit Text| items. |
|00000250| 20 20 20 20 20 20 20 4d | 6f 72 65 46 69 6c 65 73 | M|oreFiles|
|00000260| 20 31 2e 32 20 61 76 61 | 69 6c 61 62 6c 65 20 6f | 1.2 ava|ilable o|
|00000270| 6e 20 66 74 70 2e 61 70 | 70 6c 65 2e 63 6f 6d 0d |n ftp.ap|ple.com.|
|00000280| 20 20 20 20 20 20 20 20 | 53 74 79 6c 65 64 20 54 | |Styled T|
|00000290| 65 78 74 20 69 6e 20 44 | 69 61 6c 6f 67 73 0d 20 |ext in D|ialogs. |
|000002a0| 20 20 20 20 20 20 20 54 | 68 65 20 73 68 6f 63 6b | T|he shock|
|000002b0| 20 6f 66 20 74 68 65 20 | 6e 65 77 20 28 6d 61 63 | of the |new (mac|
|000002c0| 20 76 73 20 75 6e 69 78 | 29 0d 20 20 20 20 20 20 | vs unix|). |
|000002d0| 20 20 57 68 61 74 20 64 | 6f 65 73 20 22 72 65 65 | What d|oes "ree|
|000002e0| 6e 74 72 61 6e 74 22 20 | 6d 65 61 6e 3f 0d 0d 0d |ntrant" |mean?...|
|000002f0| 0d 54 68 65 20 43 6f 6d | 70 2e 53 79 73 2e 4d 61 |.The Com|p.Sys.Ma|
|00000300| 63 2e 50 72 6f 67 72 61 | 6d 6d 65 72 20 44 69 67 |c.Progra|mmer Dig|
|00000310| 65 73 74 20 69 73 20 6d | 6f 64 65 72 61 74 65 64 |est is m|oderated|
|00000320| 20 62 79 20 46 72 61 6e | 63 6f 69 73 20 50 6f 74 | by Fran|cois Pot|
|00000330| 74 69 65 72 0d 28 70 6f | 74 74 69 65 72 40 63 6c |tier.(po|ttier@cl|
|00000340| 69 70 70 65 72 2e 65 6e | 73 2e 66 72 29 2e 0d 20 |ipper.en|s.fr).. |
|00000350| 0d 54 68 65 20 64 69 67 | 65 73 74 20 69 73 20 61 |.The dig|est is a|
|00000360| 20 63 6f 6c 6c 65 63 74 | 69 6f 6e 20 6f 66 20 61 | collect|ion of a|
|00000370| 72 74 69 63 6c 65 20 74 | 68 72 65 61 64 73 20 66 |rticle t|hreads f|
|00000380| 72 6f 6d 20 74 68 65 20 | 69 6e 74 65 72 6e 65 74 |rom the |internet|
|00000390| 20 6e 65 77 73 67 72 6f | 75 70 0d 63 6f 6d 70 2e | newsgro|up.comp.|
|000003a0| 73 79 73 2e 6d 61 63 2e | 70 72 6f 67 72 61 6d 6d |sys.mac.|programm|
|000003b0| 65 72 2e 20 20 49 74 20 | 69 73 20 64 65 73 69 67 |er. It |is desig|
|000003c0| 6e 65 64 20 66 6f 72 20 | 70 65 6f 70 6c 65 20 77 |ned for |people w|
|000003d0| 68 6f 20 72 65 61 64 20 | 63 2e 73 2e 6d 2e 70 2e |ho read |c.s.m.p.|
|000003e0| 20 73 65 6d 69 2d 0d 72 | 65 67 75 6c 61 72 6c 79 | semi-.r|egularly|
|000003f0| 20 61 6e 64 20 77 61 6e | 74 20 61 6e 20 61 72 63 | and wan|t an arc|
|00000400| 68 69 76 65 20 6f 66 20 | 74 68 65 20 64 69 73 63 |hive of |the disc|
|00000410| 75 73 73 69 6f 6e 73 2e | 20 20 49 66 20 79 6f 75 |ussions.| If you|
|00000420| 20 64 6f 6e 27 74 20 6b | 6e 6f 77 20 77 68 61 74 | don't k|now what|
|00000430| 20 61 0d 6e 65 77 73 67 | 72 6f 75 70 20 69 73 2c | a.newsg|roup is,|
|00000440| 20 79 6f 75 20 70 72 6f | 62 61 62 6c 79 20 64 6f | you pro|bably do|
|00000450| 6e 27 74 20 68 61 76 65 | 20 61 63 63 65 73 73 20 |n't have| access |
|00000460| 74 6f 20 69 74 2e 20 20 | 41 73 6b 20 79 6f 75 72 |to it. |Ask your|
|00000470| 20 73 79 73 74 65 6d 73 | 0d 61 64 6d 69 6e 69 73 | systems|.adminis|
|00000480| 74 72 61 74 6f 72 28 73 | 29 20 66 6f 72 20 64 65 |trator(s|) for de|
|00000490| 74 61 69 6c 73 2e 20 20 | 49 66 20 79 6f 75 20 64 |tails. |If you d|
|000004a0| 6f 6e 27 74 20 68 61 76 | 65 20 61 63 63 65 73 73 |on't hav|e access|
|000004b0| 20 74 6f 20 6e 65 77 73 | 2c 20 79 6f 75 20 6d 61 | to news|, you ma|
|000004c0| 79 0d 73 74 69 6c 6c 20 | 62 65 20 61 62 6c 65 20 |y.still |be able |
|000004d0| 74 6f 20 70 6f 73 74 20 | 6d 65 73 73 61 67 65 73 |to post |messages|
|000004e0| 20 74 6f 20 74 68 65 20 | 67 72 6f 75 70 20 62 79 | to the |group by|
|000004f0| 20 75 73 69 6e 67 20 61 | 20 6d 61 69 6c 20 73 65 | using a| mail se|
|00000500| 72 76 65 72 20 6c 69 6b | 65 0d 61 6e 6f 6e 2e 70 |rver lik|e.anon.p|
|00000510| 65 6e 65 74 2e 66 69 20 | 28 6d 61 69 6c 20 68 65 |enet.fi |(mail he|
|00000520| 6c 70 40 61 6e 6f 6e 2e | 70 65 6e 65 74 2e 66 69 |lp@anon.|penet.fi|
|00000530| 20 66 6f 72 20 6d 6f 72 | 65 20 69 6e 66 6f 72 6d | for mor|e inform|
|00000540| 61 74 69 6f 6e 29 2e 0d | 20 0d 45 61 63 68 20 69 |ation)..| .Each i|
|00000550| 73 73 75 65 20 6f 66 20 | 74 68 65 20 64 69 67 65 |ssue of |the dige|
|00000560| 73 74 20 63 6f 6e 74 61 | 69 6e 73 20 6f 6e 65 20 |st conta|ins one |
|00000570| 6f 72 20 6d 6f 72 65 20 | 73 65 74 73 20 6f 66 20 |or more |sets of |
|00000580| 61 72 74 69 63 6c 65 73 | 20 28 63 61 6c 6c 65 64 |articles| (called|
|00000590| 0d 74 68 72 65 61 64 73 | 29 2c 20 77 69 74 68 20 |.threads|), with |
|000005a0| 65 61 63 68 20 73 65 74 | 20 63 6f 72 72 65 73 70 |each set| corresp|
|000005b0| 6f 6e 64 69 6e 67 20 74 | 6f 20 61 20 27 64 69 73 |onding t|o a 'dis|
|000005c0| 63 75 73 73 69 6f 6e 27 | 20 6f 66 20 61 20 70 61 |cussion'| of a pa|
|000005d0| 72 74 69 63 75 6c 61 72 | 0d 73 75 62 6a 65 63 74 |rticular|.subject|
|000005e0| 2e 20 20 54 68 65 20 61 | 72 74 69 63 6c 65 73 20 |. The a|rticles |
|000005f0| 61 72 65 20 6e 6f 74 20 | 65 64 69 74 65 64 3b 20 |are not |edited; |
|00000600| 61 6c 6c 20 61 72 74 69 | 63 6c 65 73 20 69 6e 63 |all arti|cles inc|
|00000610| 6c 75 64 65 64 20 69 6e | 20 74 68 69 73 20 64 69 |luded in| this di|
|00000620| 67 65 73 74 0d 61 72 65 | 20 69 6e 20 74 68 65 69 |gest.are| in thei|
|00000630| 72 20 6f 72 69 67 69 6e | 61 6c 20 70 6f 73 74 65 |r origin|al poste|
|00000640| 64 20 66 6f 72 6d 20 28 | 61 73 20 72 65 63 65 69 |d form (|as recei|
|00000650| 76 65 64 20 62 79 20 6f | 75 72 20 6e 65 77 73 20 |ved by o|ur news |
|00000660| 73 65 72 76 65 72 20 61 | 74 0d 6e 65 66 2e 65 6e |server a|t.nef.en|
|00000670| 73 2e 66 72 29 2e 20 20 | 41 72 74 69 63 6c 65 20 |s.fr). |Article |
|00000680| 74 68 72 65 61 64 73 20 | 61 72 65 20 6e 6f 74 20 |threads |are not |
|00000690| 61 64 64 65 64 20 74 6f | 20 74 68 65 20 64 69 67 |added to| the dig|
|000006a0| 65 73 74 20 75 6e 74 69 | 6c 20 74 68 65 20 6c 61 |est unti|l the la|
|000006b0| 73 74 0d 61 72 74 69 63 | 6c 65 20 61 64 64 65 64 |st.artic|le added|
|000006c0| 20 74 6f 20 74 68 65 20 | 74 68 72 65 61 64 20 69 | to the |thread i|
|000006d0| 73 20 61 74 20 6c 65 61 | 73 74 20 74 77 6f 20 77 |s at lea|st two w|
|000006e0| 65 65 6b 73 20 6f 6c 64 | 20 28 74 68 69 73 20 69 |eeks old| (this i|
|000006f0| 73 20 74 6f 20 65 6e 73 | 75 72 65 20 74 68 61 74 |s to ens|ure that|
|00000700| 0d 74 68 65 20 74 68 72 | 65 61 64 20 69 73 20 64 |.the thr|ead is d|
|00000710| 65 61 64 20 62 65 66 6f | 72 65 20 61 64 64 69 6e |ead befo|re addin|
|00000720| 67 20 69 74 20 74 6f 20 | 74 68 65 20 64 69 67 65 |g it to |the dige|
|00000730| 73 74 29 2e 20 20 41 72 | 74 69 63 6c 65 20 74 68 |st). Ar|ticle th|
|00000740| 72 65 61 64 73 20 74 68 | 61 74 0d 63 6f 6e 73 69 |reads th|at.consi|
|00000750| 73 74 20 6f 66 20 6f 6e | 6c 79 20 6f 6e 65 20 6d |st of on|ly one m|
|00000760| 65 73 73 61 67 65 20 61 | 72 65 20 67 65 6e 65 72 |essage a|re gener|
|00000770| 61 6c 6c 79 20 6e 6f 74 | 20 69 6e 63 6c 75 64 65 |ally not| include|
|00000780| 64 20 69 6e 20 74 68 65 | 20 64 69 67 65 73 74 2e |d in the| digest.|
|00000790| 0d 0d 54 68 65 20 64 69 | 67 65 73 74 20 69 73 20 |..The di|gest is |
|000007a0| 6f 66 66 69 63 69 61 6c | 6c 79 20 64 69 73 74 72 |official|ly distr|
|000007b0| 69 62 75 74 65 64 20 62 | 79 20 74 77 6f 20 6d 65 |ibuted b|y two me|
|000007c0| 61 6e 73 2c 20 62 79 20 | 65 6d 61 69 6c 20 61 6e |ans, by |email an|
|000007d0| 64 20 66 74 70 2e 0d 0d | 49 66 20 79 6f 75 20 77 |d ftp...|If you w|
|000007e0| 61 6e 74 20 74 6f 20 72 | 65 63 65 69 76 65 20 74 |ant to r|eceive t|
|000007f0| 68 65 20 64 69 67 65 73 | 74 20 62 79 20 6d 61 69 |he diges|t by mai|
|00000800| 6c 2c 20 73 65 6e 64 20 | 65 6d 61 69 6c 20 74 6f |l, send |email to|
|00000810| 20 6c 69 73 74 73 65 72 | 76 40 65 6e 73 2e 66 72 | listser|v@ens.fr|
|00000820| 0d 77 69 74 68 20 6e 6f | 20 73 75 62 6a 65 63 74 |.with no| subject|
|00000830| 20 61 6e 64 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 | and one| of the |
|00000840| 66 6f 6c 6c 6f 77 69 6e | 67 20 63 6f 6d 6d 61 6e |followin|g comman|
|00000850| 64 73 20 61 73 20 62 6f | 64 79 3a 0d 20 20 20 20 |ds as bo|dy:. |
|00000860| 68 65 6c 70 09 09 20 20 | 20 20 20 20 20 20 20 20 |help.. | |
|00000870| 20 20 20 20 20 20 53 65 | 6e 64 73 20 79 6f 75 20 | Se|nds you |
|00000880| 61 20 73 75 6d 6d 61 72 | 79 20 6f 66 20 63 6f 6d |a summar|y of com|
|00000890| 6d 61 6e 64 73 0d 20 20 | 20 20 73 75 62 73 63 72 |mands. | subscr|
|000008a0| 69 62 65 20 63 73 6d 70 | 2d 64 69 67 65 73 74 20 |ibe csmp|-digest |
|000008b0| 59 6f 75 72 20 4e 61 6d | 65 09 41 64 64 73 20 79 |Your Nam|e.Adds y|
|000008c0| 6f 75 20 74 6f 20 74 68 | 65 20 6d 61 69 6c 69 6e |ou to th|e mailin|
|000008d0| 67 20 6c 69 73 74 0d 20 | 20 20 20 73 69 67 6e 6f |g list. | signo|
|000008e0| 66 66 20 63 73 6d 70 2d | 64 69 67 65 73 74 09 09 |ff csmp-|digest..|
|000008f0| 09 52 65 6d 6f 76 65 73 | 20 79 6f 75 20 66 72 6f |.Removes| you fro|
|00000900| 6d 20 74 68 65 20 6c 69 | 73 74 0d 4f 6e 63 65 20 |m the li|st.Once |
|00000910| 79 6f 75 20 68 61 76 65 | 20 73 75 62 73 63 72 69 |you have| subscri|
|00000920| 62 65 64 2c 20 79 6f 75 | 20 77 69 6c 6c 20 61 75 |bed, you| will au|
|00000930| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 72 65 63 65 |tomatica|lly rece|
|00000940| 69 76 65 20 65 61 63 68 | 20 6e 65 77 0d 69 73 73 |ive each| new.iss|
|00000950| 75 65 20 61 73 20 69 74 | 20 69 73 20 63 72 65 61 |ue as it| is crea|
|00000960| 74 65 64 2e 0d 0d 54 68 | 65 20 6f 66 66 69 63 69 |ted...Th|e offici|
|00000970| 61 6c 20 66 74 70 20 69 | 6e 66 6f 20 69 73 20 2f |al ftp i|nfo is /|
|00000980| 2f 66 74 70 2e 64 61 72 | 74 6d 6f 75 74 68 2e 65 |/ftp.dar|tmouth.e|
|00000990| 64 75 2f 70 75 62 2f 63 | 73 6d 70 2d 64 69 67 65 |du/pub/c|smp-dige|
|000009a0| 73 74 2e 0d 51 75 65 73 | 74 69 6f 6e 73 20 72 65 |st..Ques|tions re|
|000009b0| 6c 61 74 65 64 20 74 6f | 20 74 68 65 20 66 74 70 |lated to| the ftp|
|000009c0| 20 73 69 74 65 20 73 68 | 6f 75 6c 64 20 62 65 20 | site sh|ould be |
|000009d0| 64 69 72 65 63 74 65 64 | 20 74 6f 0d 73 63 6f 74 |directed| to.scot|
|000009e0| 74 2e 73 69 6c 76 65 72 | 40 64 61 72 74 6d 6f 75 |t.silver|@dartmou|
|000009f0| 74 68 2e 65 64 75 2e 20 | 43 75 72 72 65 6e 74 6c |th.edu. |Currentl|
|00000a00| 79 20 6e 6f 20 70 72 65 | 76 69 6f 75 73 20 76 6f |y no pre|vious vo|
|00000a10| 6c 75 6d 65 73 20 6f 66 | 20 74 68 65 20 43 53 4d |lumes of| the CSM|
|00000a20| 50 0d 64 69 67 65 73 74 | 20 61 72 65 20 61 76 61 |P.digest| are ava|
|00000a30| 69 6c 61 62 6c 65 20 74 | 68 65 72 65 2e 0d 0d 41 |ilable t|here...A|
|00000a40| 6c 73 6f 2c 20 74 68 65 | 20 64 69 67 65 73 74 73 |lso, the| digests|
|00000a50| 20 61 72 65 20 61 76 61 | 69 6c 61 62 6c 65 20 74 | are ava|ilable t|
|00000a60| 6f 20 57 41 49 53 20 75 | 73 65 72 73 2e 20 20 54 |o WAIS u|sers. T|
|00000a70| 6f 20 73 65 61 72 63 68 | 20 62 61 63 6b 20 69 73 |o search| back is|
|00000a80| 73 75 65 73 0d 77 69 74 | 68 20 57 41 49 53 2c 20 |sues.wit|h WAIS, |
|00000a90| 75 73 65 20 63 6f 6d 70 | 2e 73 79 73 2e 6d 61 63 |use comp|.sys.mac|
|00000aa0| 2e 70 72 6f 67 72 61 6d | 6d 65 72 2e 73 72 63 2e |.program|mer.src.|
|00000ab0| 20 57 69 74 68 20 4d 6f | 73 61 69 63 2c 20 75 73 | With Mo|saic, us|
|00000ac0| 65 0d 68 74 74 70 3a 2f | 2f 77 77 77 2e 77 61 69 |e.http:/|/www.wai|
|00000ad0| 73 2e 63 6f 6d 2f 77 61 | 69 73 2d 64 62 73 2f 63 |s.com/wa|is-dbs/c|
|00000ae0| 6f 6d 70 2e 73 79 73 2e | 6d 61 63 2e 70 72 6f 67 |omp.sys.|mac.prog|
|00000af0| 72 61 6d 6d 65 72 2e 68 | 74 6d 6c 2e 0d 0d 0d 2d |rammer.h|tml....-|
|00000b00| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b10| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b30| 2d 2d 2d 2d 2d 2d 0d 0d | 3e 46 72 6f 6d 20 63 68 |------..|>From ch|
|00000b40| 72 69 73 73 40 6d 69 63 | 72 6f 77 61 72 65 2e 63 |riss@mic|roware.c|
|00000b50| 6f 6d 20 28 43 68 72 69 | 73 20 53 65 76 65 72 74 |om (Chri|s Severt|
|00000b60| 73 6f 6e 29 0d 53 75 62 | 6a 65 63 74 3a 20 44 65 |son).Sub|ject: De|
|00000b70| 74 65 63 74 69 6e 67 20 | 41 70 70 6c 65 20 45 76 |tecting |Apple Ev|
|00000b80| 65 6e 74 73 20 6f 6e 20 | 6c 61 75 6e 63 68 3f 0d |ents on |launch?.|
|00000b90| 44 61 74 65 3a 20 57 65 | 64 2c 20 32 30 20 4a 75 |Date: We|d, 20 Ju|
|00000ba0| 6c 20 31 39 39 34 20 31 | 33 3a 34 34 3a 30 39 20 |l 1994 1|3:44:09 |
|00000bb0| 47 4d 54 0d 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |GMT.Orga|nization|
|00000bc0| 3a 20 4d 69 63 72 6f 77 | 61 72 65 20 53 79 73 74 |: Microw|are Syst|
|00000bd0| 65 6d 73 20 43 6f 72 70 | 2e 2c 20 44 65 73 20 4d |ems Corp|., Des M|
|00000be0| 6f 69 6e 65 73 2c 20 49 | 6f 77 61 0d 0d 0d 49 20 |oines, I|owa...I |
|00000bf0| 68 61 76 65 20 6a 75 73 | 74 20 61 64 64 65 64 20 |have jus|t added |
|00000c00| 73 75 70 70 6f 72 74 20 | 66 6f 72 20 74 68 65 20 |support |for the |
|00000c10| 63 6f 72 65 20 61 70 70 | 6c 65 20 65 76 65 6e 74 |core app|le event|
|00000c20| 73 20 74 6f 20 61 20 68 | 6f 62 62 79 0d 61 70 70 |s to a h|obby.app|
|00000c30| 6c 69 63 61 74 69 6f 6e | 20 6f 66 20 6d 69 6e 65 |lication| of mine|
|00000c40| 20 61 6e 64 20 74 68 65 | 79 20 77 6f 72 6b 20 67 | and the|y work g|
|00000c50| 72 65 61 74 21 20 20 49 | 20 61 6d 20 63 6f 6e 63 |reat! I| am conc|
|00000c60| 65 72 6e 65 64 2c 20 68 | 6f 77 65 76 65 72 2c 0d |erned, h|owever,.|
|00000c70| 61 62 6f 75 74 20 64 65 | 74 65 63 74 69 6e 67 20 |about de|tecting |
|00000c80| 61 70 70 6c 65 20 65 76 | 65 6e 74 73 20 75 70 6f |apple ev|ents upo|
|00000c90| 6e 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 6c 61 |n applic|ation la|
|00000ca0| 75 6e 63 68 2e 20 20 57 | 68 65 6e 20 6d 79 0d 61 |unch. W|hen my.a|
|00000cb0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 69 73 20 6c 61 |pplicati|on is la|
|00000cc0| 75 6e 63 68 65 64 2c 20 | 69 74 20 63 72 65 61 74 |unched, |it creat|
|00000cd0| 65 73 20 61 6e 20 75 6e | 74 69 74 6c 65 64 20 64 |es an un|titled d|
|00000ce0| 6f 63 75 6d 65 6e 74 20 | 77 69 6e 64 6f 77 2c 20 |ocument |window, |
|00000cf0| 61 6e 64 0d 69 66 20 74 | 68 65 20 61 70 70 6c 69 |and.if t|he appli|
|00000d00| 63 61 74 69 6f 6e 20 77 | 61 73 20 6c 61 75 6e 63 |cation w|as launc|
|00000d10| 68 65 64 20 62 65 63 61 | 75 73 65 20 73 6f 6d 65 |hed beca|use some|
|00000d20| 6f 6e 65 20 64 6f 75 62 | 6c 65 2d 63 6c 69 63 6b |one doub|le-click|
|00000d30| 65 64 20 6f 6e 65 20 6f | 66 0d 69 74 73 20 64 6f |ed one o|f.its do|
|00000d40| 63 75 6d 65 6e 74 73 20 | 69 6e 20 74 68 65 20 66 |cuments |in the f|
|00000d50| 69 6e 64 65 72 2c 20 74 | 68 65 6e 20 49 20 64 6f |inder, t|hen I do|
|00000d60| 20 6e 6f 74 20 77 61 6e | 74 20 74 68 65 20 61 70 | not wan|t the ap|
|00000d70| 70 6c 69 63 61 74 69 6f | 6e 20 74 6f 0d 63 72 65 |plicatio|n to.cre|
|00000d80| 61 74 65 20 74 68 69 73 | 20 75 6e 74 69 74 6c 65 |ate this| untitle|
|00000d90| 64 20 64 6f 63 75 6d 65 | 6e 74 2e 0d 0d 49 20 74 |d docume|nt...I t|
|00000da0| 72 69 65 64 20 75 73 69 | 6e 67 20 45 76 65 6e 74 |ried usi|ng Event|
|00000db0| 41 76 61 69 6c 28 68 69 | 67 68 4c 45 76 65 6c 45 |Avail(hi|ghLEvelE|
|00000dc0| 76 65 6e 74 4d 61 73 6b | 2c 20 65 76 74 50 74 72 |ventMask|, evtPtr|
|00000dd0| 29 20 62 65 66 6f 72 65 | 20 65 6e 74 65 72 69 6e |) before| enterin|
|00000de0| 67 0d 6d 79 20 6d 61 69 | 6e 20 65 76 65 6e 74 20 |g.my mai|n event |
|00000df0| 6c 6f 6f 70 20 74 6f 20 | 64 65 74 65 63 74 20 74 |loop to |detect t|
|00000e00| 68 69 73 2c 20 62 75 74 | 20 69 74 20 61 6c 77 61 |his, but| it alwa|
|00000e10| 79 73 20 74 65 6c 6c 73 | 20 6d 65 20 74 68 65 72 |ys tells| me ther|
|00000e20| 65 20 61 72 65 20 6e 6f | 0d 70 65 6e 64 69 6e 67 |e are no|.pending|
|00000e30| 20 68 69 67 68 2d 6c 65 | 76 65 6c 20 65 76 65 6e | high-le|vel even|
|00000e40| 74 73 2e 0d 0d 49 73 20 | 74 68 65 72 65 20 61 20 |ts...Is |there a |
|00000e50| 62 65 74 74 65 72 20 77 | 61 79 20 74 6f 20 64 65 |better w|ay to de|
|00000e60| 74 65 63 74 20 69 66 20 | 79 6f 75 20 77 65 72 65 |tect if |you were|
|00000e70| 20 6c 61 75 6e 63 68 65 | 64 20 62 65 63 61 75 73 | launche|d becaus|
|00000e80| 65 20 61 20 75 73 65 72 | 0d 64 6f 75 62 6c 65 2d |e a user|.double-|
|00000e90| 63 6c 69 63 6b 65 64 20 | 6f 6e 65 20 6f 66 20 79 |clicked |one of y|
|00000ea0| 6f 75 72 20 64 6f 63 75 | 6d 65 6e 74 73 20 69 6e |our docu|ments in|
|00000eb0| 20 74 68 65 20 46 69 6e | 64 65 72 3f 20 28 49 20 | the Fin|der? (I |
|00000ec0| 77 61 6e 74 20 74 6f 20 | 64 65 74 65 63 74 0d 74 |want to |detect.t|
|00000ed0| 68 69 73 20 62 65 66 6f | 72 65 20 49 20 65 6e 74 |his befo|re I ent|
|00000ee0| 65 72 20 6d 79 20 6d 61 | 69 6e 20 65 76 65 6e 74 |er my ma|in event|
|00000ef0| 20 6c 6f 6f 70 29 2e 0d | 0d 0d 41 6c 6c 20 68 65 | loop)..|..All he|
|00000f00| 6c 70 20 69 73 20 67 72 | 65 61 74 6c 79 20 61 70 |lp is gr|eatly ap|
|00000f10| 70 72 65 63 69 61 74 65 | 64 2c 0d 0d 43 68 72 69 |preciate|d,..Chri|
|00000f20| 73 0d 63 68 72 69 73 73 | 40 6d 69 63 72 6f 77 61 |s.chriss|@microwa|
|00000f30| 72 65 2e 63 6f 6d 0d 0d | 0d 2b 2b 2b 2b 2b 2b 2b |re.com..|.+++++++|
|00000f40| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00000f50| 2b 2b 2b 2b 0d 0d 3e 46 | 72 6f 6d 20 6a 77 62 61 |++++..>F|rom jwba|
|00000f60| 78 74 65 72 40 6f 6c 79 | 6d 70 75 73 2e 6e 65 74 |xter@oly|mpus.net|
|00000f70| 20 28 4a 6f 68 6e 20 57 | 2e 20 42 61 78 74 65 72 | (John W|. Baxter|
|00000f80| 29 0d 44 61 74 65 3a 20 | 57 65 64 2c 20 32 30 20 |).Date: |Wed, 20 |
|00000f90| 4a 75 6c 20 31 39 39 34 | 20 30 39 3a 33 35 3a 31 |Jul 1994| 09:35:1|
|00000fa0| 30 20 2d 30 37 30 30 0d | 4f 72 67 61 6e 69 7a 61 |0 -0700.|Organiza|
|00000fb0| 74 69 6f 6e 3a 20 49 6e | 74 65 72 6e 65 74 20 66 |tion: In|ternet f|
|00000fc0| 6f 72 20 74 68 65 20 4f | 6c 79 6d 70 69 63 20 50 |or the O|lympic P|
|00000fd0| 65 6e 69 6e 73 75 6c 61 | 0d 0d 49 6e 20 61 72 74 |eninsula|..In art|
|00000fe0| 69 63 6c 65 20 3c 31 39 | 39 34 4a 75 6c 32 30 2e |icle <19|94Jul20.|
|00000ff0| 31 33 34 34 30 39 2e 32 | 37 37 36 30 40 6d 69 63 |134409.2|7760@mic|
|00001000| 72 6f 77 61 72 65 2e 63 | 6f 6d 3e 2c 20 63 68 72 |roware.c|om>, chr|
|00001010| 69 73 73 40 6d 69 63 72 | 6f 77 61 72 65 2e 63 6f |iss@micr|oware.co|
|00001020| 6d 0d 28 43 68 72 69 73 | 20 53 65 76 65 72 74 73 |m.(Chris| Severts|
|00001030| 6f 6e 29 20 77 72 6f 74 | 65 3a 0d 0d 3e 20 49 20 |on) wrot|e:..> I |
|00001040| 68 61 76 65 20 6a 75 73 | 74 20 61 64 64 65 64 20 |have jus|t added |
|00001050| 73 75 70 70 6f 72 74 20 | 66 6f 72 20 74 68 65 20 |support |for the |
|00001060| 63 6f 72 65 20 61 70 70 | 6c 65 20 65 76 65 6e 74 |core app|le event|
|00001070| 73 20 74 6f 20 61 20 68 | 6f 62 62 79 0d 3e 20 61 |s to a h|obby.> a|
|00001080| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6f 66 20 6d 69 |pplicati|on of mi|
|00001090| 6e 65 20 61 6e 64 20 74 | 68 65 79 20 77 6f 72 6b |ne and t|hey work|
|000010a0| 20 67 72 65 61 74 21 20 | 20 49 20 61 6d 20 63 6f | great! | I am co|
|000010b0| 6e 63 65 72 6e 65 64 2c | 20 68 6f 77 65 76 65 72 |ncerned,| however|
|000010c0| 2c 0d 3e 20 61 62 6f 75 | 74 20 64 65 74 65 63 74 |,.> abou|t detect|
|000010d0| 69 6e 67 20 61 70 70 6c | 65 20 65 76 65 6e 74 73 |ing appl|e events|
|000010e0| 20 75 70 6f 6e 20 61 70 | 70 6c 69 63 61 74 69 6f | upon ap|plicatio|
|000010f0| 6e 20 6c 61 75 6e 63 68 | 2e 20 20 57 68 65 6e 20 |n launch|. When |
|00001100| 6d 79 0d 3e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |my.> app|lication|
|00001110| 20 69 73 20 6c 61 75 6e | 63 68 65 64 2c 20 69 74 | is laun|ched, it|
|00001120| 20 63 72 65 61 74 65 73 | 20 61 6e 20 75 6e 74 69 | creates| an unti|
|00001130| 74 6c 65 64 20 64 6f 63 | 75 6d 65 6e 74 20 77 69 |tled doc|ument wi|
|00001140| 6e 64 6f 77 2c 20 61 6e | 64 0d 3e 20 69 66 20 74 |ndow, an|d.> if t|
|00001150| 68 65 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 77 |he appli|cation w|
|00001160| 61 73 20 6c 61 75 6e 63 | 68 65 64 20 62 65 63 61 |as launc|hed beca|
|00001170| 75 73 65 20 73 6f 6d 65 | 6f 6e 65 20 64 6f 75 62 |use some|one doub|
|00001180| 6c 65 2d 63 6c 69 63 6b | 65 64 20 6f 6e 65 20 6f |le-click|ed one o|
|00001190| 66 0d 3e 20 69 74 73 20 | 64 6f 63 75 6d 65 6e 74 |f.> its |document|
|000011a0| 73 20 69 6e 20 74 68 65 | 20 66 69 6e 64 65 72 2c |s in the| finder,|
|000011b0| 20 74 68 65 6e 20 49 20 | 64 6f 20 6e 6f 74 20 77 | then I |do not w|
|000011c0| 61 6e 74 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |ant the |applicat|
|000011d0| 69 6f 6e 20 74 6f 0d 3e | 20 63 72 65 61 74 65 20 |ion to.>| create |
|000011e0| 74 68 69 73 20 75 6e 74 | 69 74 6c 65 64 20 64 6f |this unt|itled do|
|000011f0| 63 75 6d 65 6e 74 2e 0d | 3e 20 0d 3e 20 49 20 74 |cument..|> .> I t|
|00001200| 72 69 65 64 20 75 73 69 | 6e 67 20 45 76 65 6e 74 |ried usi|ng Event|
|00001210| 41 76 61 69 6c 28 68 69 | 67 68 4c 45 76 65 6c 45 |Avail(hi|ghLEvelE|
|00001220| 76 65 6e 74 4d 61 73 6b | 2c 20 65 76 74 50 74 72 |ventMask|, evtPtr|
|00001230| 29 20 62 65 66 6f 72 65 | 20 65 6e 74 65 72 69 6e |) before| enterin|
|00001240| 67 0d 3e 20 6d 79 20 6d | 61 69 6e 20 65 76 65 6e |g.> my m|ain even|
|00001250| 74 20 6c 6f 6f 70 20 74 | 6f 20 64 65 74 65 63 74 |t loop t|o detect|
|00001260| 20 74 68 69 73 2c 20 62 | 75 74 20 69 74 20 61 6c | this, b|ut it al|
|00001270| 77 61 79 73 20 74 65 6c | 6c 73 20 6d 65 20 74 68 |ways tel|ls me th|
|00001280| 65 72 65 20 61 72 65 20 | 6e 6f 0d 3e 20 70 65 6e |ere are |no.> pen|
|00001290| 64 69 6e 67 20 68 69 67 | 68 2d 6c 65 76 65 6c 20 |ding hig|h-level |
|000012a0| 65 76 65 6e 74 73 2e 0d | 3e 20 0d 3e 20 49 73 20 |events..|> .> Is |
|000012b0| 74 68 65 72 65 20 61 20 | 62 65 74 74 65 72 20 77 |there a |better w|
|000012c0| 61 79 20 74 6f 20 64 65 | 74 65 63 74 20 69 66 20 |ay to de|tect if |
|000012d0| 79 6f 75 20 77 65 72 65 | 20 6c 61 75 6e 63 68 65 |you were| launche|
|000012e0| 64 20 62 65 63 61 75 73 | 65 20 61 20 75 73 65 72 |d becaus|e a user|
|000012f0| 0d 3e 20 64 6f 75 62 6c | 65 2d 63 6c 69 63 6b 65 |.> doubl|e-clicke|
|00001300| 64 20 6f 6e 65 20 6f 66 | 20 79 6f 75 72 20 64 6f |d one of| your do|
|00001310| 63 75 6d 65 6e 74 73 20 | 69 6e 20 74 68 65 20 46 |cuments |in the F|
|00001320| 69 6e 64 65 72 3f 20 28 | 49 20 77 61 6e 74 20 74 |inder? (|I want t|
|00001330| 6f 20 64 65 74 65 63 74 | 0d 3e 20 74 68 69 73 20 |o detect|.> this |
|00001340| 62 65 66 6f 72 65 20 49 | 20 65 6e 74 65 72 20 6d |before I| enter m|
|00001350| 79 20 6d 61 69 6e 20 65 | 76 65 6e 74 20 6c 6f 6f |y main e|vent loo|
|00001360| 70 29 2e 0d 0d 54 68 69 | 73 20 69 73 20 70 72 65 |p)...Thi|s is pre|
|00001370| 74 74 79 20 77 65 6c 6c | 20 73 70 65 6c 6c 65 64 |tty well| spelled|
|00001380| 20 6f 75 74 20 69 6e 20 | 49 6e 73 69 64 65 20 4d | out in |Inside M|
|00001390| 61 63 3a 20 49 6e 74 65 | 72 61 70 70 6c 69 63 61 |ac: Inte|rapplica|
|000013a0| 74 69 6f 6e 20 43 6f 6d | 6d 75 6e 69 63 61 74 69 |tion Com|municati|
|000013b0| 6f 6e 2e 0d 0d 42 72 69 | 65 66 6c 79 3a 20 20 69 |on...Bri|efly: i|
|000013c0| 66 20 41 70 70 6c 65 20 | 65 76 65 6e 74 73 20 61 |f Apple |events a|
|000013d0| 72 65 20 6e 6f 74 20 69 | 6d 70 6c 65 6d 65 6e 74 |re not i|mplement|
|000013e0| 65 64 20 28 69 65 2c 20 | 79 6f 75 20 73 74 69 6c |ed (ie, |you stil|
|000013f0| 6c 20 73 75 70 70 6f 72 | 74 0d 61 72 63 68 69 61 |l suppor|t.archia|
|00001400| 63 20 70 72 65 2d 37 20 | 53 79 73 74 65 6d 73 29 |c pre-7 |Systems)|
|00001410| 2c 20 64 6f 20 74 68 65 | 20 6f 6c 64 20 74 68 69 |, do the| old thi|
|00001420| 6e 67 20 77 69 74 68 20 | 74 68 65 20 61 70 70 6c |ng with |the appl|
|00001430| 69 63 61 74 69 6f 6e 20 | 70 61 72 61 6d 65 74 65 |ication |paramete|
|00001440| 72 73 2e 0d 0d 49 66 20 | 41 70 70 6c 65 20 65 76 |rs...If |Apple ev|
|00001450| 65 6e 74 73 20 41 52 45 | 20 69 6d 70 6c 65 6d 65 |ents ARE| impleme|
|00001460| 6e 74 65 64 2c 20 77 68 | 65 6e 20 79 6f 75 72 20 |nted, wh|en your |
|00001470| 70 72 6f 67 72 61 6d 20 | 69 73 20 6c 61 75 6e 63 |program |is launc|
|00001480| 68 65 64 20 6a 75 73 74 | 20 64 6f 0d 79 6f 75 72 |hed just| do.your|
|00001490| 20 6e 6f 2d 6d 61 74 74 | 65 72 2d 77 68 61 74 20 | no-matt|er-what |
|000014a0| 69 6e 69 74 69 61 6c 69 | 7a 61 74 69 6f 6e 2e 20 |initiali|zation. |
|000014b0| 20 53 68 6f 72 74 6c 79 | 2c 20 79 6f 75 20 77 69 | Shortly|, you wi|
|000014c0| 6c 6c 20 72 65 63 65 69 | 76 65 20 6f 6e 65 20 6f |ll recei|ve one o|
|000014d0| 66 3a 0d 20 20 20 27 61 | 65 76 74 27 2f 27 6f 61 |f:. 'a|evt'/'oa|
|000014e0| 70 70 27 20 20 20 6d 65 | 61 6e 69 6e 67 3a 20 20 |pp' me|aning: |
|000014f0| 79 6f 75 72 20 61 70 70 | 20 77 61 73 20 64 6f 75 |your app| was dou|
|00001500| 62 6c 65 2d 63 6c 69 63 | 6b 65 64 20 6f 6e 20 28 |ble-clic|ked on (|
|00001510| 6f 72 20 79 6f 75 20 73 | 68 6f 75 6c 64 0d 61 63 |or you s|hould.ac|
|00001520| 74 20 74 68 61 74 20 77 | 61 79 29 0d 20 20 20 27 |t that w|ay). '|
|00001530| 61 65 76 74 27 2f 27 6f | 64 6f 63 27 20 20 20 6d |aevt'/'o|doc' m|
|00001540| 65 61 6e 69 6e 67 3a 20 | 20 74 68 65 20 75 73 65 |eaning: | the use|
|00001550| 72 20 77 61 6e 74 73 20 | 79 6f 75 20 74 6f 20 6f |r wants |you to o|
|00001560| 70 65 6e 20 74 68 65 73 | 65 20 64 6f 63 75 6d 65 |pen thes|e docume|
|00001570| 6e 74 73 0d 20 20 20 27 | 61 65 76 74 27 2f 27 70 |nts. '|aevt'/'p|
|00001580| 64 6f 63 27 20 20 20 6d | 65 61 6e 69 6e 67 3a 20 |doc' m|eaning: |
|00001590| 20 74 68 65 20 75 73 65 | 72 20 77 61 6e 74 73 20 | the use|r wants |
|000015a0| 79 6f 75 20 74 6f 20 70 | 72 69 6e 74 20 74 68 65 |you to p|rint the|
|000015b0| 73 65 20 64 6f 63 75 6d | 65 6e 74 73 2c 0d 62 75 |se docum|ents,.bu|
|000015c0| 67 67 69 6e 67 20 68 69 | 6d 2f 68 65 72 20 61 73 |gging hi|m/her as|
|000015d0| 20 6c 69 74 74 6c 65 20 | 61 73 20 70 6f 73 73 69 | little |as possi|
|000015e0| 62 6c 65 0d 0d 59 6f 75 | 27 6c 6c 20 6f 6e 6c 79 |ble..You|'ll only|
|000015f0| 20 67 65 74 20 6f 6e 65 | 20 6f 66 20 74 68 65 73 | get one| of thes|
|00001600| 65 20 61 73 20 74 68 65 | 20 61 66 74 65 72 6d 61 |e as the| afterma|
|00001610| 74 68 20 6f 66 20 62 65 | 69 6e 67 20 6c 61 75 6e |th of be|ing laun|
|00001620| 63 68 65 64 2e 20 20 54 | 68 61 74 27 73 0d 68 6f |ched. T|hat's.ho|
|00001630| 77 20 79 6f 75 20 64 65 | 63 69 64 65 20 77 68 65 |w you de|cide whe|
|00001640| 74 68 65 72 20 74 6f 20 | 6f 70 65 6e 20 61 6e 20 |ther to |open an |
|00001650| 75 6e 74 69 74 6c 65 64 | 20 64 6f 63 75 6d 65 6e |untitled| documen|
|00001660| 74 2e 20 20 5b 59 6f 75 | 20 63 61 6e 20 72 65 63 |t. [You| can rec|
|00001670| 65 69 76 65 0d 27 6f 64 | 6f 63 27 20 61 6e 64 20 |eive.'od|oc' and |
|00001680| 27 70 64 6f 63 27 20 6c | 61 74 65 72 2c 20 74 6f |'pdoc' l|ater, to|
|00001690| 6f 2e 5d 0d 0d 49 66 20 | 46 69 6e 64 65 72 20 77 |o.]..If |Finder w|
|000016a0| 61 6e 74 73 20 79 6f 75 | 20 74 6f 20 71 75 69 74 |ants you| to quit|
|000016b0| 20 61 66 74 65 72 20 70 | 72 69 6e 74 69 6e 67 20 | after p|rinting |
|000016c0| 61 73 20 74 68 65 20 72 | 65 73 75 6c 74 20 6f 66 |as the r|esult of|
|000016d0| 20 61 20 27 70 64 6f 63 | 27 2c 20 69 74 0d 77 69 | a 'pdoc|', it.wi|
|000016e0| 6c 6c 20 73 65 6e 64 20 | 61 6e 20 27 61 65 76 74 |ll send |an 'aevt|
|000016f0| 27 2f 27 71 75 69 74 27 | 20 65 76 65 6e 74 2e 20 |'/'quit'| event. |
|00001700| 20 49 74 20 64 6f 65 73 | 20 74 68 61 74 20 69 66 | It does| that if|
|00001710| 20 79 6f 75 72 20 61 70 | 70 20 77 61 73 20 6e 6f | your ap|p was no|
|00001720| 74 0d 72 75 6e 6e 69 6e | 67 20 77 68 65 6e 20 74 |t.runnin|g when t|
|00001730| 68 65 20 75 73 65 72 20 | 61 73 6b 65 64 20 46 69 |he user |asked Fi|
|00001740| 6e 64 65 72 20 74 6f 20 | 70 72 69 6e 74 20 74 68 |nder to |print th|
|00001750| 65 20 64 6f 63 75 6d 65 | 6e 74 2e 0d 20 20 20 2d |e docume|nt.. -|
|00001760| 2d 4a 6f 68 6e 0d 0d 2d | 2d 20 0d 4a 6f 68 6e 20 |-John..-|- .John |
|00001770| 42 61 78 74 65 72 20 20 | 20 20 50 6f 72 74 20 4c |Baxter | Port L|
|00001780| 75 64 6c 6f 77 2c 20 57 | 41 2c 20 55 53 41 20 20 |udlow, W|A, USA |
|00001790| 5b 57 65 73 74 20 73 68 | 6f 72 65 2c 20 50 75 67 |[West sh|ore, Pug|
|000017a0| 65 74 20 53 6f 75 6e 64 | 5d 0d 20 20 20 4e 6f 20 |et Sound|]. No |
|000017b0| 68 61 62 6c 6f 20 49 6e | 74 65 6c 2e 0d 20 20 20 |hablo In|tel.. |
|000017c0| 6a 77 62 61 78 74 65 72 | 40 70 74 2e 6f 6c 79 6d |jwbaxter|@pt.olym|
|000017d0| 70 75 73 2e 6e 65 74 0d | 0d 2b 2b 2b 2b 2b 2b 2b |pus.net.|.+++++++|
|000017e0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000017f0| 2b 2b 2b 2b 0d 0d 3e 46 | 72 6f 6d 20 6a 63 61 76 |++++..>F|rom jcav|
|00001800| 40 6b 69 6d 62 61 72 6b | 2e 75 63 68 69 63 61 67 |@kimbark|.uchicag|
|00001810| 6f 2e 65 64 75 20 28 4a | 6f 68 6e 43 29 0d 44 61 |o.edu (J|ohnC).Da|
|00001820| 74 65 3a 20 54 68 75 2c | 20 32 31 20 4a 75 6c 20 |te: Thu,| 21 Jul |
|00001830| 31 39 39 34 20 30 35 3a | 31 37 3a 31 35 20 47 4d |1994 05:|17:15 GM|
|00001840| 54 0d 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|00001850| 54 68 65 20 52 6f 79 61 | 6c 20 53 6f 63 69 65 74 |The Roya|l Societ|
|00001860| 79 20 66 6f 72 20 50 75 | 74 74 69 6e 67 20 54 68 |y for Pu|tting Th|
|00001870| 69 6e 67 73 20 6f 6e 20 | 54 6f 70 20 6f 66 20 4f |ings on |Top of O|
|00001880| 74 68 65 72 20 54 68 69 | 6e 67 73 0d 0d 49 6e 20 |ther Thi|ngs..In |
|00001890| 61 72 74 69 63 6c 65 20 | 3c 31 39 39 34 4a 75 6c |article |<1994Jul|
|000018a0| 32 30 2e 31 33 34 34 30 | 39 2e 32 37 37 36 30 40 |20.13440|9.27760@|
|000018b0| 6d 69 63 72 6f 77 61 72 | 65 2e 63 6f 6d 3e 20 63 |microwar|e.com> c|
|000018c0| 68 72 69 73 73 40 6d 69 | 63 72 6f 77 61 72 65 2e |hriss@mi|croware.|
|000018d0| 63 6f 6d 20 28 43 68 72 | 69 73 20 53 65 76 65 72 |com (Chr|is Sever|
|000018e0| 74 73 6f 6e 29 20 77 72 | 69 74 65 73 3a 0d 3e 49 |tson) wr|ites:.>I|
|000018f0| 20 68 61 76 65 20 6a 75 | 73 74 20 61 64 64 65 64 | have ju|st added|
|00001900| 20 73 75 70 70 6f 72 74 | 20 66 6f 72 20 74 68 65 | support| for the|
|00001910| 20 63 6f 72 65 20 61 70 | 70 6c 65 20 65 76 65 6e | core ap|ple even|
|00001920| 74 73 20 74 6f 20 61 20 | 68 6f 62 62 79 0d 3e 61 |ts to a |hobby.>a|
|00001930| 70 70 6c 69 63 61 74 69 | 6f 6e 20 6f 66 20 6d 69 |pplicati|on of mi|
|00001940| 6e 65 20 61 6e 64 20 74 | 68 65 79 20 77 6f 72 6b |ne and t|hey work|
|00001950| 20 67 72 65 61 74 21 0d | 0d 43 6f 6f 6c 2e 20 20 | great!.|.Cool. |
|00001960| 44 69 64 20 79 6f 75 20 | 64 6f 20 69 74 20 62 79 |Did you |do it by|
|00001970| 20 69 6e 73 74 61 6c 6c | 69 6e 67 20 65 76 65 6e | install|ing even|
|00001980| 74 20 68 61 6e 64 6c 65 | 72 73 20 76 69 61 20 74 |t handle|rs via t|
|00001990| 68 65 20 41 70 70 6c 65 | 20 45 76 65 6e 74 0d 4d |he Apple| Event.M|
|000019a0| 61 6e 61 67 65 72 3f 0d | 0d 3e 49 20 61 6d 20 63 |anager?.|.>I am c|
|000019b0| 6f 6e 63 65 72 6e 65 64 | 2c 20 68 6f 77 65 76 65 |oncerned|, howeve|
|000019c0| 72 2c 20 61 62 6f 75 74 | 20 64 65 74 65 63 74 69 |r, about| detecti|
|000019d0| 6e 67 20 61 70 70 6c 65 | 20 65 76 65 6e 74 73 20 |ng apple| events |
|000019e0| 75 70 6f 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |upon app|lication|
|000019f0| 0d 3e 6c 61 75 6e 63 68 | 2e 0d 3e 0d 3e 49 73 20 |.>launch|..>.>Is |
|00001a00| 74 68 65 72 65 20 61 20 | 62 65 74 74 65 72 20 77 |there a |better w|
|00001a10| 61 79 20 74 6f 20 64 65 | 74 65 63 74 20 69 66 20 |ay to de|tect if |
|00001a20| 79 6f 75 20 77 65 72 65 | 20 6c 61 75 6e 63 68 65 |you were| launche|
|00001a30| 64 20 62 65 63 61 75 73 | 65 20 61 20 75 73 65 72 |d becaus|e a user|
|00001a40| 0d 3e 64 6f 75 62 6c 65 | 2d 63 6c 69 63 6b 65 64 |.>double|-clicked|
|00001a50| 20 6f 6e 65 20 6f 66 20 | 79 6f 75 72 20 64 6f 63 | one of |your doc|
|00001a60| 75 6d 65 6e 74 73 20 69 | 6e 20 74 68 65 20 46 69 |uments i|n the Fi|
|00001a70| 6e 64 65 72 3f 20 28 49 | 20 77 61 6e 74 20 74 6f |nder? (I| want to|
|00001a80| 20 64 65 74 65 63 74 0d | 3e 74 68 69 73 20 62 65 | detect.|>this be|
|00001a90| 66 6f 72 65 20 49 20 65 | 6e 74 65 72 20 6d 79 20 |fore I e|nter my |
|00001aa0| 6d 61 69 6e 20 65 76 65 | 6e 74 20 6c 6f 6f 70 29 |main eve|nt loop)|
|00001ab0| 2e 0d 0d 57 48 59 20 64 | 6f 20 79 6f 75 20 77 61 |...WHY d|o you wa|
|00001ac0| 6e 74 20 74 6f 20 64 6f | 20 69 74 20 62 65 66 6f |nt to do| it befo|
|00001ad0| 72 65 20 74 68 65 20 6d | 61 69 6e 20 65 76 65 6e |re the m|ain even|
|00001ae0| 74 20 6c 6f 6f 70 3f 20 | 20 57 68 79 20 6e 6f 74 |t loop? | Why not|
|00001af0| 20 64 6f 20 69 74 20 61 | 73 20 41 70 70 6c 65 0d | do it a|s Apple.|
|00001b00| 69 6e 74 65 6e 64 65 64 | 3a 20 20 2d 49 6e 69 74 |intended|: -Init|
|00001b10| 69 61 6c 69 7a 65 20 28 | 69 6e 73 74 61 6c 6c 69 |ialize (|installi|
|00001b20| 6e 67 20 79 6f 75 72 20 | 41 70 70 6c 65 20 45 76 |ng your |Apple Ev|
|00001b30| 65 6e 74 20 68 61 6e 64 | 6c 65 72 73 29 0d 20 20 |ent hand|lers). |
|00001b40| 20 20 20 20 20 20 20 20 | 20 2d 53 74 61 72 74 20 | | -Start |
|00001b50| 79 6f 75 72 20 65 76 65 | 6e 20 6c 6f 6f 70 0d 20 |your eve|n loop. |
|00001b60| 20 20 20 20 20 20 20 20 | 20 20 2d 70 61 73 73 20 | | -pass |
|00001b70| 65 61 63 68 20 68 69 67 | 68 2d 6c 65 76 65 6c 20 |each hig|h-level |
|00001b80| 65 76 65 6e 74 20 74 6f | 20 41 45 50 72 6f 63 65 |event to| AEProce|
|00001b90| 73 73 41 70 70 6c 65 45 | 76 65 6e 74 0d 0d 49 66 |ssAppleE|vent..If|
|00001ba0| 20 74 68 65 20 46 69 6e | 64 65 72 20 6c 61 75 6e | the Fin|der laun|
|00001bb0| 63 68 65 73 20 79 6f 75 | 2c 20 79 6f 75 20 61 72 |ches you|, you ar|
|00001bc0| 65 20 67 75 61 72 61 6e | 74 65 65 64 20 74 6f 20 |e guaran|teed to |
|00001bd0| 67 65 74 20 45 49 54 48 | 45 52 20 61 6e 0d 4f 70 |get EITH|ER an.Op|
|00001be0| 65 6e 44 6f 63 75 6d 65 | 6e 74 73 20 65 76 65 6e |enDocume|nts even|
|00001bf0| 74 20 4f 52 20 61 6e 20 | 4f 70 65 6e 41 70 70 6c |t OR an |OpenAppl|
|00001c00| 69 63 61 74 69 6f 6e 20 | 65 76 65 6e 74 2c 20 4e |ication |event, N|
|00001c10| 4f 54 20 62 6f 74 68 2e | 20 20 59 6f 75 72 0d 4f |OT both.| Your.O|
|00001c20| 70 65 6e 41 70 70 6c 69 | 63 61 74 69 6f 6e 20 68 |penAppli|cation h|
|00001c30| 61 6e 64 6c 65 72 20 70 | 75 74 73 20 75 70 20 61 |andler p|uts up a|
|00001c40| 6e 20 75 6e 74 69 74 6c | 65 64 20 77 69 6e 64 6f |n untitl|ed windo|
|00001c50| 77 2c 20 77 68 65 72 65 | 61 73 20 79 6f 75 72 0d |w, where|as your.|
|00001c60| 4f 70 65 6e 44 6f 63 75 | 6d 65 6e 74 73 20 68 61 |OpenDocu|ments ha|
|00001c70| 6e 64 6c 65 72 20 6f 70 | 65 6e 73 20 74 68 65 20 |ndler op|ens the |
|00001c80| 73 70 65 63 69 66 69 65 | 64 20 64 6f 63 75 6d 65 |specifie|d docume|
|00001c90| 6e 74 20 6f 72 20 64 6f | 63 75 6d 65 6e 74 73 20 |nt or do|cuments |
|00001ca0| 62 75 74 20 64 6f 65 73 | 0d 6e 6f 74 20 70 75 74 |but does|.not put|
|00001cb0| 20 75 70 20 61 6e 20 75 | 6e 74 69 74 6c 65 64 20 | up an u|ntitled |
|00001cc0| 77 69 6e 64 6f 77 2e 20 | 59 6f 75 72 20 51 75 69 |window. |Your Qui|
|00001cd0| 74 41 70 70 6c 69 63 61 | 74 69 6f 6e 20 68 61 6e |tApplica|tion han|
|00001ce0| 64 6c 65 72 20 73 65 74 | 73 20 61 20 66 6c 61 67 |dler set|s a flag|
|00001cf0| 20 74 68 61 74 0d 77 69 | 6c 6c 20 63 61 75 73 65 | that.wi|ll cause|
|00001d00| 20 79 6f 75 72 20 65 76 | 65 6e 74 20 6c 6f 6f 70 | your ev|ent loop|
|00001d10| 20 74 6f 20 74 65 72 6d | 69 6e 61 74 65 2e 20 20 | to term|inate. |
|00001d20| 59 6f 75 72 20 50 72 69 | 6e 74 44 6f 63 75 6d 65 |Your Pri|ntDocume|
|00001d30| 6e 74 73 20 68 61 6e 64 | 6c 65 72 20 77 69 6c 6c |nts hand|ler will|
|00001d40| 0d 70 72 69 6e 74 20 74 | 68 65 20 73 70 65 63 69 |.print t|he speci|
|00001d50| 66 69 65 64 20 64 6f 63 | 75 6d 65 6e 74 20 6f 72 |fied doc|ument or|
|00001d60| 20 64 6f 63 75 6d 65 6e | 74 73 2e 20 20 49 74 20 | documen|ts. It |
|00001d70| 72 65 61 6c 6c 79 20 69 | 73 20 6a 75 73 74 20 61 |really i|s just a|
|00001d80| 62 6f 75 74 20 74 68 61 | 74 0d 73 69 6d 70 6c 65 |bout tha|t.simple|
|00001d90| 2e 20 20 54 68 65 72 65 | 20 69 73 20 73 6f 6d 65 |. There| is some|
|00001da0| 20 63 6c 65 61 72 20 73 | 61 6d 70 6c 65 20 63 6f | clear s|ample co|
|00001db0| 64 65 20 69 6e 20 65 69 | 74 68 65 72 20 49 4d 2d |de in ei|ther IM-|
|00001dc0| 36 20 6f 72 0d 49 4d 2d | 49 6e 74 65 72 61 70 70 |6 or.IM-|Interapp|
|00001dd0| 6c 69 63 61 74 69 6f 6e | 20 43 6f 6d 6d 75 6e 69 |lication| Communi|
|00001de0| 63 61 74 69 6f 6e 2e 0d | 0d 0d 2d 2d 20 0d 20 20 |cation..|..-- . |
|00001df0| 5f 5f 5f 5f 5f 5f 20 20 | 20 20 20 4a 6f 68 6e 20 |______ | John |
|00001e00| 43 61 76 61 6c 6c 69 6e | 6f 20 2d 20 42 30 20 66 |Cavallin|o - B0 f|
|00001e10| 2b 2b 20 77 20 63 2b 20 | 67 2b 2b 20 6b 2b 20 73 |++ w c+ |g++ k+ s|
|00001e20| 2b 2b 20 65 20 68 2d 20 | 70 76 0d 20 20 5c 20 20 |++ e h- |pv. \ |
|00001e30| 20 20 2f 20 20 20 20 20 | 71 75 65 65 72 20 70 65 | / |queer pe|
|00001e40| 72 73 6f 6e 20 20 20 20 | 20 20 20 20 20 20 20 20 |rson | |
|00001e50| 20 20 0d 20 20 20 5c 20 | 20 2f 20 20 20 20 20 20 | . \ | / |
|00001e60| 45 4d 61 69 6c 3a 20 6a | 63 61 76 40 6d 69 64 77 |EMail: j|cav@midw|
|00001e70| 61 79 2e 75 63 68 69 63 | 61 67 6f 2e 65 64 75 0d |ay.uchic|ago.edu.|
|00001e80| 20 20 20 20 5c 2f 20 20 | 20 20 20 20 20 49 74 20 | \/ | It |
|00001e90| 73 68 6f 75 6c 64 20 61 | 62 73 75 72 64 6c 79 20 |should a|bsurdly |
|00001ea0| 6f 62 76 69 6f 75 73 20 | 74 68 61 74 20 49 20 73 |obvious |that I s|
|00001eb0| 70 65 61 6b 20 4f 4e 4c | 59 20 66 6f 72 20 6d 79 |peak ONL|Y for my|
|00001ec0| 73 65 6c 66 2e 0d 0d 2b | 2b 2b 2b 2b 2b 2b 2b 2b |self...+|++++++++|
|00001ed0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00001ee0| 2b 2b 0d 0d 3e 46 72 6f | 6d 20 6d 61 74 68 65 77 |++..>Fro|m mathew|
|00001ef0| 73 40 6e 73 39 30 30 30 | 2e 66 75 72 6d 61 6e 2e |s@ns9000|.furman.|
|00001f00| 65 64 75 20 28 4f 77 65 | 6e 20 4d 61 74 68 65 77 |edu (Owe|n Mathew|
|00001f10| 73 29 0d 44 61 74 65 3a | 20 32 31 20 4a 75 6c 20 |s).Date:| 21 Jul |
|00001f20| 31 39 39 34 20 31 35 3a | 30 32 3a 35 36 20 47 4d |1994 15:|02:56 GM|
|00001f30| 54 0d 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |T.Organi|zation: |
|00001f40| 66 75 72 6d 61 6e 20 75 | 6e 69 76 65 72 73 69 74 |furman u|niversit|
|00001f50| 79 20 63 6f 6d 70 75 74 | 69 6e 67 20 63 65 6e 74 |y comput|ing cent|
|00001f60| 65 72 0d 0d 43 68 72 69 | 73 20 53 65 76 65 72 74 |er..Chri|s Severt|
|00001f70| 73 6f 6e 20 28 63 68 72 | 69 73 73 40 6d 69 63 72 |son (chr|iss@micr|
|00001f80| 6f 77 61 72 65 2e 63 6f | 6d 29 20 77 72 6f 74 65 |oware.co|m) wrote|
|00001f90| 3a 0d 0d 3a 20 49 20 68 | 61 76 65 20 6a 75 73 74 |:..: I h|ave just|
|00001fa0| 20 61 64 64 65 64 20 73 | 75 70 70 6f 72 74 20 66 | added s|upport f|
|00001fb0| 6f 72 20 74 68 65 20 63 | 6f 72 65 20 61 70 70 6c |or the c|ore appl|
|00001fc0| 65 20 65 76 65 6e 74 73 | 20 74 6f 20 61 20 68 6f |e events| to a ho|
|00001fd0| 62 62 79 0d 3a 20 61 70 | 70 6c 69 63 61 74 69 6f |bby.: ap|plicatio|
|00001fe0| 6e 20 6f 66 20 6d 69 6e | 65 20 61 6e 64 20 74 68 |n of min|e and th|
|00001ff0| 65 79 20 77 6f 72 6b 20 | 67 72 65 61 74 21 20 20 |ey work |great! |
|00002000| 49 20 61 6d 20 63 6f 6e | 63 65 72 6e 65 64 2c 20 |I am con|cerned, |
|00002010| 68 6f 77 65 76 65 72 2c | 0d 3a 20 61 62 6f 75 74 |however,|.: about|
|00002020| 20 64 65 74 65 63 74 69 | 6e 67 20 61 70 70 6c 65 | detecti|ng apple|
|00002030| 20 65 76 65 6e 74 73 20 | 75 70 6f 6e 20 61 70 70 | events |upon app|
|00002040| 6c 69 63 61 74 69 6f 6e | 20 6c 61 75 6e 63 68 2e |lication| launch.|
|00002050| 20 20 57 68 65 6e 20 6d | 79 0d 3a 20 61 70 70 6c | When m|y.: appl|
|00002060| 69 63 61 74 69 6f 6e 20 | 69 73 20 6c 61 75 6e 63 |ication |is launc|
|00002070| 68 65 64 2c 20 69 74 20 | 63 72 65 61 74 65 73 20 |hed, it |creates |
|00002080| 61 6e 20 75 6e 74 69 74 | 6c 65 64 20 64 6f 63 75 |an untit|led docu|
|00002090| 6d 65 6e 74 20 77 69 6e | 64 6f 77 2c 20 61 6e 64 |ment win|dow, and|
|000020a0| 0d 3a 20 69 66 20 74 68 | 65 20 61 70 70 6c 69 63 |.: if th|e applic|
|000020b0| 61 74 69 6f 6e 20 77 61 | 73 20 6c 61 75 6e 63 68 |ation wa|s launch|
|000020c0| 65 64 20 62 65 63 61 75 | 73 65 20 73 6f 6d 65 6f |ed becau|se someo|
|000020d0| 6e 65 20 64 6f 75 62 6c | 65 2d 63 6c 69 63 6b 65 |ne doubl|e-clicke|
|000020e0| 64 20 6f 6e 65 20 6f 66 | 0d 3a 20 69 74 73 20 64 |d one of|.: its d|
|000020f0| 6f 63 75 6d 65 6e 74 73 | 20 69 6e 20 74 68 65 20 |ocuments| in the |
|00002100| 66 69 6e 64 65 72 2c 20 | 74 68 65 6e 20 49 20 64 |finder, |then I d|
|00002110| 6f 20 6e 6f 74 20 77 61 | 6e 74 20 74 68 65 20 61 |o not wa|nt the a|
|00002120| 70 70 6c 69 63 61 74 69 | 6f 6e 20 74 6f 0d 3a 20 |pplicati|on to.: |
|00002130| 63 72 65 61 74 65 20 74 | 68 69 73 20 75 6e 74 69 |create t|his unti|
|00002140| 74 6c 65 64 20 64 6f 63 | 75 6d 65 6e 74 2e 0d 0d |tled doc|ument...|
|00002150| 3a 20 49 20 74 72 69 65 | 64 20 75 73 69 6e 67 20 |: I trie|d using |
|00002160| 45 76 65 6e 74 41 76 61 | 69 6c 28 68 69 67 68 4c |EventAva|il(highL|
|00002170| 45 76 65 6c 45 76 65 6e | 74 4d 61 73 6b 2c 20 65 |EvelEven|tMask, e|
|00002180| 76 74 50 74 72 29 20 62 | 65 66 6f 72 65 20 65 6e |vtPtr) b|efore en|
|00002190| 74 65 72 69 6e 67 0d 3a | 20 6d 79 20 6d 61 69 6e |tering.:| my main|
|000021a0| 20 65 76 65 6e 74 20 6c | 6f 6f 70 20 74 6f 20 64 | event l|oop to d|
|000021b0| 65 74 65 63 74 20 74 68 | 69 73 2c 20 62 75 74 20 |etect th|is, but |
|000021c0| 69 74 20 61 6c 77 61 79 | 73 20 74 65 6c 6c 73 20 |it alway|s tells |
|000021d0| 6d 65 20 74 68 65 72 65 | 20 61 72 65 20 6e 6f 0d |me there| are no.|
|000021e0| 3a 20 70 65 6e 64 69 6e | 67 20 68 69 67 68 2d 6c |: pendin|g high-l|
|000021f0| 65 76 65 6c 20 65 76 65 | 6e 74 73 2e 0d 0d 3a 20 |evel eve|nts...: |
|00002200| 49 73 20 74 68 65 72 65 | 20 61 20 62 65 74 74 65 |Is there| a bette|
|00002210| 72 20 77 61 79 20 74 6f | 20 64 65 74 65 63 74 20 |r way to| detect |
|00002220| 69 66 20 79 6f 75 20 77 | 65 72 65 20 6c 61 75 6e |if you w|ere laun|
|00002230| 63 68 65 64 20 62 65 63 | 61 75 73 65 20 61 20 75 |ched bec|ause a u|
|00002240| 73 65 72 0d 3a 20 64 6f | 75 62 6c 65 2d 63 6c 69 |ser.: do|uble-cli|
|00002250| 63 6b 65 64 20 6f 6e 65 | 20 6f 66 20 79 6f 75 72 |cked one| of your|
|00002260| 20 64 6f 63 75 6d 65 6e | 74 73 20 69 6e 20 74 68 | documen|ts in th|
|00002270| 65 20 46 69 6e 64 65 72 | 3f 20 28 49 20 77 61 6e |e Finder|? (I wan|
|00002280| 74 20 74 6f 20 64 65 74 | 65 63 74 0d 3a 20 74 68 |t to det|ect.: th|
|00002290| 69 73 20 62 65 66 6f 72 | 65 20 49 20 65 6e 74 65 |is befor|e I ente|
|000022a0| 72 20 6d 79 20 6d 61 69 | 6e 20 65 76 65 6e 74 20 |r my mai|n event |
|000022b0| 6c 6f 6f 70 29 2e 0d 0d | 0d 3a 20 41 6c 6c 20 68 |loop)...|.: All h|
|000022c0| 65 6c 70 20 69 73 20 67 | 72 65 61 74 6c 79 20 61 |elp is g|reatly a|
|000022d0| 70 70 72 65 63 69 61 74 | 65 64 2c 0d 0d 3a 20 43 |ppreciat|ed,..: C|
|000022e0| 68 72 69 73 0d 3a 20 63 | 68 72 69 73 73 40 6d 69 |hris.: c|hriss@mi|
|000022f0| 63 72 6f 77 61 72 65 2e | 63 6f 6d 0d 0d 41 63 74 |croware.|com..Act|
|00002300| 75 61 6c 6c 79 2c 20 49 | 20 74 68 69 6e 6b 20 69 |ually, I| think i|
|00002310| 74 27 73 20 65 76 65 6e | 20 73 69 6d 70 6c 65 72 |t's even| simpler|
|00002320| 20 74 68 61 6e 20 74 68 | 61 74 2e 2e 2e 0d 0d 54 | than th|at.....T|
|00002330| 68 65 20 73 79 73 74 65 | 6d 20 73 68 6f 75 6c 64 |he syste|m should|
|00002340| 20 2a 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 2a | *automa|tically*|
|00002350| 20 70 75 74 20 61 6e 20 | 61 70 70 6c 65 20 65 76 | put an |apple ev|
|00002360| 65 6e 74 20 69 6e 20 74 | 68 65 20 65 76 65 6e 74 |ent in t|he event|
|00002370| 20 71 75 65 75 65 20 77 | 68 65 6e 0d 79 6f 75 72 | queue w|hen.your|
|00002380| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 69 73 20 | applica|tion is |
|00002390| 6f 70 65 6e 65 64 20 28 | 73 65 65 20 70 72 65 76 |opened (|see prev|
|000023a0| 69 6f 75 73 20 70 6f 73 | 74 29 3b 20 61 6c 6c 20 |ious pos|t); all |
|000023b0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 6e 65 65 64 20 |you shou|ld need |
|000023c0| 74 6f 20 64 6f 0d 69 73 | 20 67 6f 20 73 74 72 61 |to do.is| go stra|
|000023d0| 69 67 68 74 20 74 6f 20 | 79 6f 75 72 20 65 76 65 |ight to |your eve|
|000023e0| 6e 74 20 6c 6f 6f 70 2e | 20 20 54 68 65 20 66 69 |nt loop.| The fi|
|000023f0| 72 73 74 20 65 76 65 6e | 74 20 79 6f 75 20 67 65 |rst even|t you ge|
|00002400| 74 20 77 69 74 68 0d 57 | 61 69 74 4e 65 78 74 45 |t with.W|aitNextE|
|00002410| 76 65 6e 74 28 29 20 73 | 68 6f 75 6c 64 20 62 65 |vent() s|hould be|
|00002420| 20 74 68 65 20 41 70 70 | 6c 65 45 76 65 6e 74 20 | the App|leEvent |
|00002430| 79 6f 75 20 6e 65 65 64 | 20 74 6f 20 64 65 74 65 |you need| to dete|
|00002440| 72 6d 69 6e 65 20 77 68 | 65 74 68 65 72 20 6f 72 |rmine wh|ether or|
|00002450| 0d 6e 6f 74 20 74 68 65 | 20 75 73 65 72 20 68 61 |.not the| user ha|
|00002460| 73 20 64 6f 75 62 6c 65 | 2d 63 6c 69 63 6b 65 64 |s double|-clicked|
|00002470| 20 6f 6e 20 61 20 66 69 | 6c 65 20 62 65 6c 6f 6e | on a fi|le belon|
|00002480| 67 69 6e 67 20 74 6f 20 | 79 6f 75 20 61 70 70 6c |ging to |you appl|
|00002490| 69 63 61 74 69 6f 6e 2e | 0d 45 76 65 6e 74 41 76 |ication.|.EventAv|
|000024a0| 61 69 6c 28 29 20 62 65 | 66 6f 72 65 20 79 6f 75 |ail() be|fore you|
|000024b0| 72 20 6c 6f 6f 70 20 73 | 68 6f 75 6c 64 20 61 6c |r loop s|hould al|
|000024c0| 73 6f 20 77 6f 72 6b 2e | 0d 0d 49 4f 57 2c 20 77 |so work.|..IOW, w|
|000024d0| 68 61 74 20 79 6f 75 20 | 70 6f 73 74 65 64 20 61 |hat you |posted a|
|000024e0| 62 6f 76 65 20 2a 73 68 | 6f 75 6c 64 2a 20 77 6f |bove *sh|ould* wo|
|000024f0| 72 6b 20 28 61 73 20 66 | 61 72 20 61 73 20 49 20 |rk (as f|ar as I |
|00002500| 6b 6e 6f 77 20 3a 29 20 | 29 2e 20 20 54 68 65 0d |know :) |). The.|
|00002510| 6f 6e 6c 79 20 72 65 61 | 73 6f 6e 20 49 20 63 61 |only rea|son I ca|
|00002520| 6e 20 74 68 69 6e 6b 20 | 6f 66 20 77 68 79 20 79 |n think |of why y|
|00002530| 6f 75 72 20 63 6f 64 65 | 20 64 6f 65 73 20 6e 6f |our code| does no|
|00002540| 74 20 77 6f 72 6b 20 69 | 73 20 74 68 65 20 66 6c |t work i|s the fl|
|00002550| 61 67 73 20 69 6e 0d 74 | 68 65 20 53 49 5a 45 20 |ags in.t|he SIZE |
|00002560| 72 65 73 6f 75 72 63 65 | 2e 20 20 55 6e 6c 65 73 |resource|. Unles|
|00002570| 73 20 79 6f 75 20 6d 61 | 6b 65 20 73 75 72 65 20 |s you ma|ke sure |
|00002580| 74 6f 20 73 65 74 20 74 | 68 65 20 49 73 48 69 67 |to set t|he IsHig|
|00002590| 68 4c 65 76 65 6c 45 76 | 65 6e 74 41 77 61 72 65 |hLevelEv|entAware|
|000025a0| 0d 66 6c 61 67 2c 20 74 | 68 65 20 73 79 73 74 65 |.flag, t|he syste|
|000025b0| 6d 20 77 6f 6e 27 74 20 | 73 65 6e 64 20 79 6f 75 |m won't |send you|
|000025c0| 20 61 6e 79 20 41 70 70 | 6c 65 45 76 65 6e 74 73 | any App|leEvents|
|000025d0| 20 77 68 65 6e 20 69 74 | 20 6c 61 75 6e 63 68 65 | when it| launche|
|000025e0| 73 20 79 6f 75 72 0d 61 | 70 70 2e 20 20 53 65 74 |s your.a|pp. Set|
|000025f0| 20 74 68 65 20 66 6c 61 | 67 20 65 69 74 68 65 72 | the fla|g either|
|00002600| 20 62 79 20 6d 61 6b 69 | 6e 67 20 79 6f 75 72 20 | by maki|ng your |
|00002610| 6f 77 6e 20 53 49 5a 45 | 20 72 65 73 6f 75 72 63 |own SIZE| resourc|
|00002620| 65 20 77 69 74 68 20 52 | 65 73 45 64 69 74 2c 0d |e with R|esEdit,.|
|00002630| 6f 72 20 62 79 20 73 65 | 6c 65 63 74 69 6e 67 20 |or by se|lecting |
|00002640| 74 68 65 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 |the appr|opriate |
|00002650| 6f 70 74 69 6f 6e 20 77 | 68 65 6e 20 62 75 69 6c |option w|hen buil|
|00002660| 64 69 6e 67 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |ding you|r applic|
|00002670| 61 74 69 6f 6e 2e 0d 0d | 48 6f 70 65 20 74 68 69 |ation...|Hope thi|
|00002680| 73 20 73 68 65 64 73 20 | 61 20 6c 69 74 74 6c 65 |s sheds |a little|
|00002690| 20 6c 69 67 68 74 2e 2e | 2e 20 20 20 3a 29 0d 0d | light..|. :)..|
|000026a0| 2d 2d 0d 20 20 20 20 20 | 20 20 4f 77 65 6e 20 4d |--. | Owen M|
|000026b0| 61 74 68 65 77 73 09 6d | 61 74 68 65 77 73 40 66 |athews.m|athews@f|
|000026c0| 75 72 6d 61 6e 2e 65 64 | 75 0d 20 20 20 20 20 20 |urman.ed|u. |
|000026d0| 20 3c 3e 3c 3e 3c 3e 3c | 3e 3c 3e 3c 3e 3c 3e 3c | <><><><|><><><><|
|000026e0| 3e 3c 3e 3c 3e 3c 3e 3c | 3e 3c 3e 3c 3e 3c 3e 3c |><><><><|><><><><|
|000026f0| 3e 3c 3e 3c 3e 3c 3e 3c | 3e 0d 20 20 20 20 20 20 |><><><><|>. |
|00002700| 20 46 75 72 6d 61 6e 20 | 55 6e 69 76 65 72 73 69 | Furman |Universi|
|00002710| 74 79 2c 20 43 6f 6d 70 | 75 74 65 72 20 53 63 69 |ty, Comp|uter Sci|
|00002720| 65 6e 63 65 20 44 65 70 | 74 0d 0d 2b 2b 2b 2b 2b |ence Dep|t..+++++|
|00002730| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00002740| 2b 2b 2b 2b 2b 2b 0d 0d | 3e 46 72 6f 6d 20 69 73 |++++++..|>From is|
|00002750| 69 73 40 6e 65 74 63 6f | 6d 2e 63 6f 6d 20 28 4d |is@netco|m.com (M|
|00002760| 69 6b 65 20 43 6f 68 65 | 6e 29 0d 44 61 74 65 3a |ike Cohe|n).Date:|
|00002770| 20 54 68 75 2c 20 32 31 | 20 4a 75 6c 20 31 39 39 | Thu, 21| Jul 199|
|00002780| 34 20 31 38 3a 34 30 3a | 30 34 20 47 4d 54 0d 4f |4 18:40:|04 GMT.O|
|00002790| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 3a 20 49 53 49 |rganizat|ion: ISI|
|000027a0| 53 20 49 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 0d |S Intern|ational.|
|000027b0| 0d 63 68 72 69 73 73 40 | 6d 69 63 72 6f 77 61 72 |.chriss@|microwar|
|000027c0| 65 2e 63 6f 6d 20 28 43 | 68 72 69 73 20 53 65 76 |e.com (C|hris Sev|
|000027d0| 65 72 74 73 6f 6e 29 20 | 77 72 69 74 65 73 3a 0d |ertson) |writes:.|
|000027e0| 0d 57 68 65 6e 20 79 6f | 75 20 73 74 61 72 74 20 |.When yo|u start |
|000027f0| 75 70 2c 20 2a 64 6f 6e | 27 74 2a 20 63 72 65 61 |up, *don|'t* crea|
|00002800| 74 65 20 61 6e 20 75 6e | 74 69 74 6c 65 64 20 64 |te an un|titled d|
|00002810| 6f 63 75 6d 65 6e 74 3b | 20 6a 75 73 74 20 64 6f |ocument;| just do|
|00002820| 20 74 68 65 20 72 65 73 | 74 20 6f 66 0d 79 6f 75 | the res|t of.you|
|00002830| 72 20 69 6e 69 74 69 61 | 6c 69 7a 61 74 69 6f 6e |r initia|lization|
|00002840| 20 61 6e 64 20 65 6e 74 | 65 72 20 79 6f 75 72 20 | and ent|er your |
|00002850| 6d 61 69 6e 20 65 76 65 | 6e 74 20 6c 6f 6f 70 2e |main eve|nt loop.|
|00002860| 4e 65 78 74 2c 20 79 6f | 75 27 6c 6c 20 72 65 63 |Next, yo|u'll rec|
|00002870| 65 69 76 65 20 65 69 74 | 68 65 72 0d 61 6e 20 27 |eive eit|her.an '|
|00002880| 6f 64 6f 63 27 20 65 76 | 65 6e 74 20 69 66 20 61 |odoc' ev|ent if a|
|00002890| 20 64 6f 63 75 6d 65 6e | 74 20 77 61 73 20 64 6f | documen|t was do|
|000028a0| 75 62 6c 65 2d 63 6c 69 | 63 6b 65 64 20 6f 72 20 |uble-cli|cked or |
|000028b0| 61 6e 20 27 6f 61 70 70 | 27 20 69 66 20 6f 6e 6c |an 'oapp|' if onl|
|000028c0| 79 20 74 68 65 0d 61 70 | 70 6c 69 63 61 74 69 6f |y the.ap|plicatio|
|000028d0| 6e 20 77 61 73 20 64 6f | 75 62 6c 65 2d 63 6c 69 |n was do|uble-cli|
|000028e0| 63 6b 65 64 2e 20 59 6f | 75 20 73 68 6f 75 6c 64 |cked. Yo|u should|
|000028f0| 20 63 72 65 61 74 65 20 | 61 20 6e 65 77 20 64 6f | create |a new do|
|00002900| 63 75 6d 65 6e 74 20 77 | 68 65 6e 20 79 6f 75 0d |cument w|hen you.|
|00002910| 72 65 63 65 69 76 65 20 | 74 68 65 20 27 6f 61 70 |receive |the 'oap|
|00002920| 70 27 20 65 76 65 6e 74 | 2e 20 43 75 72 72 65 6e |p' event|. Curren|
|00002930| 74 6c 79 2c 20 74 68 65 | 72 65 20 77 69 6c 6c 20 |tly, the|re will |
|00002940| 6f 6e 6c 79 20 62 65 20 | 6f 6e 65 20 27 6f 61 70 |only be |one 'oap|
|00002950| 70 27 20 77 68 65 6e 20 | 74 68 65 0d 61 70 70 6c |p' when |the.appl|
|00002960| 69 63 61 74 69 6f 6e 20 | 69 73 20 73 74 61 72 74 |ication |is start|
|00002970| 65 64 20 77 69 74 68 20 | 6e 6f 20 64 6f 63 75 6d |ed with |no docum|
|00002980| 65 6e 74 73 2c 20 62 75 | 74 20 69 6e 20 74 68 65 |ents, bu|t in the|
|00002990| 20 66 75 74 75 72 65 20 | 79 6f 75 20 6d 61 79 20 | future |you may |
|000029a0| 72 65 63 65 69 76 65 0d | 74 68 65 6d 20 77 68 65 |receive.|them whe|
|000029b0| 6e 20 61 6e 20 61 6c 72 | 65 61 64 79 20 72 75 6e |n an alr|eady run|
|000029c0| 6e 69 6e 67 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ning app|lication|
|000029d0| 20 69 73 20 64 6f 75 62 | 6c 65 2d 63 6c 69 63 6b | is doub|le-click|
|000029e0| 65 64 20 69 6e 20 74 68 | 65 20 46 69 6e 64 65 72 |ed in th|e Finder|
|000029f0| 2e 0d 0d 3e 49 20 68 61 | 76 65 20 6a 75 73 74 20 |...>I ha|ve just |
|00002a00| 61 64 64 65 64 20 73 75 | 70 70 6f 72 74 20 66 6f |added su|pport fo|
|00002a10| 72 20 74 68 65 20 63 6f | 72 65 20 61 70 70 6c 65 |r the co|re apple|
|00002a20| 20 65 76 65 6e 74 73 20 | 74 6f 20 61 20 68 6f 62 | events |to a hob|
|00002a30| 62 79 0d 3e 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |by.>appl|ication |
|00002a40| 6f 66 20 6d 69 6e 65 20 | 61 6e 64 20 74 68 65 79 |of mine |and they|
|00002a50| 20 77 6f 72 6b 20 67 72 | 65 61 74 21 20 20 49 20 | work gr|eat! I |
|00002a60| 61 6d 20 63 6f 6e 63 65 | 72 6e 65 64 2c 20 68 6f |am conce|rned, ho|
|00002a70| 77 65 76 65 72 2c 0d 3e | 61 62 6f 75 74 20 64 65 |wever,.>|about de|
|00002a80| 74 65 63 74 69 6e 67 20 | 61 70 70 6c 65 20 65 76 |tecting |apple ev|
|00002a90| 65 6e 74 73 20 75 70 6f | 6e 20 61 70 70 6c 69 63 |ents upo|n applic|
|00002aa0| 61 74 69 6f 6e 20 6c 61 | 75 6e 63 68 2e 20 20 57 |ation la|unch. W|
|00002ab0| 68 65 6e 20 6d 79 0d 3e | 61 70 70 6c 69 63 61 74 |hen my.>|applicat|
|00002ac0| 69 6f 6e 20 69 73 20 6c | 61 75 6e 63 68 65 64 2c |ion is l|aunched,|
|00002ad0| 20 69 74 20 63 72 65 61 | 74 65 73 20 61 6e 20 75 | it crea|tes an u|
|00002ae0| 6e 74 69 74 6c 65 64 20 | 64 6f 63 75 6d 65 6e 74 |ntitled |document|
|00002af0| 20 77 69 6e 64 6f 77 2c | 20 61 6e 64 0d 3e 69 66 | window,| and.>if|
|00002b00| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00002b10| 20 77 61 73 20 6c 61 75 | 6e 63 68 65 64 20 62 65 | was lau|nched be|
|00002b20| 63 61 75 73 65 20 73 6f | 6d 65 6f 6e 65 20 64 6f |cause so|meone do|
|00002b30| 75 62 6c 65 2d 63 6c 69 | 63 6b 65 64 20 6f 6e 65 |uble-cli|cked one|
|00002b40| 20 6f 66 0d 3e 69 74 73 | 20 64 6f 63 75 6d 65 6e | of.>its| documen|
|00002b50| 74 73 20 69 6e 20 74 68 | 65 20 66 69 6e 64 65 72 |ts in th|e finder|
|00002b60| 2c 20 74 68 65 6e 20 49 | 20 64 6f 20 6e 6f 74 20 |, then I| do not |
|00002b70| 77 61 6e 74 20 74 68 65 | 20 61 70 70 6c 69 63 61 |want the| applica|
|00002b80| 74 69 6f 6e 20 74 6f 0d | 3e 63 72 65 61 74 65 20 |tion to.|>create |
|00002b90| 74 68 69 73 20 75 6e 74 | 69 74 6c 65 64 20 64 6f |this unt|itled do|
|00002ba0| 63 75 6d 65 6e 74 2e 0d | 0d 3e 49 20 74 72 69 65 |cument..|.>I trie|
|00002bb0| 64 20 75 73 69 6e 67 20 | 45 76 65 6e 74 41 76 61 |d using |EventAva|
|00002bc0| 69 6c 28 68 69 67 68 4c | 45 76 65 6c 45 76 65 6e |il(highL|EvelEven|
|00002bd0| 74 4d 61 73 6b 2c 20 65 | 76 74 50 74 72 29 20 62 |tMask, e|vtPtr) b|
|00002be0| 65 66 6f 72 65 20 65 6e | 74 65 72 69 6e 67 0d 3e |efore en|tering.>|
|00002bf0| 6d 79 20 6d 61 69 6e 20 | 65 76 65 6e 74 20 6c 6f |my main |event lo|
|00002c00| 6f 70 20 74 6f 20 64 65 | 74 65 63 74 20 74 68 69 |op to de|tect thi|
|00002c10| 73 2c 20 62 75 74 20 69 | 74 20 61 6c 77 61 79 73 |s, but i|t always|
|00002c20| 20 74 65 6c 6c 73 20 6d | 65 20 74 68 65 72 65 20 | tells m|e there |
|00002c30| 61 72 65 20 6e 6f 0d 3e | 70 65 6e 64 69 6e 67 20 |are no.>|pending |
|00002c40| 68 69 67 68 2d 6c 65 76 | 65 6c 20 65 76 65 6e 74 |high-lev|el event|
|00002c50| 73 2e 0d 0d 3e 49 73 20 | 74 68 65 72 65 20 61 20 |s...>Is |there a |
|00002c60| 62 65 74 74 65 72 20 77 | 61 79 20 74 6f 20 64 65 |better w|ay to de|
|00002c70| 74 65 63 74 20 69 66 20 | 79 6f 75 20 77 65 72 65 |tect if |you were|
|00002c80| 20 6c 61 75 6e 63 68 65 | 64 20 62 65 63 61 75 73 | launche|d becaus|
|00002c90| 65 20 61 20 75 73 65 72 | 0d 3e 64 6f 75 62 6c 65 |e a user|.>double|
|00002ca0| 2d 63 6c 69 63 6b 65 64 | 20 6f 6e 65 20 6f 66 20 |-clicked| one of |
|00002cb0| 79 6f 75 72 20 64 6f 63 | 75 6d 65 6e 74 73 20 69 |your doc|uments i|
|00002cc0| 6e 20 74 68 65 20 46 69 | 6e 64 65 72 3f 20 28 49 |n the Fi|nder? (I|
|00002cd0| 20 77 61 6e 74 20 74 6f | 20 64 65 74 65 63 74 0d | want to| detect.|
|00002ce0| 3e 74 68 69 73 20 62 65 | 66 6f 72 65 20 49 20 65 |>this be|fore I e|
|00002cf0| 6e 74 65 72 20 6d 79 20 | 6d 61 69 6e 20 65 76 65 |nter my |main eve|
|00002d00| 6e 74 20 6c 6f 6f 70 29 | 2e 0d 0d 0d 3e 41 6c 6c |nt loop)|....>All|
|00002d10| 20 68 65 6c 70 20 69 73 | 20 67 72 65 61 74 6c 79 | help is| greatly|
|00002d20| 20 61 70 70 72 65 63 69 | 61 74 65 64 2c 0d 0d 3e | appreci|ated,..>|
|00002d30| 43 68 72 69 73 0d 3e 63 | 68 72 69 73 73 40 6d 69 |Chris.>c|hriss@mi|
|00002d40| 63 72 6f 77 61 72 65 2e | 63 6f 6d 0d 0d 2d 2d 20 |croware.|com..-- |
|00002d50| 0d 4d 69 6b 65 20 43 6f | 68 65 6e 20 2d 20 69 73 |.Mike Co|hen - is|
|00002d60| 69 73 40 6e 65 74 63 6f | 6d 2e 63 6f 6d 0d 4e 65 |is@netco|m.com.Ne|
|00002d70| 77 74 6f 6e 4d 61 69 6c | 2c 20 65 57 6f 72 6c 64 |wtonMail|, eWorld|
|00002d80| 3a 20 4d 69 6b 65 43 20 | 2f 20 41 4c 69 6e 6b 3a |: MikeC |/ ALink:|
|00002d90| 20 44 36 37 33 34 20 2f | 20 41 4f 4c 3a 20 4d 69 | D6734 /| AOL: Mi|
|00002da0| 6b 65 43 32 30 0d 48 6f | 6d 65 20 50 61 67 65 3a |keC20.Ho|me Page:|
|00002db0| 20 66 69 6c 65 3a 2f 2f | 66 74 70 2e 6e 65 74 63 | file://|ftp.netc|
|00002dc0| 6f 6d 2e 63 6f 6d 2f 70 | 75 62 2f 69 73 69 73 2f |om.com/p|ub/isis/|
|00002dd0| 68 6f 6d 65 2e 68 74 6d | 6c 0d 0d 2b 2b 2b 2b 2b |home.htm|l..+++++|
|00002de0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00002df0| 2b 2b 2b 2b 2b 2b 0d 0d | 3e 46 72 6f 6d 20 67 75 |++++++..|>From gu|
|00002e00| 72 67 6c 65 40 64 6e 61 | 69 2e 63 6f 6d 20 28 50 |rgle@dna|i.com (P|
|00002e10| 65 74 65 20 47 6f 6e 74 | 69 65 72 29 0d 44 61 74 |ete Gont|ier).Dat|
|00002e20| 65 3a 20 32 36 20 4a 75 | 6c 20 31 39 39 34 20 31 |e: 26 Ju|l 1994 1|
|00002e30| 37 3a 33 30 3a 30 32 20 | 47 4d 54 0d 4f 72 67 61 |7:30:02 |GMT.Orga|
|00002e40| 6e 69 7a 61 74 69 6f 6e | 3a 20 49 6e 74 65 67 65 |nization|: Intege|
|00002e50| 72 20 50 6f 65 74 20 53 | 6f 66 74 77 61 72 65 0d |r Poet S|oftware.|
|00002e60| 0d 49 6e 20 61 72 74 69 | 63 6c 65 20 3c 31 39 39 |.In arti|cle <199|
|00002e70| 34 4a 75 6c 32 31 2e 30 | 35 31 37 31 35 2e 31 38 |4Jul21.0|51715.18|
|00002e80| 39 33 36 40 6d 69 64 77 | 61 79 2e 75 63 68 69 63 |936@midw|ay.uchic|
|00002e90| 61 67 6f 2e 65 64 75 3e | 0d 6a 63 61 76 40 6b 69 |ago.edu>|.jcav@ki|
|00002ea0| 6d 62 61 72 6b 2e 75 63 | 68 69 63 61 67 6f 2e 65 |mbark.uc|hicago.e|
|00002eb0| 64 75 20 28 4a 6f 68 6e | 43 29 20 77 72 69 74 65 |du (John|C) write|
|00002ec0| 73 3a 0d 0d 3e 20 3e 49 | 73 20 74 68 65 72 65 20 |s:..> >I|s there |
|00002ed0| 61 20 62 65 74 74 65 72 | 20 77 61 79 20 74 6f 20 |a better| way to |
|00002ee0| 64 65 74 65 63 74 20 69 | 66 20 79 6f 75 20 77 65 |detect i|f you we|
|00002ef0| 72 65 20 6c 61 75 6e 63 | 68 65 64 20 62 65 63 61 |re launc|hed beca|
|00002f00| 75 73 65 20 61 20 75 73 | 65 72 0d 3e 20 3e 64 6f |use a us|er.> >do|
|00002f10| 75 62 6c 65 2d 63 6c 69 | 63 6b 65 64 20 6f 6e 65 |uble-cli|cked one|
|00002f20| 20 6f 66 20 79 6f 75 72 | 20 64 6f 63 75 6d 65 6e | of your| documen|
|00002f30| 74 73 20 69 6e 20 74 68 | 65 20 46 69 6e 64 65 72 |ts in th|e Finder|
|00002f40| 3f 20 28 49 20 77 61 6e | 74 20 74 6f 20 64 65 74 |? (I wan|t to det|
|00002f50| 65 63 74 0d 3e 20 3e 74 | 68 69 73 20 62 65 66 6f |ect.> >t|his befo|
|00002f60| 72 65 20 49 20 65 6e 74 | 65 72 20 6d 79 20 6d 61 |re I ent|er my ma|
|00002f70| 69 6e 20 65 76 65 6e 74 | 20 6c 6f 6f 70 29 2e 0d |in event| loop)..|
|00002f80| 3e 20 0d 3e 20 57 48 59 | 20 64 6f 20 79 6f 75 20 |> .> WHY| do you |
|00002f90| 77 61 6e 74 20 74 6f 20 | 64 6f 20 69 74 20 62 65 |want to |do it be|
|00002fa0| 66 6f 72 65 20 74 68 65 | 20 6d 61 69 6e 20 65 76 |fore the| main ev|
|00002fb0| 65 6e 74 20 6c 6f 6f 70 | 3f 20 20 57 68 79 20 6e |ent loop|? Why n|
|00002fc0| 6f 74 20 64 6f 20 69 74 | 20 61 73 20 41 70 70 6c |ot do it| as Appl|
|00002fd0| 65 0d 3e 20 69 6e 74 65 | 6e 64 65 64 3a 20 20 2d |e.> inte|nded: -|
|00002fe0| 49 6e 69 74 69 61 6c 69 | 7a 65 20 28 69 6e 73 74 |Initiali|ze (inst|
|00002ff0| 61 6c 6c 69 6e 67 20 79 | 6f 75 72 20 41 70 70 6c |alling y|our Appl|
|00003000| 65 20 45 76 65 6e 74 20 | 68 61 6e 64 6c 65 72 73 |e Event |handlers|
|00003010| 29 0d 3e 20 20 20 20 20 | 20 20 20 20 20 20 20 2d |).> | -|
|00003020| 53 74 61 72 74 20 79 6f | 75 72 20 65 76 65 6e 20 |Start yo|ur even |
|00003030| 6c 6f 6f 70 0d 3e 20 20 | 20 20 20 20 20 20 20 20 |loop.> | |
|00003040| 20 20 2d 70 61 73 73 20 | 65 61 63 68 20 68 69 67 | -pass |each hig|
|00003050| 68 2d 6c 65 76 65 6c 20 | 65 76 65 6e 74 20 74 6f |h-level |event to|
|00003060| 20 41 45 50 72 6f 63 65 | 73 73 41 70 70 6c 65 45 | AEProce|ssAppleE|
|00003070| 76 65 6e 74 0d 0d 42 65 | 63 61 75 73 65 20 74 68 |vent..Be|cause th|
|00003080| 69 73 20 41 45 20 68 61 | 6e 64 6c 69 6e 67 20 6d |is AE ha|ndling m|
|00003090| 6f 64 65 6c 20 61 73 73 | 75 6d 65 73 20 61 20 74 |odel ass|umes a t|
|000030a0| 72 61 64 69 74 69 6f 6e | 61 6c 20 64 6f 63 75 6d |radition|al docum|
|000030b0| 65 6e 74 2d 6f 72 69 65 | 6e 74 65 64 0d 61 70 70 |ent-orie|nted.app|
|000030c0| 2e 20 49 66 20 79 6f 75 | 72 20 61 70 70 20 69 73 |. If you|r app is|
|000030d0| 20 6e 6f 74 20 73 75 63 | 68 20 61 20 74 68 69 6e | not suc|h a thin|
|000030e0| 67 2c 20 74 68 65 72 65 | 20 6d 61 79 20 62 65 20 |g, there| may be |
|000030f0| 61 20 64 65 63 65 6e 74 | 20 72 65 61 73 6f 6e 20 |a decent| reason |
|00003100| 66 6f 72 0d 79 6f 75 20 | 74 6f 20 77 61 69 74 20 |for.you |to wait |
|00003110| 61 6e 64 20 73 65 65 20 | 77 68 65 74 68 65 72 20 |and see |whether |
|00003120| 79 6f 75 20 61 72 65 20 | 67 6f 69 6e 67 20 74 6f |you are |going to|
|00003130| 20 67 65 74 20 61 6e 20 | 6f 70 65 6e 2d 61 70 70 | get an |open-app|
|00003140| 6c 69 63 61 74 69 6f 6e | 20 6f 72 0d 6f 70 65 6e |lication| or.open|
|00003150| 2d 64 6f 63 75 6d 65 6e | 74 73 20 6f 72 20 70 72 |-documen|ts or pr|
|00003160| 69 6e 74 2d 64 6f 63 75 | 6d 65 6e 74 73 20 65 76 |int-docu|ments ev|
|00003170| 65 6e 74 2e 20 49 20 6a | 75 73 74 20 64 69 64 20 |ent. I j|ust did |
|00003180| 69 74 20 69 6e 20 61 20 | 45 75 64 6f 72 61 0d 61 |it in a |Eudora.a|
|00003190| 64 64 2d 6f 6e 20 61 70 | 70 20 49 27 6d 20 77 72 |dd-on ap|p I'm wr|
|000031a0| 69 74 69 6e 67 2e 20 49 | 20 77 72 6f 74 65 20 61 |iting. I| wrote a|
|000031b0| 6e 6f 74 68 65 72 20 65 | 76 65 6e 74 20 6c 6f 6f |nother e|vent loo|
|000031c0| 70 20 77 68 69 63 68 20 | 63 61 6c 6c 73 0d 57 61 |p which |calls.Wa|
|000031d0| 69 74 4e 65 78 74 45 76 | 65 6e 74 20 77 69 74 68 |itNextEv|ent with|
|000031e0| 20 61 20 6d 61 73 6b 20 | 77 68 69 63 68 20 65 78 | a mask |which ex|
|000031f0| 6c 63 75 64 65 73 20 65 | 76 65 72 79 74 68 69 6e |lcudes e|verythin|
|00003200| 67 20 62 75 74 20 41 70 | 70 6c 65 45 76 65 6e 74 |g but Ap|pleEvent|
|00003210| 73 2e 0d 0d 2d 2d 0d 0d | 50 65 74 65 20 47 6f 6e |s...--..|Pete Gon|
|00003220| 74 69 65 72 20 2f 2f 20 | 49 6e 74 65 67 65 72 20 |tier // |Integer |
|00003230| 50 6f 65 74 20 53 6f 66 | 74 77 61 72 65 20 2f 2f |Poet Sof|tware //|
|00003240| 20 67 75 72 67 6c 65 40 | 64 6e 61 69 2e 63 6f 6d | gurgle@|dnai.com|
|00003250| 0d 0d 22 43 6c 65 61 72 | 2d 63 75 74 74 69 6e 67 |.."Clear|-cutting|
|00003260| 20 72 65 6d 6f 76 65 73 | 20 61 6c 6c 20 74 72 65 | removes| all tre|
|00003270| 65 73 2e 2e 2e 20 74 6f | 20 63 72 65 61 74 65 20 |es... to| create |
|00003280| 6e 65 77 20 68 61 62 69 | 74 61 74 73 20 66 6f 72 |new habi|tats for|
|00003290| 0d 77 69 6c 64 6c 69 66 | 65 2e 20 50 26 47 20 75 |.wildlif|e. P&G u|
|000032a0| 73 65 73 20 74 68 69 73 | 20 65 63 6f 6e 6f 6d 69 |ses this| economi|
|000032b0| 63 61 6c 6c 79 20 61 6e | 64 20 65 6e 76 69 72 6f |cally an|d enviro|
|000032c0| 6e 6d 65 6e 74 61 6c 6c | 79 20 73 6f 75 6e 64 20 |nmentall|y sound |
|000032d0| 6d 65 74 68 6f 64 0d 62 | 65 63 61 75 73 65 20 69 |method.b|ecause i|
|000032e0| 74 20 6d 6f 73 74 20 63 | 6c 6f 73 65 6c 79 20 6d |t most c|losely m|
|000032f0| 69 6d 69 63 73 20 6e 61 | 74 75 72 65 27 73 20 6f |imics na|ture's o|
|00003300| 77 6e 20 70 72 6f 63 65 | 73 73 65 73 2e 20 43 6c |wn proce|sses. Cl|
|00003310| 65 61 72 2d 63 75 74 74 | 69 6e 67 0d 61 6c 73 6f |ear-cutt|ing.also|
|00003320| 20 6f 70 65 6e 73 20 74 | 68 65 20 66 6c 6f 6f 72 | opens t|he floor|
|00003330| 20 74 6f 20 73 75 6e 73 | 68 69 6e 65 2c 20 74 68 | to suns|hine, th|
|00003340| 75 73 20 73 74 69 6d 75 | 6c 61 74 69 6e 67 20 67 |us stimu|lating g|
|00003350| 72 6f 77 74 68 20 61 6e | 64 20 70 72 6f 76 69 64 |rowth an|d provid|
|00003360| 69 6e 67 0d 66 6f 6f 64 | 20 66 6f 72 20 61 6e 69 |ing.food| for ani|
|00003370| 6d 61 6c 73 2e 22 0d 0d | 20 20 20 20 2d 2d 20 50 |mals."..| -- P|
|00003380| 72 6f 63 74 65 72 20 26 | 20 47 61 6d 62 6c 65 27 |rocter &| Gamble'|
|00003390| 73 20 22 44 65 63 69 73 | 69 6f 6e 20 45 61 72 74 |s "Decis|ion Eart|
|000033a0| 68 22 20 66 72 65 65 20 | 73 63 68 6f 6f 6c 20 63 |h" free |school c|
|000033b0| 75 72 72 69 63 75 6c 75 | 6d 0d 0d 2d 2d 2d 2d 2d |urriculu|m..-----|
|000033c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000033d0| 2d 2d 2d 2d 2d 2d 0d 0d | 3e 46 72 6f 6d 20 54 6f |------..|>From To|
|000033e0| 6e 79 20 41 6e 64 72 65 | 6f 6c 69 20 3c 54 6f 6e |ny Andre|oli <Ton|
|000033f0| 79 5f 41 6e 64 72 65 6f | 6c 69 5f 2d 5f 43 54 41 |y_Andreo|li_-_CTA|
|00003400| 40 43 4c 5f 43 32 31 53 | 4d 54 50 5f 47 57 2e 43 |@CL_C21S|MTP_GW.C|
|00003410| 48 49 4e 41 4c 41 4b 45 | 2e 4e 41 56 59 2e 4d 49 |HINALAKE|.NAVY.MI|
|00003420| 4c 3e 0d 53 75 62 6a 65 | 63 74 3a 20 44 69 61 6c |L>.Subje|ct: Dial|
|00003430| 6f 67 73 20 61 6e 64 20 | 66 6f 6e 74 73 2e 2e 2e |ogs and |fonts...|
|00003440| 0d 44 61 74 65 3a 20 53 | 61 74 2c 20 32 33 20 4a |.Date: S|at, 23 J|
|00003450| 75 6c 20 31 39 39 34 20 | 31 34 3a 30 30 3a 31 37 |ul 1994 |14:00:17|
|00003460| 20 47 4d 54 0d 4f 72 67 | 61 6e 69 7a 61 74 69 6f | GMT.Org|anizatio|
|00003470| 6e 3a 20 4e 61 76 61 6c | 20 41 69 72 20 57 61 72 |n: Naval| Air War|
|00003480| 66 61 72 65 20 43 65 6e | 74 65 72 20 2d 20 57 65 |fare Cen|ter - We|
|00003490| 61 70 6f 6e 73 20 44 69 | 76 69 73 69 6f 6e 0d 0d |apons Di|vision..|
|000034a0| 49 20 68 61 76 65 20 61 | 20 64 69 61 6c 6f 67 20 |I have a| dialog |
|000034b0| 74 68 61 74 20 63 6f 6e | 74 61 69 6e 73 20 61 20 |that con|tains a |
|000034c0| 73 65 72 69 65 73 20 6f | 66 20 65 64 69 74 54 65 |series o|f editTe|
|000034d0| 78 74 20 61 6e 64 20 73 | 74 61 74 69 63 54 65 78 |xt and s|taticTex|
|000034e0| 74 20 66 69 65 6c 64 73 | 2c 0d 74 68 65 20 70 72 |t fields|,.the pr|
|000034f0| 6f 62 6c 65 6d 20 69 73 | 2c 20 49 20 77 61 6e 74 |oblem is|, I want|
|00003500| 20 74 68 65 6d 20 74 6f | 20 62 65 20 69 6e 20 47 | them to| be in G|
|00003510| 65 6e 65 76 61 20 39 21 | 20 20 49 20 75 6e 64 65 |eneva 9!| I unde|
|00003520| 72 73 74 61 6e 64 20 74 | 68 61 74 0d 53 65 74 44 |rstand t|hat.SetD|
|00003530| 41 46 6f 6e 74 20 77 69 | 6c 6c 20 61 6c 6c 6f 77 |AFont wi|ll allow|
|00003540| 20 6d 65 20 74 6f 20 61 | 64 6a 75 73 74 20 74 68 | me to a|djust th|
|00003550| 65 20 66 6f 6e 74 2c 20 | 62 75 74 20 68 6f 77 20 |e font, |but how |
|00003560| 74 6f 20 49 20 73 65 74 | 20 74 68 65 20 70 6f 69 |to I set| the poi|
|00003570| 6e 74 0d 73 69 7a 65 20 | 28 61 73 20 54 65 78 74 |nt.size |(as Text|
|00003580| 46 6f 6e 74 20 61 6e 64 | 20 54 65 78 74 53 69 7a |Font and| TextSiz|
|00003590| 65 20 64 6f 6e 27 74 20 | 77 6f 72 6b 29 3f 20 20 |e don't |work)? |
|000035a0| 54 68 69 6e 6b 20 52 65 | 66 65 72 65 6e 63 65 20 |Think Re|ference |
|000035b0| 73 61 79 27 73 0d 74 68 | 65 72 65 27 73 20 6e 6f |say's.th|ere's no|
|000035c0| 20 22 64 69 72 65 63 74 | 22 20 6d 65 74 68 6f 64 | "direct|" method|
|000035d0| 2c 20 62 75 74 20 77 68 | 61 74 20 61 62 6f 75 74 |, but wh|at about|
|000035e0| 20 61 6e 20 69 6e 64 69 | 72 65 63 74 20 6f 6e 65 | an indi|rect one|
|000035f0| 3f 0d 0d 54 68 61 6e 6b | 73 2e 2e 2e 0d 54 6f 6e |?..Thank|s....Ton|
|00003600| 79 20 41 6e 64 72 65 6f | 6c 69 0d 0d 2b 2b 2b 2b |y Andreo|li..++++|
|00003610| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00003620| 2b 2b 2b 2b 2b 2b 2b 0d | 0d 3e 46 72 6f 6d 20 6a |+++++++.|.>From j|
|00003630| 61 72 65 7a 69 6e 61 40 | 6d 61 67 6e 75 73 2e 61 |arezina@|magnus.a|
|00003640| 63 73 2e 6f 68 69 6f 2d | 73 74 61 74 65 2e 65 64 |cs.ohio-|state.ed|
|00003650| 75 20 28 4a 61 73 6e 61 | 20 4d 2e 20 41 72 65 7a |u (Jasna| M. Arez|
|00003660| 69 6e 61 2d 57 69 6c 73 | 6f 6e 29 0d 44 61 74 65 |ina-Wils|on).Date|
|00003670| 3a 20 54 75 65 2c 20 32 | 36 20 4a 75 6c 20 31 39 |: Tue, 2|6 Jul 19|
|00003680| 39 34 20 31 37 3a 34 39 | 3a 35 35 20 2d 30 34 30 |94 17:49|:55 -040|
|00003690| 30 0d 4f 72 67 61 6e 69 | 7a 61 74 69 6f 6e 3a 20 |0.Organi|zation: |
|000036a0| 4f 68 69 6f 20 53 74 61 | 74 65 20 55 6e 69 76 65 |Ohio Sta|te Unive|
|000036b0| 72 73 69 74 79 0d 0d 49 | 6e 20 61 72 74 69 63 6c |rsity..I|n articl|
|000036c0| 65 20 3c 43 74 45 43 38 | 48 2e 4c 48 70 40 61 76 |e <CtEC8|H.LHp@av|
|000036d0| 61 6c 6f 6e 2e 63 68 69 | 6e 61 6c 61 6b 65 2e 6e |alon.chi|nalake.n|
|000036e0| 61 76 79 2e 6d 69 6c 3e | 2c 20 54 6f 6e 79 20 41 |avy.mil>|, Tony A|
|000036f0| 6e 64 72 65 6f 6c 69 0d | 3c 54 6f 6e 79 5f 41 6e |ndreoli.|<Tony_An|
|00003700| 64 72 65 6f 6c 69 5f 2d | 5f 43 54 41 40 43 4c 5f |dreoli_-|_CTA@CL_|
|00003710| 43 32 31 53 4d 54 50 5f | 47 57 2e 43 48 49 4e 41 |C21SMTP_|GW.CHINA|
|00003720| 4c 41 4b 45 2e 4e 41 56 | 59 2e 4d 49 4c 3e 20 77 |LAKE.NAV|Y.MIL> w|
|00003730| 72 6f 74 65 3a 0d 0d 3e | 20 49 20 68 61 76 65 20 |rote:..>| I have |
|00003740| 61 20 64 69 61 6c 6f 67 | 20 74 68 61 74 20 63 6f |a dialog| that co|
|00003750| 6e 74 61 69 6e 73 20 61 | 20 73 65 72 69 65 73 20 |ntains a| series |
|00003760| 6f 66 20 65 64 69 74 54 | 65 78 74 20 61 6e 64 20 |of editT|ext and |
|00003770| 73 74 61 74 69 63 54 65 | 78 74 20 66 69 65 6c 64 |staticTe|xt field|
|00003780| 73 2c 0d 3e 20 74 68 65 | 20 70 72 6f 62 6c 65 6d |s,.> the| problem|
|00003790| 20 69 73 2c 20 49 20 77 | 61 6e 74 20 74 68 65 6d | is, I w|ant them|
|000037a0| 20 74 6f 20 62 65 20 69 | 6e 20 47 65 6e 65 76 61 | to be i|n Geneva|
|000037b0| 20 39 21 20 20 49 20 75 | 6e 64 65 72 73 74 61 6e | 9! I u|nderstan|
|000037c0| 64 20 74 68 61 74 0d 3e | 20 53 65 74 44 41 46 6f |d that.>| SetDAFo|
|000037d0| 6e 74 20 77 69 6c 6c 20 | 61 6c 6c 6f 77 20 6d 65 |nt will |allow me|
|000037e0| 20 74 6f 20 61 64 6a 75 | 73 74 20 74 68 65 20 66 | to adju|st the f|
|000037f0| 6f 6e 74 2c 20 62 75 74 | 20 68 6f 77 20 74 6f 20 |ont, but| how to |
|00003800| 49 20 73 65 74 20 74 68 | 65 20 70 6f 69 6e 74 0d |I set th|e point.|
|00003810| 3e 20 73 69 7a 65 20 28 | 61 73 20 54 65 78 74 46 |> size (|as TextF|
|00003820| 6f 6e 74 20 61 6e 64 20 | 54 65 78 74 53 69 7a 65 |ont and |TextSize|
|00003830| 20 64 6f 6e 27 74 20 77 | 6f 72 6b 29 3f 20 20 54 | don't w|ork)? T|
|00003840| 68 69 6e 6b 20 52 65 66 | 65 72 65 6e 63 65 20 73 |hink Ref|erence s|
|00003850| 61 79 27 73 0d 3e 20 74 | 68 65 72 65 27 73 20 6e |ay's.> t|here's n|
|00003860| 6f 20 22 64 69 72 65 63 | 74 22 20 6d 65 74 68 6f |o "direc|t" metho|
|00003870| 64 2c 20 62 75 74 20 77 | 68 61 74 20 61 62 6f 75 |d, but w|hat abou|
|00003880| 74 20 61 6e 20 69 6e 64 | 69 72 65 63 74 20 6f 6e |t an ind|irect on|
|00003890| 65 3f 0d 0d 54 72 79 20 | 74 68 69 73 20 66 6f 72 |e?..Try |this for|
|000038a0| 20 61 20 66 75 6e 63 74 | 69 6f 6e 20 28 69 6e 20 | a funct|ion (in |
|000038b0| 43 29 3a 0d 0d 76 6f 69 | 64 20 53 65 74 44 69 61 |C):..voi|d SetDia|
|000038c0| 6c 6f 67 46 6f 6e 74 41 | 6e 64 53 69 7a 65 28 44 |logFontA|ndSize(D|
|000038d0| 69 61 6c 6f 67 50 74 72 | 20 74 68 65 44 69 61 6c |ialogPtr| theDial|
|000038e0| 6f 67 2c 20 73 68 6f 72 | 74 20 66 6f 6e 74 4e 75 |og, shor|t fontNu|
|000038f0| 6d 2c 20 73 68 6f 72 74 | 0d 66 6f 6e 74 53 69 7a |m, short|.fontSiz|
|00003900| 65 29 0d 7b 0d 09 46 6f | 6e 74 49 6e 66 6f 09 66 |e).{..Fo|ntInfo.f|
|00003910| 3b 0d 09 0d 09 53 65 74 | 50 6f 72 74 28 74 68 65 |;....Set|Port(the|
|00003920| 44 69 61 6c 6f 67 29 3b | 0d 09 0d 09 2f 2f 20 73 |Dialog);|....// s|
|00003930| 65 74 20 75 70 20 74 68 | 65 20 70 6f 72 74 20 69 |et up th|e port i|
|00003940| 6e 66 6f 0d 09 54 65 78 | 74 46 6f 6e 74 28 66 6f |nfo..Tex|tFont(fo|
|00003950| 6e 74 4e 75 6d 29 3b 0d | 09 54 65 78 74 53 69 7a |ntNum);.|.TextSiz|
|00003960| 65 28 66 6f 6e 74 53 69 | 7a 65 29 3b 0d 0d 09 2f |e(fontSi|ze);.../|
|00003970| 2f 20 6e 6f 77 20 64 65 | 61 6c 20 77 69 74 68 20 |/ now de|al with |
|00003980| 74 68 65 20 73 74 61 74 | 69 63 20 26 20 65 64 69 |the stat|ic & edi|
|00003990| 74 20 74 65 78 74 20 69 | 73 73 75 65 73 0d 09 47 |t text i|ssues..G|
|000039a0| 65 74 46 6f 6e 74 49 6e | 66 6f 28 26 66 29 3b 0d |etFontIn|fo(&f);.|
|000039b0| 09 28 2a 28 28 44 69 61 | 6c 6f 67 50 65 65 6b 29 |.(*((Dia|logPeek)|
|000039c0| 74 68 65 44 69 61 6c 6f | 67 29 2d 3e 74 65 78 74 |theDialo|g)->text|
|000039d0| 48 29 2d 3e 74 78 46 6f | 6e 74 20 3d 20 61 70 70 |H)->txFo|nt = app|
|000039e0| 6c 46 6f 6e 74 3b 0d 09 | 28 2a 28 28 44 69 61 6c |lFont;..|(*((Dial|
|000039f0| 6f 67 50 65 65 6b 29 74 | 68 65 44 69 61 6c 6f 67 |ogPeek)t|heDialog|
|00003a00| 29 2d 3e 74 65 78 74 48 | 29 2d 3e 74 78 53 69 7a |)->textH|)->txSiz|
|00003a10| 65 20 3d 20 39 3b 0d 09 | 28 2a 28 28 44 69 61 6c |e = 9;..|(*((Dial|
|00003a20| 6f 67 50 65 65 6b 29 74 | 68 65 44 69 61 6c 6f 67 |ogPeek)t|heDialog|
|00003a30| 29 2d 3e 74 65 78 74 48 | 29 2d 3e 6c 69 6e 65 48 |)->textH|)->lineH|
|00003a40| 65 69 67 68 74 20 3d 0d | 20 20 20 20 20 20 20 20 |eight =.| |
|00003a50| 20 20 20 20 20 20 20 20 | 20 66 2e 61 73 63 65 6e | | f.ascen|
|00003a60| 74 20 2b 20 66 2e 64 65 | 73 63 65 6e 74 20 2b 20 |t + f.de|scent + |
|00003a70| 66 2e 6c 65 61 64 69 6e | 67 3b 0d 09 28 2a 28 28 |f.leadin|g;..(*((|
|00003a80| 44 69 61 6c 6f 67 50 65 | 65 6b 29 74 68 65 44 69 |DialogPe|ek)theDi|
|00003a90| 61 6c 6f 67 29 2d 3e 74 | 65 78 74 48 29 2d 3e 66 |alog)->t|extH)->f|
|00003aa0| 6f 6e 74 41 73 63 65 6e | 74 20 3d 20 66 2e 61 73 |ontAscen|t = f.as|
|00003ab0| 63 65 6e 74 3b 0d 7d 0d | 0d 0d 48 6f 77 65 76 65 |cent;.}.|..Howeve|
|00003ac0| 72 2c 20 74 68 69 73 20 | 77 69 6c 6c 20 6e 6f 74 |r, this |will not|
|00003ad0| 20 64 6f 20 69 74 20 66 | 6f 72 20 66 6f 72 20 62 | do it f|or for b|
|00003ae0| 75 74 74 6f 6e 73 2c 20 | 62 75 74 20 69 74 20 77 |uttons, |but it w|
|00003af0| 69 6c 6c 20 64 6f 20 69 | 74 20 66 6f 72 20 53 74 |ill do i|t for St|
|00003b00| 61 74 69 63 0d 61 6e 64 | 20 45 64 69 74 20 74 65 |atic.and| Edit te|
|00003b10| 78 74 20 66 69 65 6c 64 | 73 2e 20 41 6e 79 6f 6e |xt field|s. Anyon|
|00003b20| 65 20 6b 6e 6f 77 20 68 | 6f 77 20 74 6f 20 64 6f |e know h|ow to do|
|00003b30| 20 69 74 20 66 6f 72 20 | 62 75 74 74 6f 6e 73 20 | it for |buttons |
|00003b40| 77 69 74 68 6f 75 74 20 | 63 68 61 6e 67 69 6e 67 |without |changing|
|00003b50| 0d 74 68 65 20 73 79 73 | 74 65 6d 20 66 6f 6e 74 |.the sys|tem font|
|00003b60| 20 28 73 69 6e 63 65 20 | 74 68 69 73 20 68 61 73 | (since |this has|
|00003b70| 20 74 68 65 20 73 69 64 | 65 20 65 66 66 65 63 74 | the sid|e effect|
|00003b80| 20 6f 66 20 77 72 65 63 | 6b 69 6e 67 20 74 68 65 | of wrec|king the|
|00003b90| 20 6d 65 6e 75 20 66 6f | 6e 74 29 2e 0d 0d 0d 2d | menu fo|nt)....-|
|00003ba0| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00003bb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003bc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 22 2e 2e 2e 77 68 |--------|-."...wh|
|00003bd0| 65 6e 20 66 72 69 65 6e | 64 73 20 72 65 6a 6f 69 |en frien|ds rejoi|
|00003be0| 63 65 20 62 6f 74 68 20 | 66 61 72 20 61 6e 64 20 |ce both |far and |
|00003bf0| 6e 65 61 72 0d 20 48 6f | 77 20 63 61 6e 20 49 20 |near. Ho|w can I |
|00003c00| 6b 65 65 70 20 66 72 6f | 6d 20 73 69 6e 67 69 6e |keep fro|m singin|
|00003c10| 67 3f 22 20 2d 20 45 6e | 79 61 0d 0d 2b 2b 2b 2b |g?" - En|ya..++++|
|00003c20| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00003c30| 2b 2b 2b 2b 2b 2b 2b 0d | 0d 3e 46 72 6f 6d 20 6c |+++++++.|.>From l|
|00003c40| 61 72 73 6f 6e 40 6f 61 | 68 75 2e 63 73 2e 75 63 |arson@oa|hu.cs.uc|
|00003c50| 6c 61 2e 65 64 75 20 28 | 43 68 72 69 73 74 6f 70 |la.edu (|Christop|
|00003c60| 68 65 72 20 4c 61 72 73 | 6f 6e 29 0d 44 61 74 65 |her Lars|on).Date|
|00003c70| 3a 20 57 65 64 2c 20 32 | 37 20 4a 75 6c 20 39 34 |: Wed, 2|7 Jul 94|
|00003c80| 20 31 34 3a 35 30 3a 35 | 38 20 47 4d 54 0d 4f 72 | 14:50:5|8 GMT.Or|
|00003c90| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 55 43 4c 41 |ganizati|on: UCLA|
|00003ca0| 2c 20 43 6f 6d 70 75 74 | 65 72 20 53 63 69 65 6e |, Comput|er Scien|
|00003cb0| 63 65 20 44 65 70 61 72 | 74 6d 65 6e 74 0d 0d 49 |ce Depar|tment..I|
|00003cc0| 6e 20 61 72 74 69 63 6c | 65 20 3c 6a 61 72 65 7a |n articl|e <jarez|
|00003cd0| 69 6e 61 2d 32 36 30 37 | 39 34 31 37 34 39 35 35 |ina-2607|94174955|
|00003ce0| 40 73 6c 69 70 32 2d 33 | 33 2e 61 63 73 2e 6f 68 |@slip2-3|3.acs.oh|
|00003cf0| 69 6f 2d 73 74 61 74 65 | 2e 65 64 75 3e 20 6a 61 |io-state|.edu> ja|
|00003d00| 72 65 7a 69 6e 61 40 6d | 61 67 6e 75 73 2e 61 63 |rezina@m|agnus.ac|
|00003d10| 73 2e 6f 68 69 6f 2d 73 | 74 61 74 65 2e 65 64 75 |s.ohio-s|tate.edu|
|00003d20| 20 28 4a 61 73 6e 61 20 | 4d 2e 20 41 72 65 7a 69 | (Jasna |M. Arezi|
|00003d30| 6e 61 2d 57 69 6c 73 6f | 6e 29 20 77 72 69 74 65 |na-Wilso|n) write|
|00003d40| 73 3a 0d 3e 49 6e 20 61 | 72 74 69 63 6c 65 20 3c |s:.>In a|rticle <|
|00003d50| 43 74 45 43 38 48 2e 4c | 48 70 40 61 76 61 6c 6f |CtEC8H.L|Hp@avalo|
|00003d60| 6e 2e 63 68 69 6e 61 6c | 61 6b 65 2e 6e 61 76 79 |n.chinal|ake.navy|
|00003d70| 2e 6d 69 6c 3e 2c 20 54 | 6f 6e 79 20 41 6e 64 72 |.mil>, T|ony Andr|
|00003d80| 65 6f 6c 69 0d 3e 3c 54 | 6f 6e 79 5f 41 6e 64 72 |eoli.><T|ony_Andr|
|00003d90| 65 6f 6c 69 5f 2d 5f 43 | 54 41 40 43 4c 5f 43 32 |eoli_-_C|TA@CL_C2|
|00003da0| 31 53 4d 54 50 5f 47 57 | 2e 43 48 49 4e 41 4c 41 |1SMTP_GW|.CHINALA|
|00003db0| 4b 45 2e 4e 41 56 59 2e | 4d 49 4c 3e 20 77 72 6f |KE.NAVY.|MIL> wro|
|00003dc0| 74 65 3a 0d 3e 0d 3e 3e | 20 49 20 68 61 76 65 20 |te:.>.>>| I have |
|00003dd0| 61 20 64 69 61 6c 6f 67 | 20 74 68 61 74 20 63 6f |a dialog| that co|
|00003de0| 6e 74 61 69 6e 73 20 61 | 20 73 65 72 69 65 73 20 |ntains a| series |
|00003df0| 6f 66 20 65 64 69 74 54 | 65 78 74 20 61 6e 64 20 |of editT|ext and |
|00003e00| 73 74 61 74 69 63 54 65 | 78 74 20 66 69 65 6c 64 |staticTe|xt field|
|00003e10| 73 2c 0d 3e 3e 20 74 68 | 65 20 70 72 6f 62 6c 65 |s,.>> th|e proble|
|00003e20| 6d 20 69 73 2c 20 49 20 | 77 61 6e 74 20 74 68 65 |m is, I |want the|
|00003e30| 6d 20 74 6f 20 62 65 20 | 69 6e 20 47 65 6e 65 76 |m to be |in Genev|
|00003e40| 61 20 39 21 20 20 49 20 | 75 6e 64 65 72 73 74 61 |a 9! I |understa|
|00003e50| 6e 64 20 74 68 61 74 0d | 3e 3e 20 53 65 74 44 41 |nd that.|>> SetDA|
|00003e60| 46 6f 6e 74 20 77 69 6c | 6c 20 61 6c 6c 6f 77 20 |Font wil|l allow |
|00003e70| 6d 65 20 74 6f 20 61 64 | 6a 75 73 74 20 74 68 65 |me to ad|just the|
|00003e80| 20 66 6f 6e 74 2c 20 62 | 75 74 20 68 6f 77 20 74 | font, b|ut how t|
|00003e90| 6f 20 49 20 73 65 74 20 | 74 68 65 20 70 6f 69 6e |o I set |the poin|
|00003ea0| 74 0d 3e 3e 20 73 69 7a | 65 20 28 61 73 20 54 65 |t.>> siz|e (as Te|
|00003eb0| 78 74 46 6f 6e 74 20 61 | 6e 64 20 54 65 78 74 53 |xtFont a|nd TextS|
|00003ec0| 69 7a 65 20 64 6f 6e 27 | 74 20 77 6f 72 6b 29 3f |ize don'|t work)?|
|00003ed0| 20 20 54 68 69 6e 6b 20 | 52 65 66 65 72 65 6e 63 | Think |Referenc|
|00003ee0| 65 20 73 61 79 27 73 0d | 3e 3e 20 74 68 65 72 65 |e say's.|>> there|
|00003ef0| 27 73 20 6e 6f 20 22 64 | 69 72 65 63 74 22 20 6d |'s no "d|irect" m|
|00003f00| 65 74 68 6f 64 2c 20 62 | 75 74 20 77 68 61 74 20 |ethod, b|ut what |
|00003f10| 61 62 6f 75 74 20 61 6e | 20 69 6e 64 69 72 65 63 |about an| indirec|
|00003f20| 74 20 6f 6e 65 3f 0d 0d | 5b 43 6f 64 65 20 44 65 |t one?..|[Code De|
|00003f30| 6c 65 74 65 64 2e 2e 2e | 5d 0d 0d 3e 48 6f 77 65 |leted...|]..>Howe|
|00003f40| 76 65 72 2c 20 74 68 69 | 73 20 77 69 6c 6c 20 6e |ver, thi|s will n|
|00003f50| 6f 74 20 64 6f 20 69 74 | 20 66 6f 72 20 66 6f 72 |ot do it| for for|
|00003f60| 20 62 75 74 74 6f 6e 73 | 2c 20 62 75 74 20 69 74 | buttons|, but it|
|00003f70| 20 77 69 6c 6c 20 64 6f | 20 69 74 20 66 6f 72 20 | will do| it for |
|00003f80| 53 74 61 74 69 63 0d 3e | 61 6e 64 20 45 64 69 74 |Static.>|and Edit|
|00003f90| 20 74 65 78 74 20 66 69 | 65 6c 64 73 2e 20 41 6e | text fi|elds. An|
|00003fa0| 79 6f 6e 65 20 6b 6e 6f | 77 20 68 6f 77 20 74 6f |yone kno|w how to|
|00003fb0| 20 64 6f 20 69 74 20 66 | 6f 72 20 62 75 74 74 6f | do it f|or butto|
|00003fc0| 6e 73 20 77 69 74 68 6f | 75 74 20 63 68 61 6e 67 |ns witho|ut chang|
|00003fd0| 69 6e 67 0d 3e 74 68 65 | 20 73 79 73 74 65 6d 20 |ing.>the| system |
|00003fe0| 66 6f 6e 74 20 28 73 69 | 6e 63 65 20 74 68 69 73 |font (si|nce this|
|00003ff0| 20 68 61 73 20 74 68 65 | 20 73 69 64 65 20 65 66 | has the| side ef|
|00004000| 66 65 63 74 20 6f 66 20 | 77 72 65 63 6b 69 6e 67 |fect of |wrecking|
|00004010| 20 74 68 65 20 6d 65 6e | 75 20 66 6f 6e 74 29 2e | the men|u font).|
|00004020| 0d 0d 54 6f 20 66 6f 72 | 63 65 20 63 6f 6e 74 72 |..To for|ce contr|
|00004030| 6f 6c 73 20 74 6f 20 75 | 73 65 20 74 68 65 69 72 |ols to u|se their|
|00004040| 20 77 69 6e 64 6f 77 27 | 73 20 66 6f 6e 74 2c 20 | window'|s font, |
|00004050| 73 69 6d 70 6c 79 20 61 | 64 64 20 74 68 65 20 63 |simply a|dd the c|
|00004060| 6f 6e 73 74 61 6e 74 20 | 75 73 65 57 46 6f 6e 74 |onstant |useWFont|
|00004070| 0d 28 6f 72 20 73 6f 6d | 65 74 68 69 6e 67 20 6c |.(or som|ething l|
|00004080| 69 6b 65 20 74 68 61 74 | 3b 20 72 65 66 65 72 20 |ike that|; refer |
|00004090| 74 6f 20 49 4d 3a 20 4d | 61 63 20 54 42 20 45 73 |to IM: M|ac TB Es|
|000040a0| 73 65 6e 74 69 61 6c 73 | 2c 20 22 43 6f 6e 74 72 |sentials|, "Contr|
|000040b0| 6f 6c 20 4d 61 6e 61 67 | 65 72 22 0d 63 68 61 70 |ol Manag|er".chap|
|000040c0| 74 65 72 29 20 74 6f 20 | 74 68 65 20 76 61 72 69 |ter) to |the vari|
|000040d0| 61 74 69 6f 6e 20 63 6f | 64 65 20 6f 66 20 74 68 |ation co|de of th|
|000040e0| 65 20 63 6f 6e 74 72 6f | 6c 2e 20 4e 6f 20 6e 65 |e contro|l. No ne|
|000040f0| 65 64 20 74 6f 20 63 68 | 61 6e 67 65 20 74 68 65 |ed to ch|ange the|
|00004100| 20 73 79 73 74 65 6d 0d | 66 6f 6e 74 2e 0d 0d 2d | system.|font...-|
|00004110| 2d 43 68 72 69 73 0d 5f | 5f 5f 5f 5f 5f 5f 5f 5f |-Chris._|________|
|00004120| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004130| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004140| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004150| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00004160| 5f 5f 5f 5f 5f 5f 0d 43 | 68 72 69 73 20 4c 61 72 |______.C|hris Lar|
|00004170| 73 6f 6e 20 2d 2d 20 41 | 6d 61 74 65 75 72 20 4d |son -- A|mateur M|
|00004180| 61 63 69 6e 74 6f 73 68 | 20 47 65 65 6b 2c 20 43 |acintosh| Geek, C|
|00004190| 6f 42 61 73 65 20 52 65 | 73 65 61 72 63 68 20 41 |oBase Re|search A|
|000041a0| 73 73 69 73 74 61 6e 74 | 0d 4c 2e 41 2e 20 49 6e |ssistant|.L.A. In|
|000041b0| 73 74 69 74 75 74 65 20 | 6f 66 20 53 6c 6f 77 6c |stitute |of Slowl|
|000041c0| 79 20 61 6e 64 20 50 61 | 69 6e 66 75 6c 6c 79 20 |y and Pa|infully |
|000041d0| 57 6f 72 6b 69 6e 67 20 | 4f 75 74 20 74 68 65 20 |Working |Out the |
|000041e0| 53 75 72 70 72 69 73 69 | 6e 67 6c 79 20 4f 62 76 |Surprisi|ngly Obv|
|000041f0| 69 6f 75 73 0d 44 65 61 | 74 68 20 74 6f 20 74 68 |ious.Dea|th to th|
|00004200| 65 20 54 72 6f 6a 61 6e | 73 21 20 47 6f 20 42 72 |e Trojan|s! Go Br|
|00004210| 75 69 6e 73 21 0d 0d 28 | 49 6e 73 65 72 74 20 64 |uins!..(|Insert d|
|00004220| 69 73 63 6c 61 69 6d 65 | 72 20 68 65 72 65 29 0d |isclaime|r here).|
|00004230| 49 6e 74 65 72 6e 65 74 | 3a 20 6c 61 72 73 6f 6e |Internet|: larson|
|00004240| 40 6b 69 6e 67 73 74 6f | 6e 2e 63 73 2e 75 63 6c |@kingsto|n.cs.ucl|
|00004250| 61 2e 65 64 75 0d 0d 2b | 2b 2b 2b 2b 2b 2b 2b 2b |a.edu..+|++++++++|
|00004260| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00004270| 2b 2b 0d 0d 3e 46 72 6f | 6d 20 6a 61 72 65 7a 69 |++..>Fro|m jarezi|
|00004280| 6e 61 40 6d 61 67 6e 75 | 73 2e 61 63 73 2e 6f 68 |na@magnu|s.acs.oh|
|00004290| 69 6f 2d 73 74 61 74 65 | 2e 65 64 75 20 28 4a 61 |io-state|.edu (Ja|
|000042a0| 73 6e 61 20 4d 2e 20 41 | 72 65 7a 69 6e 61 2d 57 |sna M. A|rezina-W|
|000042b0| 69 6c 73 6f 6e 29 0d 44 | 61 74 65 3a 20 57 65 64 |ilson).D|ate: Wed|
|000042c0| 2c 20 32 37 20 4a 75 6c | 20 31 39 39 34 20 31 33 |, 27 Jul| 1994 13|
|000042d0| 3a 31 32 3a 32 36 20 2d | 30 34 30 30 0d 4f 72 67 |:12:26 -|0400.Org|
|000042e0| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 4f 68 69 6f 20 |anizatio|n: Ohio |
|000042f0| 53 74 61 74 65 20 55 6e | 69 76 65 72 73 69 74 79 |State Un|iversity|
|00004300| 0d 0d 49 6e 20 61 72 74 | 69 63 6c 65 20 3c 31 39 |..In art|icle <19|
|00004310| 39 34 4a 75 6c 32 37 2e | 31 34 35 30 35 38 2e 31 |94Jul27.|145058.1|
|00004320| 37 38 38 38 40 63 73 2e | 75 63 6c 61 2e 65 64 75 |7888@cs.|ucla.edu|
|00004330| 3e 2c 20 6c 61 72 73 6f | 6e 40 6f 61 68 75 2e 63 |>, larso|n@oahu.c|
|00004340| 73 2e 75 63 6c 61 2e 65 | 64 75 0d 28 43 68 72 69 |s.ucla.e|du.(Chri|
|00004350| 73 74 6f 70 68 65 72 20 | 4c 61 72 73 6f 6e 29 20 |stopher |Larson) |
|00004360| 77 72 6f 74 65 3a 0d 0d | 3e 20 54 6f 20 66 6f 72 |wrote:..|> To for|
|00004370| 63 65 20 63 6f 6e 74 72 | 6f 6c 73 20 74 6f 20 75 |ce contr|ols to u|
|00004380| 73 65 20 74 68 65 69 72 | 20 77 69 6e 64 6f 77 27 |se their| window'|
|00004390| 73 20 66 6f 6e 74 2c 20 | 73 69 6d 70 6c 79 20 61 |s font, |simply a|
|000043a0| 64 64 20 74 68 65 20 63 | 6f 6e 73 74 61 6e 74 20 |dd the c|onstant |
|000043b0| 75 73 65 57 46 6f 6e 74 | 0d 3e 20 28 6f 72 20 73 |useWFont|.> (or s|
|000043c0| 6f 6d 65 74 68 69 6e 67 | 20 6c 69 6b 65 20 74 68 |omething| like th|
|000043d0| 61 74 3b 20 72 65 66 65 | 72 20 74 6f 20 49 4d 3a |at; refe|r to IM:|
|000043e0| 20 4d 61 63 20 54 42 20 | 45 73 73 65 6e 74 69 61 | Mac TB |Essentia|
|000043f0| 6c 73 2c 20 22 43 6f 6e | 74 72 6f 6c 20 4d 61 6e |ls, "Con|trol Man|
|00004400| 61 67 65 72 22 0d 3e 20 | 63 68 61 70 74 65 72 29 |ager".> |chapter)|
|00004410| 20 74 6f 20 74 68 65 20 | 76 61 72 69 61 74 69 6f | to the |variatio|
|00004420| 6e 20 63 6f 64 65 20 6f | 66 20 74 68 65 20 63 6f |n code o|f the co|
|00004430| 6e 74 72 6f 6c 2e 20 4e | 6f 20 6e 65 65 64 20 74 |ntrol. N|o need t|
|00004440| 6f 20 63 68 61 6e 67 65 | 20 74 68 65 20 73 79 73 |o change| the sys|
|00004450| 74 65 6d 0d 3e 20 66 6f | 6e 74 2e 0d 0d 4f 6b 61 |tem.> fo|nt...Oka|
|00004460| 79 2c 20 68 6f 77 20 64 | 6f 65 73 20 6f 6e 65 20 |y, how d|oes one |
|00004470| 64 6f 20 74 68 61 74 20 | 77 69 74 68 6f 75 74 20 |do that |without |
|00004480| 62 75 69 6c 64 69 6e 67 | 20 74 68 65 20 44 49 54 |building| the DIT|
|00004490| 4c 20 6f 6e 20 74 68 65 | 20 66 6c 79 3f 20 49 20 |L on the| fly? I |
|000044a0| 72 65 61 64 0d 74 68 61 | 74 20 79 6f 75 20 63 61 |read.tha|t you ca|
|000044b0| 6e 20 70 61 74 63 68 20 | 74 68 65 20 47 65 74 4e |n patch |the GetN|
|000044c0| 65 77 43 6f 6e 74 72 6f | 6c 20 28 6f 72 20 4e 65 |ewContro|l (or Ne|
|000044d0| 77 43 6f 6e 74 72 6f 6c | 2c 20 64 65 70 65 6e 64 |wControl|, depend|
|000044e0| 69 6e 67 20 6f 6e 20 77 | 68 61 74 20 79 6f 75 72 |ing on w|hat your|
|000044f0| 0d 63 6f 6d 70 75 74 65 | 72 20 69 73 20 64 6f 69 |.compute|r is doi|
|00004500| 6e 67 29 20 61 6e 64 20 | 6d 6f 64 69 66 79 20 74 |ng) and |modify t|
|00004510| 68 61 74 20 61 73 20 69 | 74 20 67 6f 65 73 20 62 |hat as i|t goes b|
|00004520| 79 2c 20 62 75 74 20 49 | 20 68 61 76 65 6e 27 74 |y, but I| haven't|
|00004530| 20 62 65 65 6e 20 61 62 | 6c 65 0d 74 6f 20 63 6f | been ab|le.to co|
|00004540| 6d 65 20 75 70 20 77 69 | 74 68 20 61 20 77 6f 72 |me up wi|th a wor|
|00004550| 6b 69 6e 67 20 70 61 74 | 63 68 69 6e 67 20 66 75 |king pat|ching fu|
|00004560| 6e 63 74 69 6f 6e 20 28 | 6f 6e 65 20 74 68 61 74 |nction (|one that|
|00004570| 20 6a 75 73 74 20 66 61 | 6c 6c 73 2d 74 68 72 6f | just fa|lls-thro|
|00004580| 75 67 68 2c 0d 74 68 61 | 74 20 69 73 29 2e 0d 0d |ugh,.tha|t is)...|
|00004590| 28 42 54 57 2c 20 49 4d | 3a 4d 54 42 45 20 69 73 |(BTW, IM|:MTBE is|
|000045a0| 6e 27 74 20 61 76 61 69 | 6c 20 74 6f 20 6d 65 29 |n't avai|l to me)|
|000045b0| 0d 0d 0d 2d 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |...- ---|--------|
|000045c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000045d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 22 2e |--------|-----.".|
|000045e0| 2e 2e 77 68 65 6e 20 66 | 72 69 65 6e 64 73 20 72 |..when f|riends r|
|000045f0| 65 6a 6f 69 63 65 20 62 | 6f 74 68 20 66 61 72 20 |ejoice b|oth far |
|00004600| 61 6e 64 20 6e 65 61 72 | 0d 20 48 6f 77 20 63 61 |and near|. How ca|
|00004610| 6e 20 49 20 6b 65 65 70 | 20 66 72 6f 6d 20 73 69 |n I keep| from si|
|00004620| 6e 67 69 6e 67 3f 22 20 | 2d 20 45 6e 79 61 0d 0d |nging?" |- Enya..|
|00004630| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00004640| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 0d 0d 3e 46 72 |++++++++|+++..>Fr|
|00004650| 6f 6d 20 4a 65 6e 73 20 | 41 6c 66 6b 65 20 3c 6a |om Jens |Alfke <j|
|00004660| 65 6e 73 5f 61 6c 66 6b | 65 40 70 6f 77 65 72 74 |ens_alfk|e@powert|
|00004670| 61 6c 6b 2e 61 70 70 6c | 65 2e 63 6f 6d 3e 0d 44 |alk.appl|e.com>.D|
|00004680| 61 74 65 3a 20 57 65 64 | 2c 20 32 37 20 4a 75 6c |ate: Wed|, 27 Jul|
|00004690| 20 31 39 39 34 20 32 30 | 3a 31 36 3a 30 35 20 47 | 1994 20|:16:05 G|
|000046a0| 4d 54 0d 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|000046b0| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 0d | Apple C|omputer.|
|000046c0| 0d 4a 61 73 6e 61 20 4d | 2e 20 41 72 65 7a 69 6e |.Jasna M|. Arezin|
|000046d0| 61 2d 57 69 6c 73 6f 6e | 2c 20 6a 61 72 65 7a 69 |a-Wilson|, jarezi|
|000046e0| 6e 61 40 6d 61 67 6e 75 | 73 2e 61 63 73 2e 6f 68 |na@magnu|s.acs.oh|
|000046f0| 69 6f 2d 73 74 61 74 65 | 2e 65 64 75 20 77 72 69 |io-state|.edu wri|
|00004700| 74 65 73 3a 0d 3e 20 4f | 6b 61 79 2c 20 68 6f 77 |tes:.> O|kay, how|
|00004710| 20 64 6f 65 73 20 6f 6e | 65 20 64 6f 20 74 68 61 | does on|e do tha|
|00004720| 74 20 77 69 74 68 6f 75 | 74 20 62 75 69 6c 64 69 |t withou|t buildi|
|00004730| 6e 67 20 74 68 65 20 44 | 49 54 4c 20 6f 6e 20 74 |ng the D|ITL on t|
|00004740| 68 65 20 66 6c 79 3f 0d | 0d 59 6f 75 20 63 61 6e |he fly?.|.You can|
|00004750| 20 75 73 65 20 63 6f 6e | 74 72 6f 6c 20 69 74 65 | use con|trol ite|
|00004760| 6d 73 20 2d 2d 20 77 69 | 74 68 20 61 73 73 6f 63 |ms -- wi|th assoc|
|00004770| 69 61 74 65 64 20 43 4e | 54 4c 20 72 65 73 6f 75 |iated CN|TL resou|
|00004780| 72 63 65 73 20 2d 2d 20 | 69 6e 73 74 65 61 64 20 |rces -- |instead |
|00004790| 6f 66 0d 62 75 74 74 6f | 6e 73 2e 20 4b 65 65 70 |of.butto|ns. Keep|
|000047a0| 69 6e 67 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 |ing the |resource|
|000047b0| 73 20 69 6e 20 73 79 6e | 63 20 69 73 20 61 20 62 |s in syn|c is a b|
|000047c0| 69 74 20 6f 66 20 61 20 | 70 61 69 6e 2c 20 62 75 |it of a |pain, bu|
|000047d0| 74 20 74 68 65 20 43 4e | 54 4c 20 64 6f 65 73 0d |t the CN|TL does.|
|000047e0| 6c 65 74 20 79 6f 75 20 | 73 70 65 63 69 66 79 20 |let you |specify |
|000047f0| 74 68 65 20 76 61 72 69 | 61 74 69 6f 6e 20 63 6f |the vari|ation co|
|00004800| 64 65 2e 0d 0d 2d 2d 4a | 65 6e 73 20 41 6c 66 6b |de...--J|ens Alfk|
|00004810| 65 0d 20 20 6a 65 6e 73 | 5f 61 6c 66 6b 65 40 70 |e. jens|_alfke@p|
|00004820| 6f 77 65 72 74 61 6c 6b | 20 20 20 20 20 20 20 20 |owertalk| |
|00004830| 20 20 20 20 20 20 52 65 | 62 65 6c 20 67 69 72 6c | Re|bel girl|
|00004840| 2c 20 72 65 62 65 6c 20 | 67 69 72 6c 2c 0d 20 20 |, rebel |girl,. |
|00004850| 20 20 20 20 20 20 20 20 | 20 20 2e 61 70 70 6c 65 | | .apple|
|00004860| 2e 63 6f 6d 20 20 20 20 | 20 20 20 20 20 20 20 20 |.com | |
|00004870| 20 20 52 65 62 65 6c 20 | 67 69 72 6c 20 79 6f 75 | Rebel |girl you|
|00004880| 20 61 72 65 20 74 68 65 | 20 71 75 65 65 6e 20 6f | are the| queen o|
|00004890| 66 20 6d 79 20 77 6f 72 | 6c 64 0d 0d 2b 2b 2b 2b |f my wor|ld..++++|
|000048a0| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|000048b0| 2b 2b 2b 2b 2b 2b 2b 0d | 0d 3e 46 72 6f 6d 20 6a |+++++++.|.>From j|
|000048c0| 61 6d 65 73 77 37 39 35 | 35 40 61 6f 6c 2e 63 6f |amesw795|5@aol.co|
|000048d0| 6d 20 28 4a 61 6d 65 73 | 57 37 39 35 35 29 0d 44 |m (James|W7955).D|
|000048e0| 61 74 65 3a 20 32 37 20 | 4a 75 6c 20 31 39 39 34 |ate: 27 |Jul 1994|
|000048f0| 20 31 39 3a 34 39 3a 30 | 31 20 2d 30 34 30 30 0d | 19:49:0|1 -0400.|
|00004900| 4f 72 67 61 6e 69 7a 61 | 74 69 6f 6e 3a 20 41 6d |Organiza|tion: Am|
|00004910| 65 72 69 63 61 20 4f 6e | 6c 69 6e 65 2c 20 49 6e |erica On|line, In|
|00004920| 63 2e 20 28 31 2d 38 30 | 30 2d 38 32 37 2d 36 33 |c. (1-80|0-827-63|
|00004930| 36 34 29 0d 0d 49 6e 20 | 61 72 74 69 63 6c 65 20 |64)..In |article |
|00004940| 3c 43 74 45 43 38 48 2e | 4c 48 70 40 61 76 61 6c |<CtEC8H.|LHp@aval|
|00004950| 6f 6e 2e 63 68 69 6e 61 | 6c 61 6b 65 2e 6e 61 76 |on.china|lake.nav|
|00004960| 79 2e 6d 69 6c 3e 2c 20 | 54 6f 6e 79 20 41 6e 64 |y.mil>, |Tony And|
|00004970| 72 65 6f 6c 69 0d 3c 54 | 6f 6e 79 5f 41 6e 64 72 |reoli.<T|ony_Andr|
|00004980| 65 6f 6c 69 5f 2d 5f 43 | 54 41 40 43 4c 5f 43 32 |eoli_-_C|TA@CL_C2|
|00004990| 31 53 4d 54 50 5f 47 57 | 2e 43 48 49 4e 41 4c 41 |1SMTP_GW|.CHINALA|
|000049a0| 4b 45 2e 4e 41 56 59 2e | 4d 49 4c 3e 20 77 72 69 |KE.NAVY.|MIL> wri|
|000049b0| 74 65 73 3a 0d 0d 3e 3e | 20 49 20 68 61 76 65 20 |tes:..>>| I have |
|000049c0| 61 20 64 69 61 6c 6f 67 | 20 74 68 61 74 20 63 6f |a dialog| that co|
|000049d0| 6e 74 61 69 6e 73 20 61 | 20 73 65 72 69 65 73 20 |ntains a| series |
|000049e0| 6f 66 20 65 64 69 74 54 | 65 78 74 20 61 6e 64 20 |of editT|ext and |
|000049f0| 73 74 61 74 69 63 54 65 | 78 74 0d 3e 3e 66 69 65 |staticTe|xt.>>fie|
|00004a00| 6c 64 73 2c 0d 3e 3e 74 | 68 65 20 70 72 6f 62 6c |lds,.>>t|he probl|
|00004a10| 65 6d 20 69 73 2c 20 49 | 20 77 61 6e 74 20 74 68 |em is, I| want th|
|00004a20| 65 6d 20 74 6f 20 62 65 | 20 69 6e 20 47 65 6e 65 |em to be| in Gene|
|00004a30| 76 61 20 39 21 20 20 49 | 20 75 6e 64 65 72 73 74 |va 9! I| underst|
|00004a40| 61 6e 64 20 74 68 61 74 | 0d 3e 3e 53 65 74 44 41 |and that|.>>SetDA|
|00004a50| 46 6f 6e 74 20 77 69 6c | 6c 20 61 6c 6c 6f 77 20 |Font wil|l allow |
|00004a60| 6d 65 20 74 6f 20 61 64 | 6a 75 73 74 20 74 68 65 |me to ad|just the|
|00004a70| 20 66 6f 6e 74 2c 20 62 | 75 74 20 68 6f 77 20 74 | font, b|ut how t|
|00004a80| 6f 20 49 20 73 65 74 20 | 74 68 65 20 3e 3e 70 6f |o I set |the >>po|
|00004a90| 69 6e 74 0d 3e 3e 73 69 | 7a 65 20 28 61 73 20 54 |int.>>si|ze (as T|
|00004aa0| 65 78 74 46 6f 6e 74 20 | 61 6e 64 20 54 65 78 74 |extFont |and Text|
|00004ab0| 53 69 7a 65 20 64 6f 6e | 27 74 20 77 6f 72 6b 29 |Size don|'t work)|
|00004ac0| 3f 20 20 54 68 69 6e 6b | 20 52 65 66 65 72 65 6e |? Think| Referen|
|00004ad0| 63 65 20 73 61 79 27 73 | 0d 3e 3e 74 68 65 72 65 |ce say's|.>>there|
|00004ae0| 27 73 20 6e 6f 20 22 64 | 69 72 65 63 74 22 20 6d |'s no "d|irect" m|
|00004af0| 65 74 68 6f 64 2c 20 62 | 75 74 20 77 68 61 74 20 |ethod, b|ut what |
|00004b00| 61 62 6f 75 74 20 61 6e | 20 69 6e 64 69 72 65 63 |about an| indirec|
|00004b10| 74 20 6f 6e 65 3f 0d 0d | 48 61 76 65 20 79 6f 75 |t one?..|Have you|
|00004b20| 20 6c 6f 6f 6b 65 64 20 | 61 74 20 74 68 65 20 27 | looked |at the '|
|00004b30| 69 63 74 62 27 20 72 65 | 73 6f 75 72 63 65 3f 20 |ictb' re|source? |
|00004b40| 49 74 20 61 6c 6c 6f 77 | 73 20 79 6f 75 20 74 6f |It allow|s you to|
|00004b50| 20 73 70 65 63 69 66 69 | 79 20 66 6f 6e 74 73 0d | specifi|y fonts.|
|00004b60| 66 6f 72 20 69 74 65 6d | 73 20 69 6e 20 61 20 44 |for item|s in a D|
|00004b70| 49 54 4c 20 28 61 73 20 | 77 65 6c 6c 20 61 73 20 |ITL (as |well as |
|00004b80| 63 6f 6c 6f 72 73 20 61 | 6e 64 20 6f 74 68 65 72 |colors a|nd other|
|00004b90| 20 67 6f 6f 64 69 65 73 | 29 2e 20 49 74 20 69 73 | goodies|). It is|
|00004ba0| 0d 64 6f 63 75 6d 65 6e | 74 65 64 20 69 6e 20 49 |.documen|ted in I|
|00004bb0| 4d 3a 20 4d 61 63 20 74 | 6f 6f 6c 62 6f 78 20 65 |M: Mac t|oolbox e|
|00004bc0| 73 73 65 6e 74 69 61 6c | 73 2e 20 42 65 77 61 72 |ssential|s. Bewar|
|00004bd0| 65 3a 20 69 74 20 69 73 | 20 61 20 74 6f 75 67 68 |e: it is| a tough|
|00004be0| 20 72 65 73 6f 75 72 63 | 65 0d 74 6f 20 62 75 69 | resourc|e.to bui|
|00004bf0| 6c 64 20 61 6e 64 20 69 | 74 73 20 73 74 72 75 63 |ld and i|ts struc|
|00004c00| 74 75 72 65 20 6d 61 79 | 20 6c 65 61 76 65 20 79 |ture may| leave y|
|00004c10| 6f 75 20 73 63 72 61 74 | 63 68 69 6e 67 20 79 6f |ou scrat|ching yo|
|00004c20| 75 72 20 68 65 61 64 2e | 0d 0d 2d 20 4a 61 6d 65 |ur head.|..- Jame|
|00004c30| 73 20 57 69 6c 73 6f 6e | 0d 4a 61 6d 65 73 57 37 |s Wilson|.JamesW7|
|00004c40| 39 35 35 40 61 6f 6c 2e | 63 6f 6d 0d 0d 2d 2d 2d |955@aol.|com..---|
|00004c50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004c60| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0d 3e 46 72 6f 6d 20 |--------|..>From |
|00004c70| 73 70 6f 68 6e 40 6d 61 | 79 6f 2e 65 64 75 20 28 |spohn@ma|yo.edu (|
|00004c80| 41 6c 20 53 70 6f 68 6e | 29 0d 53 75 62 6a 65 63 |Al Spohn|).Subjec|
|00004c90| 74 3a 20 46 69 6c 74 65 | 72 69 6e 67 20 45 64 69 |t: Filte|ring Edi|
|00004ca0| 74 20 54 65 78 74 20 69 | 74 65 6d 73 0d 44 61 74 |t Text i|tems.Dat|
|00004cb0| 65 3a 20 32 36 20 4a 75 | 6c 20 31 39 39 34 20 30 |e: 26 Ju|l 1994 0|
|00004cc0| 34 3a 30 31 3a 35 37 20 | 47 4d 54 0d 4f 72 67 61 |4:01:57 |GMT.Orga|
|00004cd0| 6e 69 7a 61 74 69 6f 6e | 3a 20 4d 61 79 6f 20 43 |nization|: Mayo C|
|00004ce0| 6c 69 6e 69 63 0d 0d 49 | 27 76 65 20 77 6f 72 6b |linic..I|'ve work|
|00004cf0| 69 6e 67 20 6f 6e 20 61 | 20 64 69 61 6c 6f 67 20 |ing on a| dialog |
|00004d00| 62 6f 78 20 74 68 61 74 | 20 74 61 6b 65 73 20 61 |box that| takes a|
|00004d10| 20 74 69 6d 65 2c 20 65 | 2e 67 2e 2c 20 32 33 3a | time, e|.g., 23:|
|00004d20| 31 32 3a 31 34 2e 33 35 | 20 61 73 0d 75 73 65 72 |12:14.35| as.user|
|00004d30| 20 69 6e 70 75 74 2e 20 | 20 54 68 65 20 69 6e 70 | input. | The inp|
|00004d40| 75 74 20 69 73 20 6f 72 | 67 61 6e 69 7a 65 64 20 |ut is or|ganized |
|00004d50| 69 6e 74 6f 20 66 6f 75 | 72 20 65 64 69 74 20 74 |into fou|r edit t|
|00004d60| 65 78 74 20 62 6f 78 65 | 73 20 2d 20 68 6f 75 72 |ext boxe|s - hour|
|00004d70| 73 2c 0d 6d 69 6e 75 74 | 65 73 2c 20 73 65 63 6f |s,.minut|es, seco|
|00004d80| 6e 64 73 2c 20 61 6e 64 | 20 68 75 6e 64 72 65 64 |nds, and| hundred|
|00004d90| 74 68 73 2e 0d 0d 42 65 | 66 6f 72 65 20 49 20 70 |ths...Be|fore I p|
|00004da0| 6f 73 65 20 6d 79 20 71 | 75 65 73 74 69 6f 6e 2c |ose my q|uestion,|
|00004db0| 20 49 20 73 68 6f 75 6c | 64 20 6c 65 74 20 79 6f | I shoul|d let yo|
|00004dc0| 75 20 6b 6e 6f 77 20 74 | 68 61 74 20 49 20 6f 72 |u know t|hat I or|
|00004dd0| 64 65 72 65 64 20 74 68 | 65 0d 22 54 65 78 74 22 |dered th|e."Text"|
|00004de0| 20 76 6f 6c 75 6d 65 20 | 6f 66 20 49 6e 73 69 64 | volume |of Insid|
|00004df0| 65 20 4d 61 63 69 6e 74 | 6f 73 68 20 2d 20 69 74 |e Macint|osh - it|
|00004e00| 20 6a 75 73 74 20 68 61 | 73 6e 27 74 20 61 72 72 | just ha|sn't arr|
|00004e10| 69 76 65 64 20 79 65 74 | 2e 20 20 53 6f 2c 20 69 |ived yet|. So, i|
|00004e20| 66 0d 74 68 65 20 61 6e | 73 77 65 72 20 74 6f 20 |f.the an|swer to |
|00004e30| 6d 79 20 71 75 65 73 74 | 69 6f 6e 20 69 73 20 69 |my quest|ion is i|
|00004e40| 6e 2d 64 65 70 74 68 20 | 61 6e 64 20 63 6f 76 65 |n-depth |and cove|
|00004e50| 72 65 64 20 69 6e 20 74 | 68 61 74 20 62 6f 6f 6b |red in t|hat book|
|00004e60| 2c 20 66 65 65 6c 0d 66 | 72 65 65 20 74 6f 20 62 |, feel.f|ree to b|
|00004e70| 6c 6f 77 20 74 68 69 73 | 20 6f 66 66 2e 20 20 48 |low this| off. H|
|00004e80| 6f 77 65 76 65 72 2c 20 | 6f 6e 20 74 68 65 20 6f |owever, |on the o|
|00004e90| 66 66 20 63 68 61 6e 63 | 65 20 74 68 61 74 20 74 |ff chanc|e that t|
|00004ea0| 68 65 72 65 27 73 20 61 | 0d 72 65 6c 61 74 69 76 |here's a|.relativ|
|00004eb0| 65 6c 79 20 71 75 69 63 | 6b 2c 20 65 61 73 79 20 |ely quic|k, easy |
|00004ec0| 61 6e 73 77 65 72 2c 20 | 49 27 6c 6c 20 67 6f 20 |answer, |I'll go |
|00004ed0| 61 68 65 61 64 20 61 6e | 64 20 70 6f 73 65 20 74 |ahead an|d pose t|
|00004ee0| 68 65 20 71 75 65 73 74 | 69 6f 6e 3a 0d 0d 57 68 |he quest|ion:..Wh|
|00004ef0| 61 74 27 73 20 74 68 65 | 20 62 65 73 74 20 77 61 |at's the| best wa|
|00004f00| 79 20 74 6f 20 72 65 73 | 74 72 69 63 74 20 74 68 |y to res|trict th|
|00004f10| 65 20 69 6e 70 75 74 20 | 6f 66 20 65 61 63 68 20 |e input |of each |
|00004f20| 6f 66 20 74 68 65 20 74 | 65 78 74 20 65 64 69 74 |of the t|ext edit|
|00004f30| 0d 62 6f 78 65 73 20 74 | 6f 20 74 77 6f 20 64 69 |.boxes t|o two di|
|00004f40| 67 69 74 73 3f 20 20 49 | 27 76 65 20 70 6c 61 79 |gits? I|'ve play|
|00004f50| 65 64 20 77 69 74 68 20 | 61 20 66 65 77 20 64 69 |ed with |a few di|
|00004f60| 66 66 65 72 65 6e 74 20 | 69 64 65 61 73 2c 20 62 |fferent |ideas, b|
|00004f70| 75 74 20 49 0d 63 6f 6e | 74 69 6e 75 65 20 74 6f |ut I.con|tinue to|
|00004f80| 20 62 65 20 70 6c 61 67 | 75 65 64 20 62 79 20 74 | be plag|ued by t|
|00004f90| 68 65 20 66 75 6e 6b 79 | 20 73 63 72 6f 6c 6c 69 |he funky| scrolli|
|00004fa0| 6e 67 20 74 68 61 74 20 | 65 6e 73 75 65 73 20 77 |ng that |ensues w|
|00004fb0| 68 65 6e 20 74 68 65 20 | 75 73 65 72 0d 65 6e 74 |hen the |user.ent|
|00004fc0| 65 72 73 20 6d 6f 72 65 | 20 74 68 61 6e 20 74 77 |ers more| than tw|
|00004fd0| 6f 20 64 69 67 69 74 73 | 2e 20 20 49 20 64 6f 6e |o digits|. I don|
|00004fe0| 27 74 20 77 61 6e 74 20 | 74 6f 20 62 65 20 74 6f |'t want |to be to|
|00004ff0| 6f 20 6d 75 63 68 20 6f | 66 20 61 20 6e 61 7a 69 |o much o|f a nazi|
|00005000| 20 69 6e 0d 74 68 65 20 | 77 61 79 20 49 20 72 65 | in.the |way I re|
|00005010| 73 74 72 69 63 74 20 74 | 68 65 20 69 6e 70 75 74 |strict t|he input|
|00005020| 2c 20 69 2e 65 2e 2c 20 | 49 27 64 20 70 72 65 66 |, i.e., |I'd pref|
|00005030| 65 72 20 74 6f 20 62 65 | 20 77 69 74 68 69 6e 20 |er to be| within |
|00005040| 73 69 67 68 74 20 6f 66 | 0d 41 70 70 6c 65 27 73 |sight of|.Apple's|
|00005050| 20 75 73 65 72 20 69 6e | 74 65 72 66 61 63 65 20 | user in|terface |
|00005060| 67 75 69 64 65 6c 69 6e | 65 73 2e 20 20 49 66 20 |guidelin|es. If |
|00005070| 49 20 63 6f 75 6c 64 20 | 63 6f 75 6e 74 20 6f 6e |I could |count on|
|00005080| 20 74 68 65 20 75 73 65 | 72 20 74 61 62 69 6e 67 | the use|r tabing|
|00005090| 0d 74 6f 20 65 61 63 68 | 20 66 69 65 6c 64 20 61 |.to each| field a|
|000050a0| 6e 64 20 6a 75 73 74 20 | 72 65 70 6c 61 63 69 6e |nd just |replacin|
|000050b0| 67 20 68 69 67 68 6c 69 | 67 68 74 65 64 20 74 65 |g highli|ghted te|
|000050c0| 78 74 2c 20 74 68 69 6e | 67 73 20 77 6f 75 6c 64 |xt, thin|gs would|
|000050d0| 20 62 65 0d 65 61 73 79 | 2e 20 20 49 74 27 73 20 | be.easy|. It's |
|000050e0| 64 65 61 6c 69 6e 67 20 | 77 69 74 68 20 74 68 65 |dealing |with the|
|000050f0| 20 69 6e 73 65 72 74 69 | 6f 6e 20 70 6f 69 6e 74 | inserti|on point|
|00005100| 20 61 6e 64 20 77 68 61 | 74 20 68 61 70 70 65 6e | and wha|t happen|
|00005110| 73 20 74 6f 20 74 68 65 | 0d 74 65 78 74 20 61 73 |s to the|.text as|
|00005120| 20 61 20 72 65 73 75 6c | 74 20 74 68 61 74 20 68 | a resul|t that h|
|00005130| 61 73 20 6d 65 20 73 74 | 75 6d 70 65 64 2e 0d 0d |as me st|umped...|
|00005140| 41 6e 79 20 73 75 67 67 | 65 73 74 69 6f 6e 73 20 |Any sugg|estions |
|00005150| 77 6f 75 6c 64 20 62 65 | 20 61 70 70 72 65 63 69 |would be| appreci|
|00005160| 61 74 65 64 21 20 20 0d | 0d 2a 2a 2a 2a 2a 2a 2a |ated! .|.*******|
|00005170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000051a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 0d |********|*******.|
|000051b0| 2a 20 20 41 6c 20 53 70 | 6f 68 6e 20 20 20 73 70 |* Al Sp|ohn sp|
|000051c0| 6f 68 6e 40 6d 61 79 6f | 2e 65 64 75 20 20 35 30 |ohn@mayo|.edu 50|
|000051d0| 37 2d 32 38 34 2d 31 36 | 36 36 20 4d 61 79 6f 20 |7-284-16|66 Mayo |
|000051e0| 43 6c 69 6e 69 63 20 20 | 48 69 6c 74 6f 6e 20 35 |Clinic |Hilton 5|
|000051f0| 31 37 41 20 20 2a 0d 2a | 2a 2a 2a 2a 2a 2a 2a 2a |17A *.*|********|
|00005200| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005210| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005220| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005230| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0d 0d 2b |********|*****..+|
|00005240| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00005250| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 0d 0d 3e 46 72 6f |++++++++|++..>Fro|
|00005260| 6d 20 64 6f 75 67 77 40 | 61 73 74 72 6f 2e 61 73 |m dougw@|astro.as|
|00005270| 2e 61 72 69 7a 6f 6e 61 | 2e 65 64 75 20 28 44 6f |.arizona|.edu (Do|
|00005280| 75 67 20 57 69 6c 6c 69 | 61 6d 73 29 0d 44 61 74 |ug Willi|ams).Dat|
|00005290| 65 3a 20 32 36 20 4a 75 | 6c 20 31 39 39 34 20 31 |e: 26 Ju|l 1994 1|
|000052a0| 34 3a 30 35 3a 34 35 20 | 47 4d 54 0d 4f 72 67 61 |4:05:45 |GMT.Orga|
|000052b0| 6e 69 7a 61 74 69 6f 6e | 3a 20 55 6e 69 76 65 72 |nization|: Univer|
|000052c0| 73 69 74 79 20 6f 66 20 | 41 72 69 7a 6f 6e 61 2c |sity of |Arizona,|
|000052d0| 20 54 75 63 73 6f 6e 2c | 20 41 5a 0d 0d 49 6e 20 | Tucson,| AZ..In |
|000052e0| 61 72 74 69 63 6c 65 20 | 3c 33 31 32 31 72 6c 24 |article |<3121rl$|
|000052f0| 69 68 67 40 66 65 72 6d | 61 74 2e 6d 61 79 6f 2e |ihg@ferm|at.mayo.|
|00005300| 65 64 75 3e 20 73 70 6f | 68 6e 40 6d 61 79 6f 2e |edu> spo|hn@mayo.|
|00005310| 65 64 75 20 28 41 6c 20 | 53 70 6f 68 6e 29 20 77 |edu (Al |Spohn) w|
|00005320| 72 69 74 65 73 3a 0d 3e | 57 68 61 74 27 73 20 74 |rites:.>|What's t|
|00005330| 68 65 20 62 65 73 74 20 | 77 61 79 20 74 6f 20 72 |he best |way to r|
|00005340| 65 73 74 72 69 63 74 20 | 74 68 65 20 69 6e 70 75 |estrict |the inpu|
|00005350| 74 20 6f 66 20 65 61 63 | 68 20 6f 66 20 74 68 65 |t of eac|h of the|
|00005360| 20 74 65 78 74 20 65 64 | 69 74 0d 3e 62 6f 78 65 | text ed|it.>boxe|
|00005370| 73 20 74 6f 20 74 77 6f | 20 64 69 67 69 74 73 3f |s to two| digits?|
|00005380| 20 20 49 27 76 65 20 70 | 6c 61 79 65 64 20 77 69 | I've p|layed wi|
|00005390| 74 68 20 61 20 66 65 77 | 20 64 69 66 66 65 72 65 |th a few| differe|
|000053a0| 6e 74 20 69 64 65 61 73 | 2c 20 62 75 74 20 49 0d |nt ideas|, but I.|
|000053b0| 3e 41 6e 79 20 73 75 67 | 67 65 73 74 69 6f 6e 73 |>Any sug|gestions|
|000053c0| 20 77 6f 75 6c 64 20 62 | 65 20 61 70 70 72 65 63 | would b|e apprec|
|000053d0| 69 61 74 65 64 21 20 20 | 0d 0d 0d 47 65 74 20 44 |iated! |...Get D|
|000053e0| 69 61 6c 6f 67 42 69 74 | 73 20 66 72 6f 6d 20 66 |ialogBit|s from f|
|000053f0| 74 70 2e 61 70 70 6c 65 | 2e 63 6f 6d 2e 20 20 49 |tp.apple|.com. I|
|00005400| 74 20 68 61 73 20 77 6f | 72 6b 69 6e 67 20 73 6f |t has wo|rking so|
|00005410| 75 72 63 65 20 63 6f 64 | 65 20 74 6f 0d 68 61 6e |urce cod|e to.han|
|00005420| 64 6c 65 20 65 78 61 63 | 74 6c 79 20 77 68 61 74 |dle exac|tly what|
|00005430| 20 79 6f 75 20 61 72 65 | 20 61 73 6b 69 6e 67 20 | you are| asking |
|00005440| 66 6f 72 20 28 6c 69 6d | 69 74 69 6e 67 20 74 68 |for (lim|iting th|
|00005450| 65 20 6e 75 6d 62 65 72 | 20 6f 66 0d 63 68 61 72 |e number| of.char|
|00005460| 61 63 74 65 72 73 20 69 | 6e 20 61 6e 20 65 64 69 |acters i|n an edi|
|00005470| 74 20 62 6f 78 29 2c 20 | 61 6e 64 20 61 6c 73 6f |t box), |and also|
|00005480| 20 73 68 6f 77 20 68 6f | 77 20 74 6f 20 6c 69 6d | show ho|w to lim|
|00005490| 69 74 20 74 68 65 20 69 | 6e 70 75 74 20 74 6f 0d |it the i|nput to.|
|000054a0| 6f 6e 6c 79 20 64 69 67 | 69 74 73 2e 20 20 54 68 |only dig|its. Th|
|000054b0| 65 72 65 20 61 72 65 20 | 61 20 66 65 77 20 6d 69 |ere are |a few mi|
|000054c0| 73 74 61 6b 65 73 20 69 | 6e 20 69 74 20 28 3c 20 |stakes i|n it (< |
|000054d0| 69 6e 73 74 65 61 64 20 | 6f 66 20 3c 3d 29 2c 20 |instead |of <=), |
|000054e0| 62 75 74 0d 74 68 65 79 | 20 61 72 65 20 70 72 65 |but.they| are pre|
|000054f0| 74 74 79 20 6f 62 76 69 | 6f 75 73 2e 0d 0d 2d 3d |tty obvi|ous...-=|
|00005500| 2d 64 6f 75 67 2d 3d 2d | 0d 0d 0d 0d 2b 2b 2b 2b |-doug-=-|....++++|
|00005510| 2b 2b 2b 2b 2b 2b 2b 2b | 2b 2b 2b 2b 2b 2b 2b 2b |++++++++|++++++++|
|00005520| 2b 2b 2b 2b 2b 2b 2b 0d | 0d 3e 46 72 6f 6d 20 6d |+++++++.|.>From m|
|00005530| 61 72 6b 5f 74 69 6c 6c | 69 6e 67 68 61 73 74 40 |ark_till|inghast@|
|00005540| 6c 61 6d 67 2e 63 6f 6d | 20 28 6d 61 72 6b 20 74 |lamg.com| (mark t|
|00005550| 69 6c 6c 69 6e 67 68 61 | 73 74 29 0d 44 61 74 65 |illingha|st).Date|
|00005560| 3a 20 32 36 20 4a 75 6c | 20 31 39 39 34 20 30 37 |: 26 Jul| 1994 07|
|00005570| 3a 35 33 3a 34 39 20 2d | 30 30 30 30 0d 4f 72 67 |:53:49 -|0000.Org|
|00005580| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 4c 6f 73 20 41 |anizatio|n: Los A|
|00005590| 6e 67 65 6c 65 73 20 4d | 61 63 69 6e 74 6f 73 68 |ngeles M|acintosh|
|000055a0| 20 47 72 6f 75 70 20 42 | 42 53 0d 0d 41 6c 20 53 | Group B|BS..Al S|
|000055b0| 70 6f 68 6e 2c 73 70 6f | 68 6e 40 6d 61 79 6f 2e |pohn,spo|hn@mayo.|
|000055c0| 65 64 75 2c 49 6e 74 65 | 72 6e 65 74 20 77 72 69 |edu,Inte|rnet wri|
|000055d0| 74 65 73 3a 0d 3e 49 27 | 76 65 20 77 6f 72 6b 69 |tes:.>I'|ve worki|
|000055e0| 6e 67 20 6f 6e 20 61 20 | 64 69 61 6c 6f 67 20 62 |ng on a |dialog b|
|000055f0| 6f 78 20 74 68 61 74 20 | 74 61 6b 65 73 20 61 20 |ox that |takes a |
|00005600| 74 69 6d 65 2c 20 65 2e | 67 2e 2c 20 32 33 3a 31 |time, e.|g., 23:1|
|00005610| 32 3a 31 34 2e 33 35 20 | 61 73 0d 3e 75 73 65 72 |2:14.35 |as.>user|
|00005620| 20 69 6e 70 75 74 2e 20 | 20 54 68 65 20 69 6e 70 | input. | The inp|
|00005630| 75 74 20 69 73 20 6f 72 | 67 61 6e 69 7a 65 64 20 |ut is or|ganized |
|00005640| 69 6e 74 6f 20 66 6f 75 | 72 20 65 64 69 74 20 74 |into fou|r edit t|
|00005650| 65 78 74 20 62 6f 78 65 | 73 20 2d 20 68 6f 75 72 |ext boxe|s - hour|
|00005660| 73 2c 0d 3e 6d 69 6e 75 | 74 65 73 2c 20 73 65 63 |s,.>minu|tes, sec|
|00005670| 6f 6e 64 73 2c 20 61 6e | 64 20 68 75 6e 64 72 65 |onds, an|d hundre|
|00005680| 64 74 68 73 2e 0d 0d 0d | 3e 57 68 61 74 27 73 20 |dths....|>What's |
|00005690| 74 68 65 20 62 65 73 74 | 20 77 61 79 20 74 6f 20 |the best| way to |
|000056a0| 72 65 73 74 72 69 63 74 | 20 74 68 65 20 69 6e 70 |restrict| the inp|
|000056b0| 75 74 20 6f 66 20 65 61 | 63 68 20 6f 66 20 74 68 |ut of ea|ch of th|
|000056c0| 65 20 74 65 78 74 20 65 | 64 69 74 0d 3e 62 6f 78 |e text e|dit.>box|
|000056d0| 65 73 20 74 6f 20 74 77 | 6f 20 64 69 67 69 74 73 |es to tw|o digits|
|000056e0| 3f 20 20 49 27 76 65 20 | 70 6c 61 79 65 64 20 77 |? I've |played w|
|000056f0| 69 74 68 20 61 20 66 65 | 77 20 64 69 66 66 65 72 |ith a fe|w differ|
|00005700| 65 6e 74 20 69 64 65 61 | 73 2c 20 62 75 74 20 49 |ent idea|s, but I|
|00005710| 0d 3e 63 6f 6e 74 69 6e | 75 65 20 74 6f 20 62 65 |.>contin|ue to be|
|00005720| 20 70 6c 61 67 75 65 64 | 20 62 79 20 74 68 65 20 | plagued| by the |
|00005730| 66 75 6e 6b 79 20 73 63 | 72 6f 6c 6c 69 6e 67 20 |funky sc|rolling |
|00005740| 74 68 61 74 20 65 6e 73 | 75 65 73 20 77 68 65 6e |that ens|ues when|
|00005750| 20 74 68 65 20 75 73 65 | 72 0d 3e 65 6e 74 65 72 | the use|r.>enter|
|00005760| 73 20 6d 6f 72 65 20 74 | 68 61 6e 20 74 77 6f 20 |s more t|han two |
|00005770| 64 69 67 69 74 73 2e 20 | 20 49 20 64 6f 6e 27 74 |digits. | I don't|
|00005780| 20 77 61 6e 74 20 74 6f | 20 62 65 20 74 6f 6f 20 | want to| be too |
|00005790| 6d 75 63 68 20 6f 66 20 | 61 20 6e 61 7a 69 20 69 |much of |a nazi i|
|000057a0| 6e 0d 3e 74 68 65 20 77 | 61 79 20 49 20 72 65 73 |n.>the w|ay I res|
|000057b0| 74 72 69 63 74 20 74 68 | 65 20 69 6e 70 75 74 2c |trict th|e input,|
|000057c0| 20 69 2e 65 2e 2c 20 49 | 27 64 20 70 72 65 66 65 | i.e., I|'d prefe|
|000057d0| 72 20 74 6f 20 62 65 20 | 77 69 74 68 69 6e 20 73 |r to be |within s|
|000057e0| 69 67 68 74 20 6f 66 0d | 3e 41 70 70 6c 65 27 73 |ight of.|>Apple's|
|000057f0| 20 75 73 65 72 20 69 6e | 74 65 72 66 61 63 65 20 | user in|terface |
|00005800| 67 75 69 64 65 6c 69 6e | 65 73 2e 20 20 49 66 20 |guidelin|es. If |
|00005810| 49 20 63 6f 75 6c 64 20 | 63 6f 75 6e 74 20 6f 6e |I could |count on|
|00005820| 20 74 68 65 20 75 73 65 | 72 20 74 61 62 69 6e 67 | the use|r tabing|
|00005830| 0d 3e 74 6f 20 65 61 63 | 68 20 66 69 65 6c 64 20 |.>to eac|h field |
|00005840| 61 6e 64 20 6a 75 73 74 | 20 72 65 70 6c 61 63 69 |and just| replaci|
|00005850| 6e 67 20 68 69 67 68 6c | 69 67 68 74 65 64 20 74 |ng highl|ighted t|
|00005860| 65 78 74 2c 20 74 68 69 | 6e 67 73 20 77 6f 75 6c |ext, thi|ngs woul|
|00005870| 64 20 62 65 0d 3e 65 61 | 73 79 2e 20 20 49 74 27 |d be.>ea|sy. It'|
|00005880| 73 20 64 65 61 6c 69 6e | 67 20 77 69 74 68 20 74 |s dealin|g with t|
|00005890| 68 65 20 69 6e 73 65 72 | 74 69 6f 6e 20 70 6f 69 |he inser|tion poi|
|000058a0| 6e 74 20 61 6e 64 20 77 | 68 61 74 20 68 61 70 70 |nt and w|hat happ|
|000058b0| 65 6e 73 20 74 6f 20 74 | 68 65 0d 3e 74 65 78 74 |ens to t|he.>text|
|000058c0| 20 61 73 20 61 20 72 65 | 73 75 6c 74 20 74 68 61 | as a re|sult tha|
|000058d0| 74 20 68 61 73 20 6d 65 | 20 73 74 75 6d 70 65 64 |t has me| stumped|
|000058e0| 2e 0d 0d 0d 20 4f 6e 65 | 20 77 61 79 20 69 73 20 |.... One| way is |
|000058f0| 74 6f 20 63 72 65 61 74 | 65 20 61 20 66 69 6c 74 |to creat|e a filt|
|00005900| 65 72 2d 70 72 6f 63 20 | 66 6f 72 20 79 6f 75 72 |er-proc |for your|
|00005910| 20 64 69 61 6c 6f 67 2e | 20 54 68 61 74 20 77 61 | dialog.| That wa|
|00005920| 79 20 79 6f 75 20 63 61 | 6e 0d 63 6f 6e 76 69 65 |y you ca|n.convie|
|00005930| 6e 74 6c 79 20 72 65 73 | 74 72 69 63 74 20 69 74 |ntly res|trict it|
|00005940| 20 74 6f 20 74 77 6f 20 | 64 69 67 69 74 73 2c 20 | to two |digits, |
|00005950| 65 72 72 6f 72 20 74 72 | 61 70 20 62 61 64 20 74 |error tr|ap bad t|
|00005960| 69 6d 65 73 2c 20 28 69 | 65 20 32 35 2e 36 31 2e |imes, (i|e 25.61.|
|00005970| 36 31 2e 30 30 29 2e 0d | 54 68 65 20 66 69 6c 74 |61.00)..|The filt|
|00005980| 65 72 70 72 6f 63 20 65 | 73 73 65 6e 74 69 61 6c |erproc e|ssential|
|00005990| 6c 79 20 67 69 76 65 73 | 20 79 6f 75 20 66 69 72 |ly gives| you fir|
|000059a0| 73 74 20 64 69 62 73 20 | 6f 6e 20 74 68 65 20 4e |st dibs |on the N|
|000059b0| 65 78 74 20 65 76 65 6e | 74 2e 20 0d 20 20 59 6f |ext even|t. . Yo|
|000059c0| 75 20 6e 65 65 64 20 73 | 6f 6d 74 68 69 6e 67 20 |u need s|omthing |
|000059d0| 6d 6f 72 65 20 74 68 61 | 6e 20 49 6e 73 69 64 65 |more tha|n Inside|
|000059e0| 20 4d 61 63 69 6e 74 6f | 73 68 20 69 66 20 79 6f | Macinto|sh if yo|
|000059f0| 75 20 61 72 65 20 67 6f | 69 6e 67 20 74 6f 20 75 |u are go|ing to u|
|00005a00| 73 65 20 74 68 65 20 43 | 0d 70 72 6f 67 72 61 6d |se the C|.program|
|00005a10| 6d 69 6e 67 20 6c 61 6e | 67 75 61 67 65 2e 20 49 |ming lan|guage. I|
|00005a20| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 20 |nside Ma|cintosh |
|00005a30| 64 65 73 63 72 69 62 65 | 73 20 74 68 69 6e 67 73 |describe|s things|
|00005a40| 20 69 6e 20 74 65 72 6d | 73 20 6f 66 20 74 68 65 | in term|s of the|
|00005a50| 0d 70 61 73 63 61 6c 20 | 70 72 6f 67 72 61 6d 6d |.pascal |programm|
|00005a60| 69 6e 67 20 6c 61 6e 67 | 75 61 67 65 2c 20 61 6e |ing lang|uage, an|
|00005a70| 64 20 74 68 65 20 74 72 | 61 6e 73 6c 61 74 69 6f |d the tr|anslatio|
|00005a80| 6e 20 74 6f 20 74 68 65 | 20 43 20 70 72 6f 67 72 |n to the| C progr|
|00005a90| 61 6d 6d 69 6e 67 0d 6c | 61 6e 67 75 61 67 65 20 |amming.l|anguage |
|00005aa0| 69 73 2c 20 69 6e 20 74 | 68 65 20 63 61 73 65 20 |is, in t|he case |
|00005ab0| 6f 66 20 74 68 65 20 66 | 69 6c 74 65 72 70 72 6f |of the f|ilterpro|
|00005ac0| 63 2c 20 69 6e 6f 62 76 | 69 6f 75 73 2e 20 0d 20 |c, inobv|ious. . |
|00005ad0| 20 49 74 20 69 73 20 70 | 72 65 63 69 73 65 6c 79 | It is p|recisely|
|00005ae0| 20 62 65 63 61 75 73 65 | 20 49 6e 73 69 64 65 20 | because| Inside |
|00005af0| 4d 61 63 69 6e 74 6f 73 | 68 20 69 73 20 69 6e 20 |Macintos|h is in |
|00005b00| 70 61 73 63 61 6c 20 74 | 68 61 74 20 49 20 72 65 |pascal t|hat I re|
|00005b10| 63 6f 6d 6d 65 6e 64 0d | 22 4d 61 63 69 6e 74 6f |commend.|"Macinto|
|00005b20| 73 68 20 50 72 6f 67 72 | 61 6d 6d 69 6e 67 20 53 |sh Progr|amming S|
|00005b30| 65 63 72 65 74 73 22 20 | 62 79 20 53 63 6f 74 74 |ecrets" |by Scott|
|00005b40| 20 4b 6e 61 73 74 65 72 | 20 61 6e 64 20 4b 65 69 | Knaster| and Kei|
|00005b50| 74 68 20 52 6f 6c 6c 69 | 6e 73 20 20 32 6e 64 0d |th Rolli|ns 2nd.|
|00005b60| 45 64 69 74 69 6f 6e 20 | 41 64 64 69 73 6f 6e 20 |Edition |Addison |
|00005b70| 57 65 73 6c 65 79 20 31 | 39 39 32 2e 20 43 68 61 |Wesley 1|992. Cha|
|00005b80| 70 74 65 72 20 34 20 6f | 66 20 74 68 69 73 20 62 |pter 4 o|f this b|
|00005b90| 6f 6f 6b 20 64 65 61 6c | 73 20 77 69 74 68 20 64 |ook deal|s with d|
|00005ba0| 69 61 6c 6f 67 73 20 6d | 6f 64 61 6c 0d 61 6e 64 |ialogs m|odal.and|
|00005bb0| 20 6d 6f 64 65 6c 65 73 | 73 2e 0d 0d 49 20 68 61 | modeles|s...I ha|
|00005bc0| 76 65 20 64 6f 6e 65 20 | 74 68 69 73 20 66 69 6c |ve done |this fil|
|00005bd0| 74 65 72 20 70 72 6f 63 | 20 74 68 69 6e 67 20 62 |ter proc| thing b|
|00005be0| 65 66 6f 72 65 2c 20 62 | 75 74 20 69 66 20 79 6f |efore, b|ut if yo|
|00005bf0| 75 20 77 61 6e 74 20 74 | 6f 20 6b 6e 6f 77 20 77 |u want t|o know w|
|00005c00| 68 61 74 20 49 0d 74 68 | 69 6e 6b 20 69 73 20 61 |hat I.th|ink is a|
|00005c10| 20 73 6c 69 63 6b 20 77 | 61 79 20 74 6f 20 64 6f | slick w|ay to do|
|00005c20| 20 69 74 2c 20 74 61 6b | 65 20 61 20 6c 6f 6f 6b | it, tak|e a look|
|00005c30| 20 61 74 20 74 68 65 20 | 61 6c 61 72 6d 20 63 6c | at the |alarm cl|
|00005c40| 6f 63 6b 20 44 41 2e 20 | 20 49 66 20 79 6f 75 0d |ock DA. | If you.|
|00005c50| 6d 61 6b 65 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |make you|r progra|
|00005c60| 6d 20 62 65 68 61 76 65 | 20 6c 69 6b 65 20 74 68 |m behave| like th|
|00005c70| 65 20 61 6c 61 72 6d 20 | 63 6c 6f 63 6b 20 44 41 |e alarm |clock DA|
|00005c80| 2c 20 49 20 74 68 69 6e | 6b 20 69 74 20 77 69 6c |, I thin|k it wil|
|00005c90| 6c 20 62 65 20 65 61 73 | 79 20 74 6f 0d 75 73 65 |l be eas|y to.use|
|00005ca0| 2e 20 0d 0d 48 61 76 65 | 20 66 75 6e 21 0d 0d 0d |. ..Have| fun!...|
|00005cb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005cc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 3e 46 72 |--------|---..>Fr|
|00005cd0| 6f 6d 20 6a 75 6d 70 6c | 6f 6e 67 40 61 6f 6c 2e |om jumpl|ong@aol.|
|00005ce0| 63 6f 6d 20 28 4a 75 6d | 70 20 4c 6f 6e 67 29 0d |com (Jum|p Long).|
|00005cf0| 53 75 62 6a 65 63 74 3a | 20 4d 6f 72 65 46 69 6c |Subject:| MoreFil|
|00005d00| 65 73 20 31 2e 32 20 61 | 76 61 69 6c 61 62 6c 65 |es 1.2 a|vailable|
|00005d10| 20 6f 6e 20 66 74 70 2e | 61 70 70 6c 65 2e 63 6f | on ftp.|apple.co|
|00005d20| 6d 0d 44 61 74 65 3a 20 | 32 37 20 4a 75 6c 20 31 |m.Date: |27 Jul 1|
|00005d30| 39 39 34 20 31 31 3a 35 | 32 3a 30 38 20 2d 30 34 |994 11:5|2:08 -04|
|00005d40| 30 30 0d 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |00.Organ|ization:|
|00005d50| 20 41 6d 65 72 69 63 61 | 20 4f 6e 6c 69 6e 65 2c | America| Online,|
|00005d60| 20 49 6e 63 2e 20 28 31 | 2d 38 30 30 2d 38 32 37 | Inc. (1|-800-827|
|00005d70| 2d 36 33 36 34 29 0d 0d | 59 65 73 74 65 72 64 61 |-6364)..|Yesterda|
|00005d80| 79 20 49 20 66 69 6e 69 | 73 68 65 64 20 4d 6f 72 |y I fini|shed Mor|
|00005d90| 65 46 69 6c 65 73 20 31 | 2e 32 2e 20 20 49 27 76 |eFiles 1|.2. I'v|
|00005da0| 65 20 61 64 64 65 64 20 | 6c 6f 74 73 20 6f 66 20 |e added |lots of |
|00005db0| 6e 65 77 20 63 6f 64 65 | 2c 20 61 6e 64 0d 65 6e |new code|, and.en|
|00005dc0| 68 61 6e 63 65 64 20 73 | 65 76 65 72 61 6c 20 6f |hanced s|everal o|
|00005dd0| 66 20 74 68 65 20 65 78 | 69 73 74 69 6e 67 20 72 |f the ex|isting r|
|00005de0| 6f 75 74 69 6e 65 73 2e | 20 54 68 65 20 63 68 61 |outines.| The cha|
|00005df0| 6e 67 65 20 68 69 73 74 | 6f 72 79 20 66 6f 72 20 |nge hist|ory for |
|00005e00| 76 65 72 73 69 6f 6e 0d | 31 2e 32 20 69 73 20 70 |version.|1.2 is p|
|00005e10| 61 73 74 65 64 20 62 65 | 6c 6f 77 2e 0d 0d 4d 6f |asted be|low...Mo|
|00005e20| 72 65 46 69 6c 65 20 31 | 2e 32 20 69 73 20 61 76 |reFile 1|.2 is av|
|00005e30| 61 69 6c 61 62 6c 65 20 | 6e 6f 77 20 61 74 3a 0d |ailable |now at:.|
|00005e40| 0d 20 20 20 20 66 74 70 | 2e 61 70 70 6c 65 2e 63 |. ftp|.apple.c|
|00005e50| 6f 6d 20 28 49 50 20 61 | 64 64 72 65 73 73 20 31 |om (IP a|ddress 1|
|00005e60| 33 30 2e 34 33 2e 32 2e | 33 29 0d 0d 20 20 20 20 |30.43.2.|3).. |
|00005e70| 2f 66 74 70 2f 64 74 73 | 2f 6d 61 63 2f 73 63 2f |/ftp/dts|/mac/sc/|
|00005e80| 6d 6f 72 65 2d 66 69 6c | 65 73 2d 31 2d 32 2e 68 |more-fil|es-1-2.h|
|00005e90| 71 78 0d 0d 54 68 61 6e | 6b 73 20 74 6f 20 61 6c |qx..Than|ks to al|
|00005ea0| 6c 20 6f 66 20 79 6f 75 | 20 77 68 6f 20 68 61 76 |l of you| who hav|
|00005eb0| 65 20 72 65 70 6f 72 74 | 65 64 20 62 75 67 73 2c |e report|ed bugs,|
|00005ec0| 20 6f 72 20 73 75 67 67 | 65 73 74 65 64 20 65 6e | or sugg|ested en|
|00005ed0| 68 61 6e 63 65 6d 65 6e | 74 73 20 61 6e 64 0d 61 |hancemen|ts and.a|
|00005ee0| 64 64 69 74 69 6f 6e 73 | 2e 0d 0d 2d 20 4a 69 6d |dditions|...- Jim|
|00005ef0| 20 4c 75 74 68 65 72 2c | 20 41 70 70 6c 65 20 44 | Luther,| Apple D|
|00005f00| 65 76 65 6c 6f 70 65 72 | 20 54 65 63 68 6e 69 63 |eveloper| Technic|
|00005f10| 61 6c 20 53 75 70 70 6f | 72 74 0d 0d 2d 20 2d 2d |al Suppo|rt..- --|
|00005f20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005f30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005f40| 2d 2d 2d 2d 0d 76 31 2e | 32 20 20 30 37 2f 32 30 |----.v1.|2 07/20|
|00005f50| 2f 39 34 0d 0d 4e 65 77 | 20 52 6f 75 74 69 6e 65 |/94..New| Routine|
|00005f60| 73 3a 0d 2d 20 20 41 64 | 64 65 64 20 47 65 74 44 |s:.- Ad|ded GetD|
|00005f70| 49 6e 66 6f 2c 20 46 53 | 70 47 65 74 44 49 6e 66 |Info, FS|pGetDInf|
|00005f80| 6f 2c 20 53 65 74 44 49 | 6e 66 6f 2c 20 46 53 70 |o, SetDI|nfo, FSp|
|00005f90| 53 65 74 44 49 6e 66 6f | 2c 20 43 68 65 63 6b 56 |SetDInfo|, CheckV|
|00005fa0| 6f 6c 4c 6f 63 6b 2c 0d | 43 68 65 63 6b 4f 62 6a |olLock,.|CheckObj|
|00005fb0| 65 63 74 4c 6f 63 6b 2c | 20 61 6e 64 20 46 53 70 |ectLock,| and FSp|
|00005fc0| 43 68 65 63 6b 4f 62 6a | 65 63 74 4c 6f 63 6b 20 |CheckObj|ectLock |
|00005fd0| 74 6f 20 4d 6f 72 65 46 | 69 6c 65 73 45 78 74 72 |to MoreF|ilesExtr|
|00005fe0| 61 73 2e 0d 2d 20 20 41 | 64 64 65 64 20 4d 6f 72 |as..- A|dded Mor|
|00005ff0| 65 44 65 73 6b 74 6f 70 | 4d 67 72 2e 20 49 6e 20 |eDesktop|Mgr. In |
|00006000| 74 68 65 20 70 72 6f 63 | 65 73 73 2c 20 49 20 6d |the proc|ess, I m|
|00006010| 6f 76 65 64 20 47 65 74 | 43 6f 6d 6d 65 6e 74 2c |oved Get|Comment,|
|00006020| 20 53 65 74 43 6f 6d 6d | 65 6e 74 2c 0d 61 6e 64 | SetComm|ent,.and|
|00006030| 20 43 6f 70 79 43 6f 6d | 6d 65 6e 74 20 6f 76 65 | CopyCom|ment ove|
|00006040| 72 20 66 72 6f 6d 20 4d | 6f 72 65 46 69 6c 65 73 |r from M|oreFiles|
|00006050| 45 78 74 72 61 73 20 61 | 6e 64 20 63 68 61 6e 67 |Extras a|nd chang|
|00006060| 65 64 20 74 68 65 69 72 | 20 6e 61 6d 65 73 20 28 |ed their| names (|
|00006070| 61 64 64 65 64 20 61 0d | 44 54 29 2e 20 20 4d 79 |added a.|DT). My|
|00006080| 20 61 70 6f 6c 6f 67 69 | 65 73 20 74 6f 20 61 6e | apologi|es to an|
|00006090| 79 6f 6e 65 20 74 68 69 | 73 20 41 50 49 20 63 68 |yone thi|s API ch|
|000060a0| 61 6e 67 65 20 73 63 72 | 65 77 73 20 75 70 2e 20 |ange scr|ews up. |
|000060b0| 49 20 74 68 69 6e 6b 20 | 74 68 65 20 6e 65 77 0d |I think |the new.|
|000060c0| 61 6e 64 20 69 6d 70 72 | 6f 76 65 64 20 63 6f 64 |and impr|oved cod|
|000060d0| 65 20 6d 61 6b 65 73 20 | 75 70 20 66 6f 72 20 74 |e makes |up for t|
|000060e0| 68 65 20 68 61 73 73 6c | 65 73 2e 0d 2d 20 20 41 |he hassl|es..- A|
|000060f0| 64 64 65 64 20 53 65 61 | 72 63 68 2e 20 45 76 65 |dded Sea|rch. Eve|
|00006100| 72 20 77 61 6e 74 20 74 | 6f 20 73 65 61 72 63 68 |r want t|o search|
|00006110| 20 61 20 76 6f 6c 75 6d | 65 20 77 69 74 68 20 50 | a volum|e with P|
|00006120| 42 43 61 74 53 65 61 72 | 63 68 20 61 6e 64 20 69 |BCatSear|ch and i|
|00006130| 74 0d 69 73 6e 27 74 20 | 61 76 61 69 6c 61 62 6c |t.isn't |availabl|
|00006140| 65 3f 20 54 68 65 6e 20 | 79 6f 75 27 6c 6c 20 6c |e? Then |you'll l|
|00006150| 69 6b 65 20 74 68 69 73 | 20 63 6f 64 65 2e 0d 0d |ike this| code...|
|00006160| 45 6e 68 61 6e 63 65 6d | 65 6e 74 73 20 74 6f 20 |Enhancem|ents to |
|00006170| 65 78 69 73 74 69 6e 67 | 20 72 6f 75 74 69 6e 65 |existing| routine|
|00006180| 73 3a 0d 2d 20 20 4d 61 | 64 65 20 63 68 61 6e 67 |s:.- Ma|de chang|
|00006190| 65 73 20 66 6f 72 20 70 | 6f 77 65 72 63 2e 0d 2d |es for p|owerc..-|
|000061a0| 20 20 54 48 49 4e 4b 20 | 43 20 70 72 6f 6a 65 63 | THINK |C projec|
|000061b0| 74 20 69 73 20 66 6f 72 | 20 76 65 72 73 69 6f 6e |t is for| version|
|000061c0| 20 37 2e 30 2e 33 2e 0d | 2d 20 20 52 65 66 6f 72 | 7.0.3..|- Refor|
|000061d0| 6d 61 74 74 65 64 20 63 | 6f 64 65 20 74 6f 20 6d |matted c|ode to m|
|000061e0| 65 65 74 20 6e 65 77 20 | 44 54 53 20 73 74 61 6e |eet new |DTS stan|
|000061f0| 64 61 72 64 73 20 66 6f | 72 20 73 61 6d 70 6c 65 |dards fo|r sample|
|00006200| 20 63 6f 64 65 2e 0d 2d | 20 20 41 64 64 65 64 20 | code..-| Added |
|00006210| 63 6f 64 65 20 74 6f 20 | 46 69 6c 65 43 6f 70 79 |code to |FileCopy|
|00006220| 20 74 6f 20 6f 70 65 6e | 20 61 6e 64 20 63 6f 70 | to open| and cop|
|00006230| 79 20 6f 6e 6c 79 20 66 | 69 6c 65 20 66 6f 72 6b |y only f|ile fork|
|00006240| 73 20 74 68 61 74 20 63 | 6f 6e 74 61 69 6e 0d 64 |s that c|ontain.d|
|00006250| 61 74 61 2e 20 42 79 20 | 64 6f 69 6e 67 20 74 68 |ata. By |doing th|
|00006260| 69 73 2c 20 77 65 20 77 | 6f 6e 27 74 20 63 72 65 |is, we w|on't cre|
|00006270| 61 74 65 20 61 20 64 61 | 74 61 20 6f 72 20 72 65 |ate a da|ta or re|
|00006280| 73 6f 75 72 63 65 20 66 | 6f 72 6b 20 66 6f 72 20 |source f|ork for |
|00006290| 74 68 65 0d 63 6f 70 69 | 65 64 20 66 69 6c 65 20 |the.copi|ed file |
|000062a0| 75 6e 6c 65 73 73 20 69 | 74 27 73 20 72 65 61 6c |unless i|t's real|
|000062b0| 6c 79 20 6e 65 65 64 65 | 64 20 28 73 6f 6d 65 20 |ly neede|d (some |
|000062c0| 66 6f 72 65 69 67 6e 20 | 66 69 6c 65 20 73 79 73 |foreign |file sys|
|000062d0| 74 65 6d 73 20 73 75 63 | 68 20 61 73 0d 74 68 65 |tems suc|h as.the|
|000062e0| 20 50 72 6f 44 4f 53 20 | 46 69 6c 65 20 53 79 73 | ProDOS |File Sys|
|000062f0| 74 65 6d 20 61 6e 64 20 | 4d 61 63 69 6e 74 6f 73 |tem and |Macintos|
|00006300| 68 20 50 43 20 45 78 63 | 68 61 6e 67 65 20 68 61 |h PC Exc|hange ha|
|00006310| 76 65 20 74 6f 20 63 72 | 65 61 74 65 20 61 64 64 |ve to cr|eate add|
|00006320| 69 74 69 6f 6e 61 6c 0d | 64 69 73 6b 20 73 74 72 |itional.|disk str|
|00006330| 75 63 74 75 72 65 73 20 | 74 6f 20 73 75 70 70 6f |uctures |to suppo|
|00006340| 72 74 20 72 65 73 6f 75 | 72 63 65 20 66 6f 72 6b |rt resou|rce fork|
|00006350| 73 29 2e 0d 2d 20 20 41 | 64 64 65 64 20 63 6f 64 |s)..- A|dded cod|
|00006360| 65 20 74 6f 20 46 69 6c | 65 43 6f 70 79 20 74 6f |e to Fil|eCopy to|
|00006370| 20 63 6f 70 79 20 74 68 | 65 20 66 69 6c 65 20 61 | copy th|e file a|
|00006380| 74 74 72 69 62 75 74 65 | 73 20 74 6f 20 74 68 65 |ttribute|s to the|
|00006390| 20 64 65 73 74 69 6e 61 | 74 69 6f 6e 0d 6f 6e 6c | destina|tion.onl|
|000063a0| 79 20 69 66 20 74 68 65 | 20 64 65 73 74 69 6e 61 |y if the| destina|
|000063b0| 74 69 6f 6e 20 69 73 20 | 61 6e 20 41 70 70 6c 65 |tion is |an Apple|
|000063c0| 53 68 61 72 65 20 64 72 | 6f 70 20 62 6f 78 2e 20 |Share dr|op box. |
|000063d0| 54 68 61 74 20 77 61 79 | 2c 20 69 66 20 74 68 65 |That way|, if the|
|000063e0| 20 66 69 6c 65 0d 68 61 | 73 20 74 68 65 20 62 75 | file.ha|s the bu|
|000063f0| 6e 64 6c 65 20 62 69 74 | 20 73 65 74 20 61 6e 64 |ndle bit| set and|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.