home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 May / macformat-024.iso / Demos / DTP / QuarkXPress™ 3.3 / Scripts / Frontier Runtime scripts / Examples.LockGuides / Examples.LockGuides.rsrc
MacOS Resource Fork  |  1993-08-12  |  2.0 KB  |  [2CLK/LAND]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacOS Resource Fork (archive/rsrc).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Resource Fork (archive/rsrc) magic Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert BeOS Resource Data (archive/beOSResourceData) ext Unsupported
1% dexvert AppleSingle (archive/appleSingle) fallback Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file AppleDouble encoded Macintosh file default
99% file data default
66% TrID Mac AppleDouble encoded default
33% TrID TTComp archive compressed (bin-2K) default (weak)
100% lsar AppleSingle default


id metadata
keyvalue
macFileType[2CLK]
macFileCreator[LAND]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 07 8a 32 43 4c 4b 4c 41 | 4e 44 01 00 00 00 00 00 |..2CLKLA|ND......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 06 e2 00 00 05 e2 00 00 |........|........|
|00000060| 00 a8 54 46 23 83 61 59 | 4e a5 c1 cb 10 3c 08 64 |..TF#.aY|N....<.d|
|00000070| fa 5c 15 8f a1 c0 d3 7c | 0c 93 2e 02 02 99 94 ce |.\.....||........|
|00000080| 6d 32 13 45 78 61 6d 70 | 6c 65 73 2e 4c 6f 63 6b |m2.Examp|les.Lock|
|00000090| 47 75 69 64 65 73 02 00 | 00 00 32 43 4c 4b 4c 41 |Guides..|..2CLKLA|
|000000a0| 4e 44 00 00 32 43 4c 4b | 4c 41 4e 44 00 00 00 00 |ND..2CLK|LAND....|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 ab 83 6f 2a | 00 00 00 00 00 00 07 8a |......o*|........|
|000000d0| 39 c4 22 79 1c 1f 0b 65 | 50 e6 44 37 9d 4c e2 22 |9."y...e|P.D7.L."|
|000000e0| 14 92 c4 06 12 24 44 91 | 0e 87 4c 74 a1 40 df 8a |.....$D.|..Lt.@..|
|000000f0| 6a d7 95 0c 24 19 4c 38 | cb 41 09 10 a4 56 29 05 |j...$.L8|.A...V).|
|00000100| 71 d1 b8 97 65 32 0f 22 | fc 7a f1 22 14 c8 25 48 |q...e2."|.z."..%H|
|00000110| 6a 19 71 e8 14 cd 11 ea | 1f 64 4b 89 84 c5 04 08 |j.q.....|.dK.....|
|00000120| b4 98 e4 0c 22 9c b1 0f | 51 62 9c 14 94 46 72 29 |...."...|Qb...Fr)|
|00000130| 60 8c 53 0c d1 f4 e4 6e | a1 18 d3 b1 01 90 c8 f3 |`.S....n|........|
|00000140| 12 ab f9 88 3d 23 63 ec | 27 04 49 b8 e2 cc 86 f4 |....=#c.|'.I.....|
|00000150| a2 d5 00 00 00 06 05 32 | 2e 30 2e 31 00 00 00 09 |.......2|.0.1....|
|00000160| 08 46 72 6f 6e 74 69 65 | 72 00 00 01 be 00 01 04 |.Frontie|r.......|
|00000170| 68 00 02 00 00 00 18 00 | 00 01 2a 00 02 02 00 00 |h.......|..*.....|
|00000180| 0f 06 47 65 6e 65 76 61 | 00 00 00 00 00 00 00 00 |..Geneva|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 09 00 00 00 | 00 00 00 00 00 00 00 06 |........|........|
|000001b0| 54 00 0f a4 d0 77 90 a8 | 8f f9 c3 00 00 00 3c 80 |T....w..|......<.|
|000001c0| 00 00 3f 00 09 00 e6 02 | 66 00 00 00 00 00 00 00 |..?.....|f.......|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 6f 6e 20 63 61 6c 6c |........|.on call|
|000001f0| 69 6d 70 6f 72 74 65 72 | 20 28 70 61 74 68 29 20 |importer| (path) |
|00000200| c7 74 68 69 73 20 73 63 | 72 69 70 74 20 69 73 20 |.this sc|ript is |
|00000210| 73 61 76 65 64 20 77 69 | 74 68 20 61 6c 6c 20 65 |saved wi|th all e|
|00000220| 78 70 6f 72 74 65 64 20 | 6f 62 6a 65 63 74 73 0d |xported |objects.|
|00000230| 09 55 6e 2d 63 6f 6d 6d | 65 6e 74 20 61 6e 64 20 |.Un-comm|ent and |
|00000240| 65 64 69 74 20 74 68 65 | 20 66 6f 6c 6c 77 6f 69 |edit the| follwoi|
|00000250| 6e 67 20 6c 69 6e 65 20 | 74 6f 20 61 75 74 6f 2d |ng line |to auto-|
|00000260| 69 6e 73 74 61 6c 6c 20 | 69 74 65 6d 20 69 6e 20 |install |item in |
|00000270| 73 63 72 69 70 74 20 6d | 65 6e 75 20 66 6f 72 20 |script m|enu for |
|00000280| 72 75 6e 2d 30 74 69 6d | 65 20 66 6f 6c 6b 73 0d |run-0tim|e folks.|
|00000290| 09 6d 65 6e 75 2e 61 64 | 64 6d 65 6e 75 63 6f 6d |.menu.ad|dmenucom|
|000002a0| 6d 61 6e 64 28 40 73 79 | 73 74 65 6d 2e 6d 65 6e |mand(@sy|stem.men|
|000002b0| 75 62 61 72 73 2e 58 50 | 52 33 2c 22 53 63 72 69 |ubars.XP|R3,"Scri|
|000002c0| 70 74 73 22 2c 22 47 75 | 69 64 65 20 4c 6f 63 6b |pts","Gu|ide Lock|
|000002d0| 69 6e 67 22 2c 22 51 58 | 50 2e 45 78 61 6d 70 6c |ing","QX|P.Exampl|
|000002e0| 65 73 2e 4c 6f 63 6b 47 | 75 69 64 65 73 28 29 22 |es.LockG|uides()"|
|000002f0| 29 0d 09 72 65 74 75 72 | 6e 20 28 65 78 70 6f 72 |)..retur|n (expor|
|00000300| 74 2e 69 6d 70 6f 72 74 | 65 72 20 28 70 61 74 68 |t.import|er (path|
|00000310| 29 29 0d 80 00 00 00 00 | 00 84 00 00 00 00 00 80 |))......|........|
|00000320| 00 00 00 00 00 80 00 00 | 00 00 00 00 00 00 0d 0c |........|........|
|00000330| 63 61 6c 6c 69 6d 70 6f | 72 74 65 72 00 00 00 02 |callimpo|rter....|
|00000340| 01 31 00 00 03 ee 73 63 | 70 74 00 01 04 68 00 02 |.1....sc|pt...h..|
|00000350| 00 00 00 66 00 00 03 08 | 00 00 02 00 00 0f 06 47 |...f....|.......G|
|00000360| 65 6e 65 76 61 00 00 00 | 00 00 00 00 00 00 00 00 |eneva...|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 09 00 00 00 00 00 01 | 00 00 00 00 06 54 00 00 |........|.....T..|
|00000390| a8 8c 27 5b a8 8f f9 56 | 00 00 00 07 80 00 00 48 |..'[...V|.......H|
|000003a0| fd 9e 01 65 ff 57 00 00 | 00 00 00 00 00 00 00 00 |...e.W..|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 a9 31 | 39 39 33 20 51 75 61 72 |.......1|993 Quar|
|000003d0| 6b 2c 20 49 6e 63 2e 20 | 20 41 6c 6c 20 72 69 67 |k, Inc. | All rig|
|000003e0| 68 74 73 20 72 65 73 65 | 72 76 65 64 2e 0d 77 69 |hts rese|rved..wi|
|000003f0| 74 68 20 6f 62 6a 65 63 | 74 4d 6f 64 65 6c 2c 51 |th objec|tModel,Q|
|00000400| 58 50 2c 51 58 50 2e 64 | 65 66 73 0d 09 54 68 69 |XP,QXP.d|efs..Thi|
|00000410| 73 20 73 63 72 69 70 74 | 20 74 65 73 74 73 20 74 |s script| tests t|
|00000420| 68 65 20 63 75 72 72 65 | 6e 74 20 73 74 61 74 65 |he curre|nt state|
|00000430| 20 6f 66 20 6c 6f 63 6b | 47 75 69 64 65 73 20 28 | of lock|Guides (|
|00000440| 61 20 64 6f 63 75 6d 65 | 6e 74 2d 77 69 64 65 20 |a docume|nt-wide |
|00000450| 73 65 74 74 69 6e 67 2e | 29 0d 09 54 68 65 20 75 |setting.|)..The u|
|00000460| 73 65 72 20 69 73 20 6e | 6f 74 69 66 69 65 64 20 |ser is n|otified |
|00000470| 6f 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |of the c|urrent s|
|00000480| 74 61 74 65 20 61 6e 64 | 20 61 73 6b 65 64 20 69 |tate and| asked i|
|00000490| 66 20 74 68 65 79 20 77 | 61 6e 74 20 74 6f 20 74 |f they w|ant to t|
|000004a0| 6f 67 67 6c 65 20 69 74 | 2e 0d 09 4e 6f 74 65 20 |oggle it|...Note |
|000004b0| 74 68 61 74 20 69 66 20 | 79 6f 75 20 64 6f 6e d5 |that if |you don.|
|000004c0| 74 20 77 61 6e 74 20 64 | 69 61 6c 6f 67 73 2c 20 |t want d|ialogs, |
|000004d0| 79 6f 75 20 63 61 6e 20 | 73 69 6d 70 6c 79 20 72 |you can |simply r|
|000004e0| 65 70 6c 61 63 65 20 74 | 68 65 20 65 6e 74 69 72 |eplace t|he entir|
|000004f0| 65 0d 09 69 66 2d 65 6c | 73 65 20 6c 6f 6f 70 20 |e..if-el|se loop |
|00000500| 77 69 74 68 20 74 68 65 | 20 22 73 65 74 20 28 6c |with the| "set (l|
|00000510| 6f 63 6b 67 75 69 64 65 | 73 2c 21 28 67 65 74 28 |ockguide|s,!(get(|
|00000520| 6c 6f 63 6b 47 75 69 64 | 65 73 29 29 29 22 20 6c |lockGuid|es)))" l|
|00000530| 69 6e 65 2e 0d 09 69 66 | 20 65 78 69 73 74 73 20 |ine...if| exists |
|00000540| 28 64 6f 63 75 6d 65 6e | 74 5b 31 5d 29 0d 09 09 |(documen|t[1])...|
|00000550| 77 69 74 68 20 64 6f 63 | 75 6d 65 6e 74 5b 31 5d |with doc|ument[1]|
|00000560| 0d 09 09 09 69 66 20 67 | 65 74 28 6c 6f 63 6b 47 |....if g|et(lockG|
|00000570| 75 69 64 65 73 29 0d 09 | 09 09 09 69 66 20 64 69 |uides)..|...if di|
|00000580| 61 6c 6f 67 2e 79 65 73 | 4e 6f 28 22 47 75 69 64 |alog.yes|No("Guid|
|00000590| 65 73 20 61 72 65 20 63 | 75 72 72 65 6e 74 6c 79 |es are c|urrently|
|000005a0| 20 6c 6f 63 6b 65 64 2e | 20 53 65 74 20 74 6f 20 | locked.| Set to |
|000005b0| 75 6e 6c 6f 63 6b 65 64 | 3f 22 29 0d 09 09 09 09 |unlocked|?").....|
|000005c0| 09 73 65 74 20 28 6c 6f | 63 6b 67 75 69 64 65 73 |.set (lo|ckguides|
|000005d0| 2c 21 28 67 65 74 28 6c | 6f 63 6b 47 75 69 64 65 |,!(get(l|ockGuide|
|000005e0| 73 29 29 29 0d 09 09 09 | 65 6c 73 65 0d 09 09 09 |s)))....|else....|
|000005f0| 09 69 66 20 64 69 61 6c | 6f 67 2e 79 65 73 4e 6f |.if dial|og.yesNo|
|00000600| 28 22 47 75 69 64 65 73 | 20 61 72 65 20 63 75 72 |("Guides| are cur|
|00000610| 72 65 6e 74 6c 79 20 75 | 6e 6c 6f 63 6b 65 64 2e |rently u|nlocked.|
|00000620| 20 53 65 74 20 74 6f 20 | 6c 6f 63 6b 65 64 3f 22 | Set to |locked?"|
|00000630| 29 0d 09 09 09 09 09 73 | 65 74 20 28 6c 6f 63 6b |)......s|et (lock|
|00000640| 67 75 69 64 65 73 2c 21 | 28 67 65 74 28 6c 6f 63 |guides,!|(get(loc|
|00000650| 6b 47 75 69 64 65 73 29 | 29 29 0d 09 65 6c 73 65 |kGuides)|))..else|
|00000660| 0d 09 09 64 69 61 6c 6f | 67 2e 6e 6f 74 69 66 79 |...dialo|g.notify|
|00000670| 28 22 53 6f 72 72 79 2c | 20 74 68 69 73 20 73 63 |("Sorry,| this sc|
|00000680| 72 69 70 74 20 63 61 6e | 20 6f 6e 6c 79 20 62 65 |ript can| only be|
|00000690| 20 75 73 65 64 20 77 69 | 74 68 20 61 6e 20 6f 70 | used wi|th an op|
|000006a0| 65 6e 20 64 6f 63 75 6d | 65 6e 74 2e 22 29 0d 09 |en docum|ent.")..|
|000006b0| 73 79 73 2e 62 72 69 6e | 67 41 70 70 54 6f 46 72 |sys.brin|gAppToFr|
|000006c0| 6f 6e 74 20 28 27 58 50 | 52 33 27 29 20 0d 84 00 |ont ('XP|R3') ...|
|000006d0| 00 00 00 00 80 00 00 00 | 00 00 84 00 00 00 00 00 |........|........|
|000006e0| 84 00 00 00 00 00 84 00 | 00 00 00 00 84 00 00 00 |........|........|
|000006f0| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00000700| 00 00 00 00 80 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|00000710| 80 00 00 00 00 00 80 00 | 00 00 00 00 80 00 00 00 |........|........|
|00000720| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|00000730| 00 00 00 00 00 00 01 00 | 00 00 06 e2 00 00 05 e2 |........|........|
|00000740| 00 00 00 a8 00 a9 2f 18 | 10 2a 00 00 00 1c 00 7e |....../.|.*.....~|
|00000750| 00 02 53 54 52 20 00 03 | 00 1a 73 63 70 74 00 00 |..STR ..|..scpt..|
|00000760| 00 4a 64 61 74 61 00 00 | 00 56 00 80 ff ff 00 00 |.Jdata..|.V......|
|00000770| 00 00 00 00 00 00 bf f4 | ff ff 00 00 00 0a 00 00 |........|........|
|00000780| 00 00 00 82 ff ff 00 00 | 01 d9 00 00 00 00 00 7f |........|........|
|00000790| ff ff 00 00 01 ea 00 00 | 00 00 00 81 ff ff 00 00 |........|........|
|000007a0| 00 17 00 00 00 00 52 76 | 00 00 00 00 01 f0 00 a8 |......Rv|........|
|000007b0| dc 04 29 73 79 73 74 65 | 6d 2e 76 65 72 62 73 2e |..)syste|m.verbs.|
|000007c0| 61 70 70 73 2e 51 58 50 | 2e 45 78 61 6d 70 6c 65 |apps.QXP|.Example|
|000007d0| 73 2e 4c 6f 63 6b 47 75 | 69 64 65 73 |s.LockGu|ides |
+--------+-------------------------+-------------------------+--------+--------+