home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / mac / Technical Documentation / Develop / develop Issue 19 / develop Issue 19 code / SimpliFace_V2.sea / SimpliFace_V2 / Sources / Application.r < prev    next >
MacBinary  |  1994-04-15  |  2.0 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


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

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Apr 15 10:53:44 1994, modified Fri Apr 15 10:53:44 1994, creator 'MPS ', type ASCII, 1295 bytes "Application.r" , at 0x58f 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
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 41 70 70 6c 69 63 | 61 74 69 6f 6e 2e 72 00 |..Applic|ation.r.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 05 0f 00 | 00 01 ac a9 d4 5a f8 a9 |........|.....Z..|
|00000060| d4 5a f8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.Z......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 fd 15 00 00 |........|........|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 41 70 70 6c 69 |/*..File|:..Appli|
|00000090| 63 61 74 69 6f 6e 2e 72 | 0d 0d 09 43 6f 6e 74 61 |cation.r|...Conta|
|000000a0| 69 6e 73 3a 09 52 65 73 | 6f 75 72 63 65 73 20 75 |ins:.Res|ources u|
|000000b0| 73 65 64 20 62 79 20 74 | 68 65 20 54 41 70 70 6c |sed by t|he TAppl|
|000000c0| 69 63 61 74 69 6f 6e 20 | 63 6c 61 73 73 0d 0d 0d |ication |class...|
|000000d0| 09 44 65 76 65 6c 6f 70 | 65 64 20 62 79 3a 0d 0d |.Develop|ed by:..|
|000000e0| 09 50 61 75 6c 20 47 20 | 53 6d 69 74 68 20 28 63 |.Paul G |Smith (c|
|000000f0| 6f 6d 6d 73 74 61 6c 6b | 20 68 71 20 26 20 46 75 |ommstalk| hq & Fu|
|00000100| 6c 6c 20 4d 6f 6f 6e 20 | 53 6f 66 74 77 61 72 65 |ll Moon |Software|
|00000110| 2c 20 49 6e 63 29 0d 0d | 09 79 6f 75 20 63 61 6e |, Inc)..|.you can|
|00000120| 20 6c 65 61 76 65 20 6d | 65 73 73 61 67 65 73 20 | leave m|essages |
|00000130| 61 74 20 28 55 4b 29 3a | 20 30 37 32 37 20 38 34 |at (UK):| 0727 84|
|00000140| 34 32 33 32 3b 20 28 55 | 53 29 3a 20 34 30 38 20 |4232; (U|S): 408 |
|00000150| 32 35 33 20 37 31 39 39 | 0d 09 42 55 54 20 49 20 |253 7199|..BUT I |
|00000160| 70 72 65 66 65 72 20 74 | 6f 20 62 65 20 63 6f 6e |prefer t|o be con|
|00000170| 74 61 63 74 65 64 20 62 | 79 20 65 2d 6d 61 69 6c |tacted b|y e-mail|
|00000180| 0d 09 41 70 70 6c 65 4c | 69 6e 6b 3a 20 09 43 4f |..AppleL|ink: .CO|
|00000190| 4d 4d 53 54 41 4c 4b 2e | 48 51 0d 09 49 6e 74 65 |MMSTALK.|HQ..Inte|
|000001a0| 72 6e 65 74 3a 20 09 43 | 4f 4d 4d 53 54 41 4c 4b |rnet: .C|OMMSTALK|
|000001b0| 2e 48 51 40 61 70 70 6c | 65 6c 69 6e 6b 2e 61 70 |.HQ@appl|elink.ap|
|000001c0| 70 6c 65 2e 63 6f 6d 0d | 0d 09 22 53 69 6d 70 6c |ple.com.|.."Simpl|
|000001d0| 69 46 61 63 65 32 22 20 | 53 61 6d 70 6c 65 20 63 |iFace2" |Sample c|
|000001e0| 6f 64 65 20 74 6f 20 61 | 63 63 6f 6d 70 61 6e 79 |ode to a|ccompany|
|000001f0| 20 64 65 76 65 6c 6f 70 | 20 61 72 74 69 63 6c 65 | develop| article|
|00000200| 0d 09 6f 6e 20 74 65 63 | 68 6e 69 71 75 65 73 20 |..on tec|hniques |
|00000210| 66 6f 72 20 63 6f 6e 74 | 72 6f 6c 6c 69 6e 67 20 |for cont|rolling |
|00000220| 73 63 72 69 70 74 20 69 | 6e 68 65 72 69 74 61 6e |script i|nheritan|
|00000230| 63 65 2e 0d 09 0d 09 0d | 0d 0d 2a 2f 0d 0d 23 69 |ce......|..*/..#i|
|00000240| 6e 63 6c 75 64 65 20 22 | 53 79 73 54 79 70 65 73 |nclude "|SysTypes|
|00000250| 2e 72 22 0d 23 69 6e 63 | 6c 75 64 65 20 22 54 79 |.r".#inc|lude "Ty|
|00000260| 70 65 73 2e 72 22 0d 0d | 23 69 6e 63 6c 75 64 65 |pes.r"..|#include|
|00000270| 20 22 41 70 70 6c 69 63 | 61 74 69 6f 6e 43 6f 6d | "Applic|ationCom|
|00000280| 6d 6f 6e 2e 68 22 0d 0d | 72 65 73 6f 75 72 63 65 |mon.h"..|resource|
|00000290| 20 27 53 54 52 23 27 20 | 28 6b 41 70 70 6c 69 63 | 'STR#' |(kApplic|
|000002a0| 61 74 69 6f 6e 45 72 72 | 53 74 72 69 6e 67 73 2c |ationErr|Strings,|
|000002b0| 20 70 75 72 67 65 61 62 | 6c 65 29 20 7b 0d 09 7b | purgeab|le) {..{|
|000002c0| 0d 09 22 59 6f 75 20 6d | 75 73 74 20 72 75 6e 20 |.."You m|ust run |
|000002d0| 6f 6e 20 35 31 32 4b 65 | 20 6f 72 20 6c 61 74 65 |on 512Ke| or late|
|000002e0| 72 22 3b 0d 09 22 41 70 | 70 6c 69 63 61 74 69 6f |r";.."Ap|plicatio|
|000002f0| 6e 20 4d 65 6d 6f 72 79 | 20 53 69 7a 65 20 69 73 |n Memory| Size is|
|00000300| 20 74 6f 6f 20 73 6d 61 | 6c 6c 22 3b 0d 09 22 41 | too sma|ll";.."A|
|00000310| 70 70 6c 65 53 63 72 69 | 70 74 20 31 2e 31 20 69 |ppleScri|pt 1.1 i|
|00000320| 73 20 72 65 71 75 69 72 | 65 64 22 0d 09 7d 0d 7d |s requir|ed"..}.}|
|00000330| 3b 0d 0d 0d 2f 2a 20 74 | 68 69 73 20 41 4c 52 54 |;.../* t|his ALRT|
|00000340| 20 61 6e 64 20 44 49 54 | 4c 20 61 72 65 20 75 73 | and DIT|L are us|
|00000350| 65 64 20 61 73 20 61 6e | 20 65 72 72 6f 72 20 73 |ed as an| error s|
|00000360| 63 72 65 65 6e 20 2a 2f | 0d 72 65 73 6f 75 72 63 |creen */|.resourc|
|00000370| 65 20 27 41 4c 52 54 27 | 20 28 72 55 73 65 72 41 |e 'ALRT'| (rUserA|
|00000380| 6c 65 72 74 2c 20 70 75 | 72 67 65 61 62 6c 65 29 |lert, pu|rgeable)|
|00000390| 20 7b 0d 09 7b 34 30 2c | 20 32 30 2c 20 31 38 30 | {..{40,| 20, 180|
|000003a0| 2c 20 33 33 30 7d 2c 0d | 09 72 55 73 65 72 41 6c |, 330},.|.rUserAl|
|000003b0| 65 72 74 2c 0d 09 7b 20 | 2f 2a 20 61 72 72 61 79 |ert,..{ |/* array|
|000003c0| 3a 20 34 20 65 6c 65 6d | 65 6e 74 73 20 2a 2f 0d |: 4 elem|ents */.|
|000003d0| 09 09 2f 2a 20 5b 31 5d | 20 2a 2f 0d 09 09 4f 4b |../* [1]| */...OK|
|000003e0| 2c 20 76 69 73 69 62 6c | 65 2c 20 73 69 6c 65 6e |, visibl|e, silen|
|000003f0| 74 2c 0d 09 09 2f 2a 20 | 5b 32 5d 20 2a 2f 0d 09 |t,.../* |[2] */..|
|00000400| 09 4f 4b 2c 20 76 69 73 | 69 62 6c 65 2c 20 73 69 |.OK, vis|ible, si|
|00000410| 6c 65 6e 74 2c 0d 09 09 | 2f 2a 20 5b 33 5d 20 2a |lent,...|/* [3] *|
|00000420| 2f 0d 09 09 4f 4b 2c 20 | 76 69 73 69 62 6c 65 2c |/...OK, |visible,|
|00000430| 20 73 69 6c 65 6e 74 2c | 0d 09 09 2f 2a 20 5b 34 | silent,|.../* [4|
|00000440| 5d 20 2a 2f 0d 09 09 4f | 4b 2c 20 76 69 73 69 62 |] */...O|K, visib|
|00000450| 6c 65 2c 20 73 69 6c 65 | 6e 74 0d 09 7d 0d 7d 3b |le, sile|nt..}.};|
|00000460| 0d 0d 72 65 73 6f 75 72 | 63 65 20 27 44 49 54 4c |..resour|ce 'DITL|
|00000470| 27 20 28 72 55 73 65 72 | 41 6c 65 72 74 2c 20 70 |' (rUser|Alert, p|
|00000480| 75 72 67 65 61 62 6c 65 | 29 20 7b 0d 09 7b 20 2f |urgeable|) {..{ /|
|00000490| 2a 20 61 72 72 61 79 20 | 44 49 54 4c 61 72 72 61 |* array |DITLarra|
|000004a0| 79 3a 20 33 20 65 6c 65 | 6d 65 6e 74 73 20 2a 2f |y: 3 ele|ments */|
|000004b0| 0d 09 09 2f 2a 20 5b 31 | 5d 20 2a 2f 0d 09 09 7b |.../* [1|] */...{|
|000004c0| 31 31 30 2c 20 32 32 30 | 2c 20 31 33 30 2c 20 33 |110, 220|, 130, 3|
|000004d0| 30 30 7d 2c 0d 09 09 42 | 75 74 74 6f 6e 20 7b 0d |00},...B|utton {.|
|000004e0| 09 09 09 65 6e 61 62 6c | 65 64 2c 0d 09 09 09 22 |...enabl|ed,...."|
|000004f0| 4f 4b 22 0d 09 09 7d 2c | 0d 09 09 2f 2a 20 5b 32 |OK"...},|.../* [2|
|00000500| 5d 20 2a 2f 0d 09 09 7b | 31 30 2c 20 36 30 2c 20 |] */...{|10, 60, |
|00000510| 39 30 2c 20 33 30 30 7d | 2c 0d 09 09 53 74 61 74 |90, 300}|,...Stat|
|00000520| 69 63 54 65 78 74 20 7b | 0d 09 09 09 64 69 73 61 |icText {|....disa|
|00000530| 62 6c 65 64 2c 0d 09 09 | 09 22 45 72 72 6f 72 2e |bled,...|."Error.|
|00000540| 20 5e 30 2e 22 0d 09 09 | 7d 2c 0d 09 09 2f 2a 20 | ^0."...|},.../* |
|00000550| 5b 33 5d 20 2a 2f 0d 09 | 09 7b 38 2c 20 38 2c 20 |[3] */..|.{8, 8, |
|00000560| 34 30 2c 20 34 30 7d 2c | 0d 09 09 49 63 6f 6e 20 |40, 40},|...Icon |
|00000570| 7b 0d 09 09 09 64 69 73 | 61 62 6c 65 64 2c 0d 09 |{....dis|abled,..|
|00000580| 09 09 32 0d 09 09 7d 0d | 09 7d 0d 7d 3b 0d 0d 00 |..2...}.|.}.};...|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000610| 65 72 65 64 4f 62 6a 65 | 63 74 73 57 69 6e 64 6f |eredObje|ctsWindo|
|00000620| 77 3a 3a 55 70 64 61 74 | 65 4c 69 73 74 28 29 0d |w::Updat|eList().|
|00000630| 0d 41 70 70 6c 69 63 61 | 74 69 6f 6e 2e 72 02 00 |.Applica|tion.r..|
|00000640| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00000650| 00 00 54 45 58 54 4d 50 | 53 20 01 00 ff ff ff ff |..TEXTMP|S ......|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 a8 0c 0b 40 00 00 | 05 0f 00 00 01 ac 0d 0d |.....@..|........|
|00000680| 09 45 72 61 73 65 52 65 | 63 74 28 26 28 2a 2a 66 |.EraseRe|ct(&(**f|
|00000690| 4c 69 73 74 2d 3e 47 65 | 74 4c 69 73 74 28 29 29 |List->Ge|tList())|
|000006a0| 2e 72 56 69 65 77 29 3b | 0d 0d 09 66 4c 69 73 74 |.rView);|...fList|
|000006b0| 2d 3e 44 6f 44 72 61 77 | 28 66 61 6c 73 65 29 3b |->DoDraw|(false);|
|000006c0| 09 09 2f 2f 20 74 75 72 | 6e 20 6f 66 66 20 6c 69 |..// tur|n off li|
|000006d0| 73 74 20 64 72 61 77 69 | 6e 67 0d 09 66 4c 69 73 |st drawi|ng..fLis|
|000006e0| 74 2d 3e 44 65 6c 52 6f | 77 28 30 2c 30 29 3b 09 |t->DelRo|w(0,0);.|
|000006f0| 09 09 2f 2f 20 64 65 6c | 65 74 65 20 74 68 65 20 |..// del|ete the |
|00000700| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 65 20 54 |...H..Mo|naco.e T|
|00000710| 41 70 70 6c 69 63 61 74 | 69 6f 6e 20 63 6c 61 73 |Applicat|ion clas|
|00000720| 73 0d 0d 09 43 6f 00 06 | 00 04 00 3c 00 24 01 dd |s...Co..|...<.$..|
|00000730| 02 3d 00 3c 00 24 01 dd | 02 3d a9 d4 22 b8 00 00 |.=.<.$..|.=.."...|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00000750| 00 3c 00 24 01 dd 02 3d | 00 3c 00 24 01 dd 02 3d |.<.$...=|.<.$...=|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 df |.....n..|.n...>..|
|00000780| 57 f0 23 42 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |W.#B....|.>..MPSR|
|00000790| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 03 f0 ff ff 00 00 00 4c | 00 e1 af 60 00 00 00 00 |.......L|...`....|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+