home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-08-30 | 4.9 KB | [ TEXT/ttxt]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Mon Aug 30 10:17:34 1993, modified Mon Aug 30 10:17:34 1993, creator SimpleText, type ASCII, 4351 bytes "SimpliFace2 user notes" , at 0x117f 428 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ ttxt]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 16 53 69 6d 70 6c 69 | 46 61 63 65 32 20 75 73 |..Simpli|Face2 us| |00000010| 65 72 20 6e 6f 74 65 73 | 00 00 00 00 00 00 00 00 |er notes|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 74 74 78 | 74 01 00 00 00 00 00 00 |.TEXTttx|t.......| |00000050| 00 00 00 00 00 10 ff 00 | 00 01 ac a8 a7 bc 7e a8 |........|......~.| |00000060| a7 bc 7e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..~.....|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 67 35 00 00 |........|....g5..| |00000080| 53 69 6d 70 6c 69 46 61 | 63 65 20 76 65 72 73 69 |SimpliFa|ce versi| |00000090| 6f 6e 20 31 2e 30 61 32 | 0d 33 30 20 41 75 67 75 |on 1.0a2|.30 Augu| |000000a0| 73 74 20 31 39 39 33 0d | 0d 43 6f 70 79 72 69 67 |st 1993.|.Copyrig| |000000b0| 68 74 20 a9 20 31 39 39 | 33 2c 20 63 6f 6d 6d 73 |ht . 199|3, comms| |000000c0| 74 61 6c 6b 20 68 71 2e | 20 41 6c 6c 20 52 69 67 |talk hq.| All Rig| |000000d0| 68 74 73 20 52 65 73 65 | 72 76 65 64 2e 0d 43 6f |hts Rese|rved..Co| |000000e0| 6d 6d 65 72 63 69 61 6c | 20 75 73 65 20 72 65 73 |mmercial| use res| |000000f0| 74 72 69 63 74 65 64 3a | 20 63 6f 6e 74 61 63 74 |tricted:| contact| |00000100| 20 27 63 6f 6d 6d 73 74 | 61 6c 6b 2e 68 71 27 20 | 'commst|alk.hq' | |00000110| 6f 6e 20 41 70 70 6c 65 | 4c 69 6e 6b 20 66 6f 72 |on Apple|Link for| |00000120| 20 64 65 74 61 69 6c 73 | 2e 0d 0d 0d 53 69 6d 70 | details|....Simp| |00000130| 6c 69 46 61 63 65 20 72 | 65 71 75 69 72 65 73 20 |liFace r|equires | |00000140| 41 70 70 6c 65 53 63 72 | 69 70 74 20 76 65 72 73 |AppleScr|ipt vers| |00000150| 69 6f 6e 20 31 2e 30 2e | 0d 0d 54 68 69 73 20 69 |ion 1.0.|..This i| |00000160| 73 20 61 20 73 69 6d 70 | 6c 65 20 73 63 72 69 70 |s a simp|le scrip| |00000170| 74 61 62 6c 65 20 26 20 | 61 74 74 61 63 68 61 62 |table & |attachab| |00000180| 6c 65 20 41 45 20 4f 62 | 6a 65 63 74 20 4d 6f 64 |le AE Ob|ject Mod| |00000190| 65 6c 20 63 6f 6d 70 6c | 69 61 6e 74 20 61 70 70 |el compl|iant app| |000001a0| 6c 69 63 61 74 69 6f 6e | 2e 20 49 74 20 6f 66 66 |lication|. It off| |000001b0| 65 72 73 20 62 61 73 69 | 63 20 77 69 6e 64 6f 77 |ers basi|c window| |000001c0| 20 62 75 69 6c 64 69 6e | 67 20 66 61 63 69 6c 69 | buildin|g facili| |000001d0| 74 69 65 73 3a 20 79 6f | 75 20 63 61 6e 20 75 73 |ties: yo|u can us| |000001e0| 65 20 69 74 20 74 6f 20 | 63 6f 6e 73 74 72 75 63 |e it to |construc| |000001f0| 74 20 73 63 72 69 70 74 | 65 64 20 77 69 6e 64 6f |t script|ed windo| |00000200| 77 73 20 74 68 61 74 20 | 63 6f 6e 74 61 69 6e 20 |ws that |contain | |00000210| 74 65 78 74 20 66 69 65 | 6c 64 73 20 28 6e 6f 74 |text fie|lds (not| |00000220| 20 65 64 69 74 61 62 6c | 65 20 74 65 78 74 2c 20 | editabl|e text, | |00000230| 79 65 74 29 20 61 6e 64 | 20 62 75 74 74 6f 6e 73 |yet) and| buttons| |00000240| 2e 0d 0d 54 68 65 20 6f | 62 6a 65 63 74 20 63 6f |...The o|bject co| |00000250| 6e 74 61 69 6e 6d 65 6e | 74 20 68 69 65 72 61 72 |ntainmen|t hierar| |00000260| 63 68 79 20 66 6f 72 20 | 53 69 6d 70 6c 69 46 61 |chy for |SimpliFa| |00000270| 63 65 20 6c 6f 6f 6b 73 | 20 6c 69 6b 65 20 74 68 |ce looks| like th| |00000280| 69 73 3a 0d 0d 20 20 20 | 61 70 70 6c 69 63 61 74 |is:.. |applicat| |00000290| 69 6f 6e 20 28 73 65 74 | 74 61 62 6c 65 20 70 72 |ion (set|table pr| |000002a0| 6f 70 65 72 74 69 65 73 | 3a 20 73 63 72 69 70 74 |operties|: script| |000002b0| 2c 20 73 68 61 72 65 64 | 20 68 61 6e 64 6c 65 72 |, shared| handler| |000002c0| 73 29 0d 20 20 20 20 20 | 7c 0d 20 20 20 20 20 7c |s). ||. || |000002d0| 2d 2d 3e 20 77 69 6e 64 | 6f 77 20 28 73 65 74 74 |--> wind|ow (sett| |000002e0| 61 62 6c 65 20 70 72 6f | 70 65 72 74 69 65 73 3a |able pro|perties:| |000002f0| 20 73 63 72 69 70 74 2c | 20 6e 61 6d 65 2c 20 62 | script,| name, b| |00000300| 6f 75 6e 64 73 2c 20 65 | 74 63 29 0d 20 20 20 20 |ounds, e|tc). | |00000310| 20 20 20 20 20 20 20 20 | 20 20 7c 0d 20 20 20 20 | | |. | |00000320| 20 20 20 20 20 20 20 20 | 20 20 7c 2d 2d 3e 20 62 | | |--> b| |00000330| 75 74 74 6f 6e 20 28 73 | 65 74 74 61 62 6c 65 20 |utton (s|ettable | |00000340| 70 72 6f 70 65 72 74 69 | 65 73 3a 20 73 63 72 69 |properti|es: scri| |00000350| 70 74 2c 20 6e 61 6d 65 | 2c 20 6b 69 6e 64 2c 20 |pt, name|, kind, | |00000360| 62 6f 75 6e 64 73 29 0d | 20 20 20 20 20 20 20 20 |bounds).| | |00000370| 20 20 20 20 20 20 7c 0d | 20 20 20 20 20 20 20 20 | |.| | |00000380| 20 20 20 20 20 20 7c 2d | 2d 3e 20 74 65 78 74 20 | |-|-> text | |00000390| 66 69 65 6c 64 20 28 73 | 65 74 74 61 62 6c 65 20 |field (s|ettable | |000003a0| 70 72 6f 70 65 72 74 69 | 65 73 3a 20 73 63 72 69 |properti|es: scri| |000003b0| 70 74 2c 20 6e 61 6d 65 | 2c 20 63 6f 6e 74 65 6e |pt, name|, conten| |000003c0| 74 73 2c 20 62 6f 75 6e | 64 73 29 0d 0d 4f 70 65 |ts, boun|ds)..Ope| |000003d0| 6e 20 74 68 65 20 53 69 | 6d 70 6c 69 46 61 63 65 |n the Si|mpliFace| |000003e0| 20 44 69 63 74 69 6f 6e | 61 72 79 2c 20 75 73 69 | Diction|ary, usi| |000003f0| 6e 67 20 74 68 65 20 41 | 70 70 6c 65 53 63 72 69 |ng the A|ppleScri| |00000400| 70 74 20 53 63 72 69 70 | 74 20 45 64 69 74 6f 72 |pt Scrip|t Editor| |00000410| 2c 20 74 6f 20 73 65 65 | 20 6d 6f 72 65 20 64 65 |, to see| more de| |00000420| 74 61 69 6c 73 2e 20 4e | 6f 74 65 20 74 68 61 74 |tails. N|ote that| |00000430| 20 6e 6f 74 20 61 6c 6c | 20 61 70 70 6c 65 20 65 | not all| apple e| |00000440| 76 65 6e 74 73 20 61 6e | 64 20 70 72 6f 70 65 72 |vents an|d proper| |00000450| 74 69 65 73 20 69 6e 20 | 74 68 65 20 44 69 63 74 |ties in |the Dict| |00000460| 69 6f 6e 61 72 79 20 61 | 72 65 20 69 6d 70 6c 65 |ionary a|re imple| |00000470| 6d 65 6e 74 65 64 20 79 | 65 74 20 28 61 6c 6c 20 |mented y|et (all | |00000480| 74 68 65 20 61 62 6f 76 | 65 2d 6c 69 73 74 65 64 |the abov|e-listed| |00000490| 20 70 72 6f 70 65 72 74 | 69 65 73 20 61 72 65 29 | propert|ies are)| |000004a0| 2e 0d 0d 54 68 65 20 73 | 63 72 69 70 74 69 6e 67 |...The s|cripting| |000004b0| 20 6d 6f 64 65 6c 20 66 | 6f 72 20 53 69 6d 70 6c | model f|or Simpl| |000004c0| 69 46 61 63 65 20 69 73 | 20 74 68 61 74 20 74 68 |iFace is| that th| |000004d0| 65 72 65 20 69 73 20 6f | 6e 65 20 27 73 68 61 72 |ere is o|ne 'shar| |000004e0| 65 64 20 68 61 6e 64 6c | 65 72 73 27 20 73 63 72 |ed handl|ers' scr| |000004f0| 69 70 74 20 28 61 20 70 | 72 6f 70 65 72 74 79 20 |ipt (a p|roperty | |00000500| 6f 66 20 74 68 65 20 61 | 70 70 6c 69 63 61 74 69 |of the a|pplicati| |00000510| 6f 6e 20 6f 62 6a 65 63 | 74 29 20 74 68 61 74 20 |on objec|t) that | |00000520| 69 73 20 75 73 65 64 20 | 74 6f 20 64 65 66 69 6e |is used |to defin| |00000530| 65 20 73 75 62 72 6f 75 | 74 69 6e 65 73 20 61 6e |e subrou|tines an| |00000540| 64 20 61 65 76 74 20 68 | 61 6e 64 6c 65 72 73 20 |d aevt h|andlers | |00000550| 74 68 61 74 20 61 72 65 | 20 73 68 61 72 65 64 20 |that are| shared | |00000560| 62 65 74 77 65 65 6e 20 | 61 6c 6c 20 6f 62 6a 65 |between |all obje| |00000570| 63 74 73 2e 20 54 68 69 | 73 20 73 63 72 69 70 74 |cts. Thi|s script| |00000580| 20 69 73 20 74 68 65 20 | 27 70 61 72 65 6e 74 27 | is the |'parent'| |00000590| 20 6f 66 20 61 6c 6c 20 | 6f 74 68 65 72 20 73 63 | of all |other sc| |000005a0| 72 69 70 74 73 2e 0d 0d | 57 68 65 6e 20 61 6e 20 |ripts...|When an | |000005b0| 41 70 70 6c 65 20 45 76 | 65 6e 74 20 69 73 20 72 |Apple Ev|ent is r| |000005c0| 65 63 65 69 76 65 64 20 | 62 79 20 53 69 6d 70 6c |eceived |by Simpl| |000005d0| 69 46 61 63 65 2c 20 53 | 69 6d 70 6c 69 46 61 63 |iFace, S|impliFac| |000005e0| 65 20 72 65 73 6f 6c 76 | 65 73 20 74 68 65 20 6f |e resolv|es the o| |000005f0| 62 6a 65 63 74 20 74 68 | 61 74 20 74 68 65 20 65 |bject th|at the e| |00000600| 76 65 6e 74 20 69 73 20 | 61 69 6d 65 64 20 61 74 |vent is |aimed at| |00000610| 20 28 74 68 65 20 27 64 | 69 72 65 63 74 20 70 61 | (the 'd|irect pa| |00000620| 72 61 6d 65 74 65 72 27 | 20 6f 66 20 74 68 65 20 |rameter'| of the | |00000630| 65 76 65 6e 74 20 73 70 | 65 63 69 66 69 65 73 20 |event sp|ecifies | |00000640| 74 68 65 20 74 61 72 67 | 65 74 20 6f 62 6a 65 63 |the targ|et objec| |00000650| 74 29 2e 20 53 69 6d 70 | 6c 69 46 61 63 65 20 74 |t). Simp|liFace t| |00000660| 68 65 6e 20 64 69 73 70 | 61 74 63 68 65 73 20 74 |hen disp|atches t| |00000670| 68 65 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 74 |he Apple| Event t| |00000680| 6f 20 74 68 65 20 73 63 | 72 69 70 74 20 6f 66 20 |o the sc|ript of | |00000690| 74 68 65 20 74 61 72 67 | 65 74 20 6f 62 6a 65 63 |the targ|et objec| |000006a0| 74 2e 20 53 69 6e 63 65 | 20 74 68 65 20 70 61 72 |t. Since| the par| |000006b0| 65 6e 74 20 6f 66 20 74 | 68 61 74 20 73 63 72 69 |ent of t|hat scri| |000006c0| 70 74 20 69 73 20 74 68 | 65 20 73 68 61 72 65 64 |pt is th|e shared| |000006d0| 20 68 61 6e 64 6c 65 72 | 73 20 73 63 72 69 70 74 | handler|s script| |000006e0| 2c 20 68 61 6e 64 6c 65 | 72 73 20 69 6e 20 69 74 |, handle|rs in it| |000006f0| 20 63 61 6e 20 72 65 66 | 65 72 20 74 6f 20 68 61 | can ref|er to ha| |00000700| 6e 64 6c 65 72 73 20 69 | 6e 20 74 68 65 20 73 68 |ndlers i|n the sh| |00000710| 61 72 65 64 20 73 63 72 | 69 70 74 2e 0d 0d 55 73 |ared scr|ipt...Us| |00000720| 65 72 2d 69 6e 69 74 69 | 61 74 65 64 20 6b 65 79 |er-initi|ated key| |00000730| 62 6f 61 72 64 20 6f 72 | 20 6d 6f 75 73 65 20 61 |board or| mouse a| |00000740| 63 74 69 6f 6e 73 20 61 | 72 65 20 69 6e 74 65 72 |ctions a|re inter| |00000750| 63 65 70 74 65 64 20 62 | 79 20 53 69 6d 70 6c 69 |cepted b|y Simpli| |00000760| 46 61 63 65 2c 20 61 6e | 64 20 63 6f 6e 76 65 72 |Face, an|d conver| |00000770| 74 65 64 20 74 6f 20 61 | 20 73 70 65 63 69 61 6c |ted to a| special| |00000780| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 20 63 61 6c | Apple E|vent cal| |00000790| 6c 65 64 20 61 20 27 75 | 73 65 72 20 65 76 65 6e |led a 'u|ser even| |000007a0| 74 27 2e 20 54 68 69 73 | 20 65 6e 63 61 70 73 75 |t'. This| encapsu| |000007b0| 6c 61 74 65 73 20 74 68 | 65 20 6b 69 6e 64 20 6f |lates th|e kind o| |000007c0| 66 20 65 76 65 6e 74 20 | 28 6d 6f 75 73 65 20 64 |f event |(mouse d| |000007d0| 6f 77 6e 20 69 6e 20 77 | 69 6e 64 6f 77 20 63 6f |own in w|indow co| |000007e0| 6e 74 65 6e 74 2c 20 6d | 65 6e 75 20 73 65 6c 65 |ntent, m|enu sele| |000007f0| 63 74 69 6f 6e 2c 20 6f | 72 20 6b 65 79 20 70 72 |ction, o|r key pr| |00000800| 65 73 73 65 64 29 2c 20 | 74 6f 67 65 74 68 65 72 |essed), |together| |00000810| 20 77 69 74 68 20 6f 74 | 68 65 72 20 69 6e 66 6f | with ot|her info| |00000820| 72 6d 61 74 69 6f 6e 20 | 74 68 61 74 20 6d 69 67 |rmation |that mig| |00000830| 68 74 20 62 65 20 75 73 | 65 66 75 6c 20 74 6f 20 |ht be us|eful to | |00000840| 74 68 65 20 73 63 72 69 | 70 74 20 73 75 63 68 20 |the scri|pt such | |00000850| 61 73 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |as the n|ame of t| |00000860| 68 65 20 6d 65 6e 75 20 | 61 6e 64 20 74 68 65 20 |he menu |and the | |00000870| 6d 65 6e 75 20 69 74 65 | 6d 20 28 66 6f 72 20 61 |menu ite|m (for a| |00000880| 20 6d 65 6e 75 20 73 65 | 6c 65 63 74 69 6f 6e 20 | menu se|lection | |00000890| 65 76 65 6e 74 29 2e 20 | 54 68 65 20 27 75 73 65 |event). |The 'use| |000008a0| 72 20 65 76 65 6e 74 27 | 20 69 73 20 64 69 73 70 |r event'| is disp| |000008b0| 61 74 63 68 65 64 20 74 | 6f 20 74 68 65 20 73 63 |atched t|o the sc| |000008c0| 72 69 70 74 20 6f 66 20 | 74 68 65 20 63 75 72 72 |ript of |the curr| |000008d0| 65 6e 74 20 77 69 6e 64 | 6f 77 20 28 69 66 20 74 |ent wind|ow (if t| |000008e0| 68 65 72 65 20 69 73 20 | 6f 6e 65 2c 20 6f 72 20 |here is |one, or | |000008f0| 64 69 72 65 63 74 20 74 | 6f 20 74 68 65 20 73 68 |direct t|o the sh| |00000900| 61 72 65 64 20 68 61 6e | 64 6c 65 72 73 20 73 63 |ared han|dlers sc| |00000910| 72 69 70 74 20 69 66 20 | 74 68 65 72 65 20 69 73 |ript if |there is| |00000920| 20 6e 6f 74 29 2e 20 54 | 68 65 20 73 61 6d 70 6c | not). T|he sampl| |00000930| 65 20 73 68 61 72 65 64 | 20 68 61 6e 64 6c 65 72 |e shared| handler| |00000940| 73 20 73 63 72 69 70 74 | 20 77 65 20 68 61 76 65 |s script| we have| |00000950| 20 73 75 70 70 6c 69 65 | 73 20 72 65 2d 64 69 73 | supplie|s re-dis| |00000960| 70 61 74 63 68 65 73 20 | 74 68 69 73 20 61 73 20 |patches |this as | |00000970| 61 20 73 75 62 72 6f 75 | 74 69 6e 65 20 63 61 6c |a subrou|tine cal| |00000980| 6c 20 6d 65 73 73 61 67 | 65 20 74 6f 20 74 68 65 |l messag|e to the| |00000990| 20 77 69 6e 64 6f 77 20 | 73 63 72 69 70 74 2c 20 | window |script, | |000009a0| 77 68 69 63 68 20 63 61 | 6e 20 68 61 6e 64 6c 65 |which ca|n handle| |000009b0| 20 69 74 20 69 66 20 69 | 74 20 77 69 73 68 65 73 | it if i|t wishes| |000009c0| 2e 0d 0d 54 68 65 20 77 | 61 79 20 74 68 61 74 20 |...The w|ay that | |000009d0| 53 69 6d 70 6c 69 46 61 | 63 65 20 77 6f 72 6b 73 |SimpliFa|ce works| |000009e0| 20 69 73 20 74 68 61 74 | 20 69 66 20 61 6e 79 20 | is that| if any | |000009f0| 72 75 6e 2d 74 69 6d 65 | 20 65 72 72 6f 72 20 6f |run-time| error o| |00000a00| 63 63 75 72 73 20 69 6e | 20 74 68 65 20 73 63 72 |ccurs in| the scr| |00000a10| 69 70 74 20 77 68 69 6c | 65 20 74 68 65 20 75 73 |ipt whil|e the us| |00000a20| 65 72 20 65 76 65 6e 74 | 20 69 73 20 62 65 69 6e |er event| is bein| |00000a30| 67 20 68 61 6e 64 6c 65 | 64 2c 20 6f 72 20 69 66 |g handle|d, or if| |00000a40| 20 74 68 65 20 6d 65 73 | 73 61 67 65 20 69 73 20 | the mes|sage is | |00000a50| 27 63 6f 6e 74 69 6e 75 | 65 64 27 20 6f 75 74 20 |'continu|ed' out | |00000a60| 6f 66 20 74 68 65 20 6c | 61 73 74 20 68 61 6e 64 |of the l|ast hand| |00000a70| 6c 65 72 20 74 68 61 74 | 20 63 61 75 67 68 74 20 |ler that| caught | |00000a80| 69 74 2c 20 6f 72 20 69 | 66 20 74 68 65 20 75 73 |it, or i|f the us| |00000a90| 65 72 20 65 76 65 6e 74 | 20 69 73 20 6e 6f 74 20 |er event| is not | |00000aa0| 68 61 6e 64 6c 65 64 20 | 61 74 20 61 6c 6c 2c 20 |handled |at all, | |00000ab0| 74 68 65 20 6e 6f 72 6d | 61 6c 20 62 65 68 61 76 |the norm|al behav| |00000ac0| 69 6f 75 72 20 66 6f 72 | 20 74 68 61 74 20 65 76 |iour for| that ev| |00000ad0| 65 6e 74 20 74 61 6b 65 | 73 20 70 6c 61 63 65 20 |ent take|s place | |00000ae0| 69 6e 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 63 |in the p|rogram c| |00000af0| 6f 64 65 2e 0d 0d 55 73 | 65 72 20 65 76 65 6e 74 |ode...Us|er event| |00000b00| 73 20 77 6f 72 6b 20 61 | 20 6c 69 74 74 6c 65 20 |s work a| little | |00000b10| 64 69 66 66 65 72 65 6e | 74 6c 79 2c 20 69 66 20 |differen|tly, if | |00000b20| 74 68 65 72 65 20 69 73 | 20 61 6e 20 61 63 74 69 |there is| an acti| |00000b30| 76 65 20 53 69 6d 70 6c | 69 46 61 63 65 20 77 69 |ve Simpl|iFace wi| |00000b40| 6e 64 6f 77 2e 20 49 66 | 20 74 68 65 72 65 20 69 |ndow. If| there i| |00000b50| 73 20 61 20 6d 6f 75 73 | 65 20 63 6c 69 63 6b 20 |s a mous|e click | |00000b60| 69 6e 20 61 20 74 65 78 | 74 20 66 69 65 6c 64 20 |in a tex|t field | |00000b70| 6f 72 20 62 75 74 74 6f | 6e 2c 20 74 68 65 20 73 |or butto|n, the s| |00000b80| 63 72 69 70 74 20 66 6f | 72 20 74 68 65 20 66 69 |cript fo|r the fi| |00000b90| 65 6c 64 20 6f 72 20 62 | 75 74 74 6f 6e 20 28 69 |eld or b|utton (i| |00000ba0| 66 20 74 68 65 72 65 20 | 69 73 20 6f 6e 65 29 20 |f there |is one) | |00000bb0| 67 65 74 73 20 66 69 72 | 73 74 20 63 72 61 63 6b |gets fir|st crack| |00000bc0| 20 61 74 20 74 68 65 20 | 75 73 65 72 20 65 76 65 | at the |user eve| |00000bd0| 6e 74 2e 20 49 6e 20 74 | 68 69 73 20 73 69 74 75 |nt. In t|his situ| |00000be0| 61 74 69 6f 6e 2c 20 74 | 68 65 20 70 61 72 65 6e |ation, t|he paren| |00000bf0| 74 20 6f 66 20 74 68 65 | 20 66 69 65 6c 64 20 6f |t of the| field o| |00000c00| 72 20 62 75 74 74 6f 6e | 20 73 63 72 69 70 74 20 |r button| script | |00000c10| 69 73 20 74 68 65 20 77 | 69 6e 64 6f 77 27 73 20 |is the w|indow's | |00000c20| 73 63 72 69 70 74 2c 20 | 61 6e 64 20 74 68 65 20 |script, |and the | |00000c30| 70 61 72 65 6e 74 20 6f | 66 20 74 68 65 20 77 69 |parent o|f the wi| |00000c40| 6e 64 6f 77 27 73 20 73 | 63 72 69 70 74 20 69 73 |ndow's s|cript is| |00000c50| 20 73 74 69 6c 6c 20 74 | 68 65 20 73 68 61 72 65 | still t|he share| |00000c60| 64 20 68 61 6e 64 6c 65 | 72 73 20 73 63 72 69 70 |d handle|rs scrip| |00000c70| 74 2e 0d 0d 49 66 20 74 | 68 65 20 75 73 65 72 20 |t...If t|he user | |00000c80| 61 74 74 65 6d 70 74 73 | 20 74 6f 20 63 6c 6f 73 |attempts| to clos| |00000c90| 65 20 61 20 77 69 6e 64 | 6f 77 2c 20 74 68 65 20 |e a wind|ow, the | |00000ca0| 27 63 6c 6f 73 65 27 20 | 41 70 70 6c 65 20 45 76 |'close' |Apple Ev| |00000cb0| 65 6e 74 20 6d 65 73 73 | 61 67 65 20 69 73 20 73 |ent mess|age is s| |00000cc0| 65 6e 74 20 74 6f 20 74 | 68 65 20 73 63 72 69 70 |ent to t|he scrip| |00000cd0| 74 20 6f 66 20 74 68 65 | 20 77 69 6e 64 6f 77 2e |t of the| window.| |00000ce0| 20 49 66 20 74 68 65 20 | 73 63 72 69 70 74 20 68 | If the |script h| |00000cf0| 61 6e 64 6c 65 73 20 74 | 68 65 20 6d 65 73 73 61 |andles t|he messa| |00000d00| 67 65 20 61 6e 64 20 64 | 6f 65 73 20 6e 6f 74 20 |ge and d|oes not | |00000d10| 27 63 6f 6e 74 69 6e 75 | 65 27 20 69 74 2c 20 61 |'continu|e' it, a| |00000d20| 6e 64 20 61 73 20 6c 6f | 6e 67 20 61 73 20 6e 6f |nd as lo|ng as no| |00000d30| 20 73 63 72 69 70 74 20 | 65 72 72 6f 72 20 6f 63 | script |error oc| |00000d40| 63 75 72 73 2c 20 74 68 | 65 20 77 69 6e 64 6f 77 |curs, th|e window| |00000d50| 20 77 69 6c 6c 20 6e 6f | 74 20 62 65 20 63 6c 6f | will no|t be clo| |00000d60| 73 65 64 2e 20 4f 74 68 | 65 72 77 69 73 65 2c 20 |sed. Oth|erwise, | |00000d70| 74 68 65 20 77 69 6e 64 | 6f 77 20 77 69 6c 6c 20 |the wind|ow will | |00000d80| 62 65 20 63 6c 6f 73 65 | 64 20 61 73 20 6e 6f 72 |be close|d as nor| |00000d90| 6d 61 6c 2e 0d 0d 47 6c | 6f 62 61 6c 20 76 61 72 |mal...Gl|obal var| |00000da0| 69 61 62 6c 65 73 20 61 | 72 65 20 73 75 70 70 6f |iables a|re suppo| |00000db0| 72 74 65 64 20 69 6e 20 | 73 63 72 69 70 74 73 2e |rted in |scripts.| |00000dc0| 20 47 6c 6f 62 61 6c 73 | 20 74 68 61 74 20 61 72 | Globals| that ar| |00000dd0| 65 20 64 65 63 6c 61 72 | 65 64 20 69 6e 20 68 61 |e declar|ed in ha| |00000de0| 6e 64 6c 65 72 73 20 75 | 73 69 6e 67 20 74 68 65 |ndlers u|sing the| |00000df0| 20 27 67 6c 6f 62 61 6c | 27 20 6b 65 79 77 6f 72 | 'global|' keywor| |00000e00| 64 20 77 69 6c 6c 2c 20 | 61 73 20 6c 6f 6e 67 20 |d will, |as long | |00000e10| 61 73 20 74 68 65 79 20 | 61 72 65 20 5f 6e 6f 74 |as they |are _not| |00000e20| 5f 20 64 65 66 69 6e 65 | 64 20 61 73 20 70 72 6f |_ define|d as pro| |00000e30| 70 65 72 74 69 65 73 20 | 69 6e 20 61 6e 79 20 63 |perties |in any c| |00000e40| 75 72 72 65 6e 74 6c 79 | 20 65 78 65 63 75 74 69 |urrently| executi| |00000e50| 6e 67 20 73 63 72 69 70 | 74 2c 20 62 65 20 61 76 |ng scrip|t, be av| |00000e60| 61 69 6c 61 62 6c 65 20 | 74 6f 20 68 61 6e 64 6c |ailable |to handl| |00000e70| 65 72 73 20 69 6e 20 61 | 6c 6c 20 73 63 72 69 70 |ers in a|ll scrip| |00000e80| 74 73 2e 0d 0d 53 69 6d | 70 6c 69 46 61 63 65 20 |ts...Sim|pliFace | |00000e90| 64 6f 65 73 20 6e 6f 74 | 20 73 74 6f 72 65 20 77 |does not| store w| |00000ea0| 69 6e 64 6f 77 20 70 72 | 6f 70 65 72 74 69 65 73 |indow pr|operties| |00000eb0| 20 6f 72 20 6f 62 6a 65 | 63 74 20 73 63 72 69 70 | or obje|ct scrip| |00000ec0| 74 73 20 6f 6e 20 64 69 | 73 6b 2c 20 73 6f 20 65 |ts on di|sk, so e| |00000ed0| 76 65 72 79 20 74 69 6d | 65 20 79 6f 75 20 6c 61 |very tim|e you la| |00000ee0| 75 6e 63 68 20 69 74 20 | 79 6f 75 20 6e 65 65 64 |unch it |you need| |00000ef0| 20 74 6f 20 73 65 74 20 | 75 70 20 74 68 65 20 73 | to set |up the s| |00000f00| 68 61 72 65 64 20 68 61 | 6e 64 6c 65 72 73 20 61 |hared ha|ndlers a| |00000f10| 6e 64 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 73 |nd appli|cation s| |00000f20| 63 72 69 70 74 73 2c 20 | 61 6e 64 20 79 6f 75 20 |cripts, |and you | |00000f30| 6d 75 73 74 20 72 65 63 | 72 65 61 74 65 20 61 6c |must rec|reate al| |00000f40| 6c 20 77 69 6e 64 6f 77 | 73 20 61 6e 64 20 77 69 |l window|s and wi| |00000f50| 6e 64 6f 77 20 6f 62 6a | 65 63 74 73 2e 20 54 77 |ndow obj|ects. Tw| |00000f60| 6f 20 73 61 6d 70 6c 65 | 20 73 63 72 69 70 74 73 |o sample| scripts| |00000f70| 20 61 72 65 20 73 75 70 | 70 6c 69 65 64 20 74 6f | are sup|plied to| |00000f80| 20 64 65 6d 6f 6e 73 74 | 72 61 74 65 20 53 69 6d | demonst|rate Sim| |00000f90| 70 6c 69 46 61 63 65 3a | 20 72 75 6e 20 74 68 65 |pliFace:| run the| |00000fa0| 73 65 20 75 73 69 6e 67 | 20 74 68 65 20 41 70 70 |se using| the App| |00000fb0| 6c 65 53 63 72 69 70 74 | 20 53 63 72 69 70 74 20 |leScript| Script | |00000fc0| 45 64 69 74 6f 72 2e 0d | 0d 0d 53 69 6d 70 6c 69 |Editor..|..Simpli| |00000fd0| 46 61 63 65 20 69 73 20 | 61 6e 20 75 6e 73 75 70 |Face is |an unsup| |00000fe0| 70 6f 72 74 65 64 20 70 | 72 6f 74 6f 74 79 70 65 |ported p|rototype| |00000ff0| 2c 20 61 6e 64 20 77 65 | 20 64 6f 20 6e 6f 74 20 |, and we| do not | |00001000| 65 78 70 65 63 74 20 53 | 69 6d 70 6c 69 46 61 63 |expect S|impliFac| |00001010| 65 20 77 69 6c 6c 20 62 | 65 63 6f 6d 65 20 61 20 |e will b|ecome a | |00001020| 70 72 6f 64 75 63 74 20 | 69 6e 20 69 74 73 20 6f |product |in its o| |00001030| 77 6e 20 72 69 67 68 74 | 2c 20 62 75 74 20 69 74 |wn right|, but it| |00001040| 20 64 6f 65 73 20 66 6f | 72 6d 20 61 20 74 65 73 | does fo|rm a tes| |00001050| 74 2d 62 65 64 20 66 6f | 72 20 74 65 63 68 6e 6f |t-bed fo|r techno| |00001060| 6c 6f 67 69 65 73 20 69 | 6e 63 6f 72 70 6f 72 61 |logies i|ncorpora| |00001070| 74 65 64 20 69 6e 20 6f | 75 72 20 27 41 67 65 6e |ted in o|ur 'Agen| |00001080| 74 42 75 69 6c 64 65 72 | 27 20 61 70 70 6c 69 63 |tBuilder|' applic| |00001090| 61 74 69 6f 6e 2e 20 41 | 63 63 6f 72 64 69 6e 67 |ation. A|ccording| |000010a0| 6c 79 2c 20 77 65 20 77 | 61 6e 74 20 74 6f 20 72 |ly, we w|ant to r| |000010b0| 65 63 65 69 76 65 20 79 | 6f 75 72 20 62 75 67 20 |eceive y|our bug | |000010c0| 72 65 70 6f 72 74 73 20 | 61 6e 64 20 73 75 67 67 |reports |and sugg| |000010d0| 65 73 74 69 6f 6e 73 2e | 20 53 65 6e 64 20 79 6f |estions.| Send yo| |000010e0| 75 72 20 66 65 65 64 62 | 61 63 6b 20 62 79 20 65 |ur feedb|ack by e| |000010f0| 6c 65 63 74 72 6f 6e 69 | 63 20 6d 61 69 6c 2c 20 |lectroni|c mail, | |00001100| 70 6c 65 61 73 65 2c 20 | 74 6f 3a 0d 2d 20 41 70 |please, |to:.- Ap| |00001110| 70 6c 65 4c 69 6e 6b 3a | 20 27 63 6f 6d 6d 73 74 |pleLink:| 'commst| |00001120| 61 6c 6b 2e 68 71 27 0d | 2d 20 49 6e 74 65 72 6e |alk.hq'.|- Intern| |00001130| 65 74 3a 20 27 63 6f 6d | 6d 73 74 61 6c 6b 2e 68 |et: 'com|mstalk.h| |00001140| 71 40 61 70 70 6c 65 6c | 69 6e 6b 2e 61 70 70 6c |q@applel|ink.appl| |00001150| 65 2e 63 6f 6d 27 0d 0d | 0d 50 61 75 6c 20 47 20 |e.com'..|.Paul G | |00001160| 53 6d 69 74 68 0d 63 6f | 6d 6d 73 74 61 6c 6b 20 |Smith.co|mmstalk | |00001170| 68 71 0d 41 75 67 75 73 | 74 20 31 39 39 33 0d 00 |hq.Augus|t 1993..| |00001180| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>| |00001190| 00 01 19 40 fd cb 10 2c | fd cb 67 3e 2f 2c ff e0 |...@...,|..g>/,..| |000011a0| 48 6e fe fa 48 6e fe f8 | 4e ba f5 32 48 6e fe fa |Hn..Hn..|N..2Hn..| |000011b0| 16 53 69 6d 70 6c 69 46 | 61 63 65 32 20 75 73 65 |.SimpliF|ace2 use| |000011c0| 72 20 6e 6f 74 65 73 63 | 02 00 00 00 54 45 58 54 |r notesc|....TEXT| |000011d0| 00 00 54 45 58 54 74 74 | 78 74 01 00 ff ff ff ff |..TEXTtt|xt......| |000011e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000011f0| 00 00 a8 a7 7c ab 00 00 | 10 ff 00 00 01 ac 4c df |....|...|......L.| |00001200| 18 00 4e 5e 2e 9f 4e 75 | 4e 56 fd c6 48 e7 1f 38 |..N^..Nu|NV..H..8| |00001210| 42 a7 a9 24 2d 5f ff e0 | 66 04 60 00 03 26 42 67 |B..$-_..|f.`..&Bg| |00001220| 2f 2e ff e0 4e ad 0b da | 3d 5f ff f4 42 a7 2f 2e |/...N...|=_..B./.| |00001230| ff e0 a9 17 2d 5f ff fc | 42 2e fd cb 42 6e ff fa |....-_..|B...Bn..| |00001240| 70 0d b0 6e ff f4 66 06 | 2f 0e 4e ba fd f6 70 0e |p..n..f.|/.N...p.| |00001250| b0 6e ff f4 66 06 2f 0e | 4e ba fd e8 70 19 b0 6e |.n..f./.|N...p..n| |00001260| ff f4 66 06 2f 0e 4e ba | fe a2 30 2e ff f4 6b 18 |..f./.N.|..0...k.| |00001270| b0 7c 00 1f 6e 12 41 fa | 02 e2 32 00 e6 49 44 41 |.|..n.A.|..2..IDA| |00001280| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 67 65 20 |...H..Mo|naco.ge | |00001290| 69 73 20 73 65 6e 74 20 | 74 6f 20 74 68 65 20 73 |is sent |to the s| |000012a0| 63 72 69 70 74 20 00 06 | 00 04 00 50 00 20 01 dd |cript ..|...P. ..| |000012b0| 02 3d 00 50 00 20 01 dd | 02 3d a8 a7 84 3e 00 00 |.=.P. ..|.=...>..| |000012c0| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 1e |........|........| |000012d0| 00 50 00 20 01 dd 02 3d | 00 50 00 20 01 dd 02 3d |.P. ...=|.P. ...=| |000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000012f0| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 98 |.....n..|.n...>..| |00001300| c9 ec 17 e0 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |........|.>..MPSR| |00001310| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........| |00001320| 03 f0 ff ff 00 00 00 4c | 00 9b 23 e0 00 00 00 00 |.......L|..#.....| |00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+