/ Macwelt 2
/ Macwelt DVD 2.cdr / System / Entwickler-Tools / macos9 / Javascript OSA 1.0.3 / Sample Scripts / MacOS.OSA / Get All AppleScript Properties ![]() | < prev | next > |
MacBinary | 2000-06-23 | 1.1 KB | [osas/ToyS] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
1% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
100% | file | MacBinary II, Fri Jun 23 06:09:07 2000, modified Fri Jun 23 06:09:07 2000, creator 'ToyS', type 'osas' "Get All AppleScript Properties", at 0x80 1010 bytes resource Apple HFS/HFS+ resource fork, map offset 0x364, map length 0x8e, data length 0x264, nextResourceMap 0xa407028, fileRef 0x346, list offset 0x1c, name offset 0x82, 5 types, 0x73707368 'spsh' * 1 resource offset 0x2a | default (weak) | |
99% | file | data | default | |
100% | TrID | MacBinary 2 | default (weak) | |
100% | dearkID | deark: macbinary | default | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [osas] |
macFileCreator | [ToyS] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1e 47 65 74 20 41 6c | 6c 20 41 70 70 6c 65 53 |..Get Al|l AppleS|
|00000010| 63 72 69 70 74 20 50 72 | 6f 70 65 72 74 69 65 73 |cript Pr|operties|
|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 6f 73 61 73 54 6f 79 | 53 00 00 ff ff ff ff 00 |.osasToy|S.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 03 f2 b5 78 e7 c3 b5 |........|....x...|
|00000060| 78 e7 c3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |x.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 dc 80 00 00 |........|........|
|00000080| 00 00 01 00 00 00 03 64 | 00 00 02 64 00 00 00 8e |.......d|...d....|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 02 00 00 00 00 | 00 14 00 ed 00 6f 02 7d |........|.....o.}|
|00000190| 02 3b 00 ed 00 6f 02 7d | 02 3b 00 00 00 01 00 00 |.;...o.}|.;......|
|000001a0| 01 12 76 61 72 20 78 78 | 78 20 3d 20 6e 65 77 20 |..var xx|x = new |
|000001b0| 4d 61 63 4f 53 2e 4f 53 | 41 28 4d 61 63 4f 53 2e |MacOS.OS|A(MacOS.|
|000001c0| 4f 53 41 2e 41 70 70 6c | 65 53 63 72 69 70 74 29 |OSA.Appl|eScript)|
|000001d0| 3b 0d 0d 78 78 78 2e 63 | 6f 6d 70 69 6c 65 28 22 |;..xxx.c|ompile("|
|000001e0| 70 72 6f 70 65 72 74 79 | 20 61 62 63 3a 31 30 30 |property| abc:100|
|000001f0| 5c 6e 5c 0d 70 72 6f 70 | 65 72 74 79 20 64 65 66 |\n\.prop|erty def|
|00000200| 3a 5c 22 48 65 6c 6c 6f | 20 57 6f 72 6c 64 5c 22 |:\"Hello| World\"|
|00000210| 22 29 3b 0d 0d 76 61 72 | 20 78 78 78 56 61 6c 75 |");..var| xxxValu|
|00000220| 65 73 20 3d 20 22 22 0d | 66 6f 72 20 28 76 61 72 |es = "".|for (var|
|00000230| 20 78 20 69 6e 20 78 78 | 78 29 20 7b 0d 09 69 66 | x in xx|x) {..if|
|00000240| 20 28 78 78 78 56 61 6c | 75 65 73 20 21 3d 20 22 | (xxxVal|ues != "|
|00000250| 22 29 0d 09 09 78 78 78 | 56 61 6c 75 65 73 20 2b |")...xxx|Values +|
|00000260| 3d 20 22 2c 20 22 0d 09 | 09 0d 09 78 78 78 56 61 |= ", "..|...xxxVa|
|00000270| 6c 75 65 73 20 2b 3d 20 | 78 20 2b 20 22 20 3a 20 |lues += |x + " : |
|00000280| 22 20 2b 20 78 78 78 5b | 78 5d 3b 0d 7d 0d 78 78 |" + xxx[|x];.}.xx|
|00000290| 78 56 61 6c 75 65 73 3b | 4d 41 52 4b 31 2e 30 30 |xValues;|MARK1.00|
|000002a0| f8 00 00 00 41 4e 59 41 | 4a 73 63 72 00 01 00 0c |....ANYA|Jscr....|
|000002b0| fa de de ad 00 00 00 32 | 32 2e 30 34 00 00 00 d7 |.......2|2.04....|
|000002c0| 00 00 00 d7 00 00 00 00 | 00 85 48 44 44 53 70 98 |........|..HDDSp.|
|000002d0| 00 34 00 00 00 00 00 00 | 00 00 4f e5 bd b6 88 7c |.4......|..O....||
|000002e0| 00 00 03 46 0a b2 48 50 | 0a b2 00 00 00 f6 76 61 |...F..HP|......va|
|000002f0| 72 20 78 78 78 20 3d 20 | 6e 65 77 20 4d 61 63 4f |r xxx = |new MacO|
|00000300| 53 2e 4f 53 41 28 4d 61 | 63 4f 53 2e 4f 53 41 2e |S.OSA(Ma|cOS.OSA.|
|00000310| 41 70 70 6c 65 53 63 72 | 69 70 74 29 3b 0d 0d 78 |AppleScr|ipt);..x|
|00000320| 78 78 2e 63 6f 6d 70 69 | 6c 65 28 22 70 72 6f 70 |xx.compi|le("prop|
|00000330| 65 72 74 79 20 61 62 63 | 3a 31 30 30 5c 6e 5c 0d |erty abc|:100\n\.|
|00000340| 70 72 6f 70 65 72 74 79 | 20 64 65 66 3a 5c 22 48 |property| def:\"H|
|00000350| 65 6c 6c 6f 20 57 6f 72 | 6c 64 5c 22 22 29 3b 0d |ello Wor|ld\"");.|
|00000360| 0d 76 61 72 20 78 78 78 | 56 61 6c 75 65 73 20 3d |.var xxx|Values =|
|00000370| 20 22 22 0d 66 6f 72 20 | 28 76 61 72 20 78 20 69 | "".for |(var x i|
|00000380| 6e 20 78 78 78 29 20 7b | 0d 09 69 66 20 28 78 78 |n xxx) {|..if (xx|
|00000390| 78 56 61 6c 75 65 73 20 | 21 3d 20 22 22 29 0d 09 |xValues |!= "")..|
|000003a0| 09 78 78 78 56 61 6c 75 | 65 73 20 2b 3d 20 22 2c |.xxxValu|es += ",|
|000003b0| 20 22 0d 09 09 0d 09 78 | 78 78 56 61 6c 75 65 73 | ".....x|xxValues|
|000003c0| 20 2b 3d 20 78 20 2b 20 | 22 20 3a 20 22 20 2b 20 | += x + |" : " + |
|000003d0| 78 78 78 5b 78 5d 3b 0d | 7d 0d 78 78 78 56 61 6c |xxx[x];.|}.xxxVal|
|000003e0| 75 65 73 3b 00 00 01 00 | 00 00 03 64 00 00 02 64 |ues;....|...d...d|
|000003f0| 00 00 00 8e 0a 40 70 28 | 03 46 00 00 00 1c 00 82 |.....@p(|.F......|
|00000400| 00 04 73 70 73 68 00 00 | 00 2a 57 50 6f 73 00 00 |..spsh..|.*WPos..|
|00000410| 00 36 73 63 70 74 00 00 | 00 42 44 42 47 68 00 00 |.6scpt..|.BDBGh..|
|00000420| 00 4e 54 45 58 54 00 00 | 00 5a 00 00 ff ff 00 00 |.NTEXT..|.Z......|
|00000430| 00 00 00 00 00 00 00 80 | ff ff 00 00 00 06 00 00 |........|........|
|00000440| 00 00 00 80 ff ff 00 00 | 00 1e 00 00 00 00 00 80 |........|........|
|00000450| ff ff 00 00 01 34 00 00 | 00 00 07 d0 00 00 00 00 |.....4..|........|
|00000460| 01 6a 00 00 00 00 0b 53 | 6f 75 72 63 65 20 54 65 |.j.....S|ource Te|
|00000470| 78 74 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |xt......|........|
+--------+-------------------------+-------------------------+--------+--------+