/ The Macintosh Demo: Applications
/ Apple-MacintoshDemoApplicationsCD-1.0-1992.iso / More Information / Personal Press 2.0 / PPPouch / AutoCreate / Newsletters / _CTUtility ![]() | < prev | next > |
MacBinary | 1992-06-08 | 1.8 KB | [SGPA/SCPG] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
100% | file | MacBinary II, inited, Sun Jun 7 20:00:00 1992, modified Sun Jun 7 20:00:00 1992, creator 'SCPG', type 'SGPA', 1094 bytes "_CTUtility" , at 0x4c6 403 bytes resource | default (weak) | |
99% | file | data | default | |
100% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [SGPA] |
macFileCreator | [SCPG] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 5f 43 54 55 74 69 | 6c 69 74 79 00 00 00 00 |.._CTUti|lity....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 47 50 41 53 43 50 | 47 01 00 00 00 00 00 00 |.SGPASCP|G.......|
|00000050| 00 00 00 00 00 04 46 00 | 00 01 93 a6 58 53 80 a6 |......F.|....XS..|
|00000060| 58 53 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |XS......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b6 e9 00 00 |........|........|
|00000080| 66 75 6e 63 74 69 6f 6e | 20 68 69 6c 69 74 65 64 |function| hilited|
|00000090| 20 73 74 72 0d 72 65 74 | 75 72 6e 20 63 68 61 72 | str.ret|urn char|
|000000a0| 20 34 20 6f 66 20 73 74 | 72 20 3d 20 22 73 22 0d | 4 of st|r = "s".|
|000000b0| 65 6e 64 20 68 69 6c 69 | 74 65 64 0d 0d 66 75 6e |end hili|ted..fun|
|000000c0| 63 74 69 6f 6e 20 63 6f | 6e 74 65 6e 74 73 6f 66 |ction co|ntentsof|
|000000d0| 20 73 74 72 0d 73 65 74 | 20 69 74 65 6d 64 65 6c | str.set| itemdel|
|000000e0| 20 74 6f 20 22 5c 22 0d | 70 75 74 20 69 74 65 6d | to "\".|put item|
|000000f0| 20 32 20 6f 66 20 73 74 | 72 20 69 6e 74 6f 20 74 | 2 of st|r into t|
|00000100| 65 6d 70 0d 73 65 74 20 | 69 74 65 6d 64 65 6c 20 |emp.set |itemdel |
|00000110| 74 6f 20 22 2c 22 0d 72 | 65 74 75 72 6e 20 74 65 |to ",".r|eturn te|
|00000120| 6d 70 0d 65 6e 64 20 63 | 6f 6e 74 65 6e 74 73 6f |mp.end c|ontentso|
|00000130| 66 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 74 72 75 6e |f..funct|ion trun|
|00000140| 63 74 65 78 74 20 73 74 | 72 2c 20 6d 61 78 0d 69 |ctext st|r, max.i|
|00000150| 66 20 6c 65 6e 67 74 68 | 28 73 74 72 29 20 3e 20 |f length|(str) > |
|00000160| 6d 61 78 20 74 68 65 6e | 20 70 75 74 20 63 68 61 |max then| put cha|
|00000170| 72 20 31 20 74 6f 20 28 | 6d 61 78 2d 31 29 20 6f |r 1 to (|max-1) o|
|00000180| 66 20 73 74 72 26 22 c9 | 22 20 69 6e 74 6f 20 73 |f str&".|" into s|
|00000190| 74 72 0d 72 65 74 75 72 | 6e 20 73 74 72 0d 65 6e |tr.retur|n str.en|
|000001a0| 64 20 74 72 75 6e 63 74 | 65 78 74 0d 0d 6f 6e 20 |d trunct|ext..on |
|000001b0| 6c 6f 63 61 74 65 73 74 | 6f 72 69 65 73 0d 67 6c |locatest|ories.gl|
|000001c0| 6f 62 61 6c 20 54 6f 74 | 61 6c 53 74 6f 72 69 65 |obal Tot|alStorie|
|000001d0| 73 2c 54 68 65 53 74 6f | 72 69 65 73 0d 70 75 74 |s,TheSto|ries.put|
|000001e0| 20 30 20 69 6e 74 6f 20 | 54 6f 74 61 6c 53 74 6f | 0 into |TotalSto|
|000001f0| 72 69 65 73 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |ries.put| empty i|
|00000200| 6e 74 6f 20 54 68 65 53 | 74 6f 72 69 65 73 0d 72 |nto TheS|tories.r|
|00000210| 65 70 65 61 74 20 77 69 | 74 68 20 78 20 3d 20 31 |epeat wi|th x = 1|
|00000220| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 70 61 | to numb|er of pa|
|00000230| 67 65 73 0d 73 65 74 20 | 6d 6f 75 73 65 63 75 72 |ges.set |mousecur|
|00000240| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 73 65 74 20 |sor to b|usy.set |
|00000250| 63 75 72 72 65 6e 74 70 | 61 67 65 20 74 6f 20 78 |currentp|age to x|
|00000260| 0d 73 65 6c 65 63 74 20 | 65 6d 70 74 79 0d 73 65 |.select |empty.se|
|00000270| 74 20 74 68 65 20 69 74 | 65 6d 64 65 6c 20 74 6f |t the it|emdel to|
|00000280| 20 22 5c 22 0d 73 65 6c | 65 63 74 20 6f 62 6a 65 | "\".sel|ect obje|
|00000290| 63 74 73 20 77 68 65 72 | 65 20 28 57 6f 72 64 20 |cts wher|e (Word |
|000002a0| 31 20 6f 66 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |1 of nam|e of thi|
|000002b0| 73 20 6f 62 6a 65 63 74 | 20 3d 20 22 53 74 6f 72 |s object| = "Stor|
|000002c0| 79 22 29 20 61 6e 64 20 | c2 0d 28 77 6f 72 64 20 |y") and |..(word |
|000002d0| 32 20 6f 66 20 69 74 65 | 6d 20 32 20 6f 66 20 6e |2 of ite|m 2 of n|
|000002e0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 6f 62 6a 65 |ame of t|his obje|
|000002f0| 63 74 20 ad 20 22 74 69 | 74 6c 65 22 29 0d 73 65 |ct . "ti|tle").se|
|00000300| 74 20 74 68 65 20 69 74 | 65 6d 64 65 6c 20 22 2c |t the it|emdel ",|
|00000310| 22 0d 70 75 74 20 73 65 | 6c 65 63 74 65 64 6f 62 |".put se|lectedob|
|00000320| 6a 65 63 74 73 28 29 20 | 69 6e 74 6f 20 6f 62 6a |jects() |into obj|
|00000330| 73 0d 52 65 70 65 61 74 | 20 77 69 74 68 20 78 20 |s.Repeat| with x |
|00000340| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00000350| 72 28 69 74 65 6d 73 20 | 69 6e 20 6f 62 6a 73 29 |r(items |in objs)|
|00000360| 0d 73 65 74 20 6d 6f 75 | 73 65 63 75 72 73 6f 72 |.set mou|secursor|
|00000370| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 69 74 65 | to busy|.put ite|
|00000380| 6d 20 78 20 6f 66 20 6f | 62 6a 73 20 69 6e 74 6f |m x of o|bjs into|
|00000390| 20 6f 62 6a 69 74 65 6d | 0d 2d 2d 20 43 68 65 63 | objitem|.-- Chec|
|000003a0| 6b 20 69 66 20 77 65 20 | 68 61 76 65 20 74 68 69 |k if we |have thi|
|000003b0| 73 20 73 74 6f 72 79 20 | 61 6c 72 65 61 64 79 2e |s story |already.|
|000003c0| 2e 2e 0d 69 66 20 6e 6f | 74 20 28 54 68 65 53 74 |...if no|t (TheSt|
|000003d0| 6f 72 69 65 73 20 63 6f | 6e 74 61 69 6e 73 20 77 |ories co|ntains w|
|000003e0| 6f 72 64 20 31 20 74 6f | 20 32 20 6f 66 20 6e 61 |ord 1 to| 2 of na|
|000003f0| 6d 65 20 6f 66 20 6f 62 | 6a 65 63 74 20 6f 62 6a |me of ob|ject obj|
|00000400| 69 74 65 6d 29 20 74 68 | 65 6e 0d 61 64 64 20 31 |item) th|en.add 1|
|00000410| 20 74 6f 20 54 6f 74 61 | 6c 53 74 6f 72 69 65 73 | to Tota|lStories|
|00000420| 0d 70 75 74 20 74 68 65 | 20 6e 61 6d 65 20 6f 66 |.put the| name of|
|00000430| 20 6f 62 6a 65 63 74 20 | 6f 62 6a 69 74 65 6d 20 | object |objitem |
|00000440| 69 6e 74 6f 20 69 74 65 | 6d 20 54 6f 74 61 6c 53 |into ite|m TotalS|
|00000450| 74 6f 72 69 65 73 20 6f | 66 20 54 68 65 53 74 6f |tories o|f TheSto|
|00000460| 72 69 65 73 0d 65 6e 64 | 20 69 66 20 20 20 20 20 |ries.end| if |
|00000470| 20 0d 65 6e 64 20 72 65 | 70 65 61 74 20 2d 2d 20 | .end re|peat -- |
|00000480| 4f 62 6a 65 63 74 73 0d | 65 6e 64 20 72 65 70 65 |Objects.|end repe|
|00000490| 61 74 20 2d 2d 20 50 61 | 67 65 73 0d 65 6e 64 20 |at -- Pa|ges.end |
|000004a0| 6c 6f 63 61 74 65 73 74 | 6f 72 69 65 73 0d 0d 00 |locatest|ories...|
|000004b0| 00 04 00 09 00 02 04 9e | 00 7d 00 00 00 00 00 3c |........|.}.....<|
|000004c0| 00 14 01 42 01 ec 00 00 | 00 00 00 00 00 00 00 00 |...B....|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 01 00 00 00 01 57 | 00 00 00 57 00 00 00 3c |.......W|...W...<|
|00000510| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 2e 25 54 | applica|tions.%T|
|00000520| 68 65 20 73 63 72 61 70 | 20 69 73 20 74 6f 6f 20 |he scrap| is too |
|00000530| 0a 5f 43 54 55 74 69 6c | 69 74 79 00 02 00 00 00 |._CTUtil|ity.....|
|00000540| 53 47 50 41 53 43 50 47 | 01 00 01 d4 01 00 00 00 |SGPASCPG|........|
|00000550| 00 00 53 47 50 41 53 43 | 50 47 01 00 01 d4 01 00 |..SGPASC|PG......|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 a6 58 53 80 00 00 | 04 46 00 00 01 93 64 79 |...XS...|.F....dy|
|00000580| 20 6d 6f 64 69 66 69 65 | 64 2e 20 20 49 74 20 63 | modifie|d. It c|
|00000590| 61 6e 27 74 20 62 65 20 | 6d 61 64 65 20 72 65 61 |an't be |made rea|
|000005a0| 64 2d 6f 6e 6c 79 2e 10 | 53 61 76 65 20 63 68 61 |d-only..|Save cha|
|000005b0| 6e 67 65 73 20 74 6f 20 | 11 53 61 76 65 20 64 6f |nges to |.Save do|
|000005c0| 63 75 6d 65 6e 74 20 61 | 73 20 16 43 61 6e 27 74 |cument a|s .Can't|
|000005d0| 20 77 72 69 74 65 20 6f | 6e 74 6f 20 66 69 6c 65 | write o|nto file|
|000005e0| 20 13 20 63 61 6e 27 74 | 20 62 65 20 72 65 70 6c | . can't| be repl|
|000005f0| 61 63 65 64 2e 1a 20 63 | 61 6e 27 74 20 62 65 20 |aced.. c|an't be |
|00000600| 00 00 00 53 c0 dd a8 f1 | 3f e5 32 30 00 04 00 00 |...S....|?.20....|
|00000610| 00 00 00 00 00 00 a6 1c | 9a 10 a6 1c 7c 9f a6 00 |........|....|...|
|00000620| 85 cd 00 03 47 8c 00 02 | 00 21 00 06 0c 6e 65 77 |....G...|.!...new|
|00000630| 73 6c 65 74 74 65 72 73 | ba 00 07 73 74 65 76 65 |sletters|...steve|
|00000640| 20 63 00 01 34 00 0a 5f | 43 54 55 74 69 6c 69 74 | c..4.._|CTUtilit|
|00000650| 79 00 00 00 00 00 00 00 | 00 01 00 00 00 01 57 00 |y.......|......W.|
|00000660| 00 00 57 00 00 00 3c 01 | 18 9c ec 0e b2 00 00 00 |..W...<.|........|
|00000670| 1c 00 32 00 00 63 6b 69 | 64 00 00 00 0a 00 80 00 |..2..cki|d.......|
|00000680| 00 00 00 00 00 01 1a 82 | 9c 09 50 72 6f 6a 65 63 |........|..Projec|
|00000690| 74 6f 72 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |tor.....|........|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+