home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1994 November / macformat-018.iso / Utility Spectacular / Developer / Frontier Runtime 2.0 / Extras / Sample Scripts / Find Locked Files… < prev    next >
MacBinary  |  1992-10-22  |  2.4 KB  |  [2CLK/LAND]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

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

You can browse this item here: Find Locked Files…

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Jul 30 20:00:00 1992, modified Thu Oct 22 09:00:00 1992, creator 'LAND', type '2CLK' "Find Locked Files�", at 0x80 2201 bytes resource Apple HFS/HFS+ resource fork, map offset 0x847, map length 0x52, data length 0x747, at 16 0x00007c10, nextResourceMap 0x5fe038, fileRef 0x10e6, list offset 0x1c, name offset 0x52, 2 types, 0x53545220 'STR ' * 2 resource offset 0x12 default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
1% lsar MacBinary default (weak)


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



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 46 69 6e 64 20 4c | 6f 63 6b 65 64 20 46 69 |..Find L|ocked Fi|
|00000010| 6c 65 73 c9 00 00 00 00 | 00 00 00 00 00 00 00 00 |les.....|........|
|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 32 43 4c 4b 4c 41 4e | 44 01 00 00 00 00 00 00 |.2CLKLAN|D.......|
|00000050| 00 00 00 00 00 00 00 00 | 00 08 99 a6 9e 33 00 a7 |........|.....3..|
|00000060| 0c 56 50 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.VP.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 da c4 00 00 |........|........|
|00000080| 00 00 01 00 00 00 08 47 | 00 00 07 47 00 00 00 52 |.......G|...G...R|
|00000090| 00 00 7c 10 10 4c 44 45 | 46 20 26 20 53 49 43 4e |..|..LDE|F & SICN|
|000000a0| 2e 72 73 72 63 45 02 00 | 00 00 72 73 72 63 52 53 |.rsrcE..|..rsrcRS|
|000000b0| 12 46 69 6e 64 20 4c 6f | 63 6b 65 64 20 46 69 6c |.Find Lo|cked Fil|
|000000c0| 65 73 c9 20 02 00 00 00 | 32 43 4c 4b 4c 41 4e 44 |es. ....|2CLKLAND|
|000000d0| 00 00 32 43 4c 4b 4c 41 | 4e 44 00 00 00 00 00 00 |..2CLKLA|ND......|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 aa 95 64 88 00 00 | 00 00 00 00 08 99 00 02 |....d...|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 12 00 00 00 |........|........|
|00000110| 7c 10 0c 4c 69 6e 6b 65 | 64 4c 69 73 74 2e 63 10 ||..Linke|dList.c.|
|00000120| 02 00 00 00 54 45 58 54 | 4d 50 53 20 01 00 00 34 |....TEXT|MPS ...4|
|00000130| 01 40 00 00 00 00 7c 1a | 00 00 00 01 24 ac 00 01 |.@....|.|....$...|
|00000140| 26 00 00 00 00 00 04 e6 | 00 00 06 00 a1 a1 ff 77 |&.......|.......w|
|00000150| a4 a7 69 89 00 00 00 00 | 00 00 00 00 00 00 00 00 |..i.....|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 59 39 00 31 00 00 |........|..Y9.1..|
|00000170| 00 00 00 00 00 00 59 6a | 00 01 00 00 00 00 00 00 |......Yj|........|
|00000180| 00 00 00 04 03 31 2e 30 | 00 00 07 14 00 01 04 fe |.....1.0|........|
|00000190| 00 02 00 00 01 14 00 00 | 05 84 00 00 02 00 00 0f |........|........|
|000001a0| 06 47 65 6e 65 76 61 00 | 00 00 00 00 00 00 00 00 |.Geneva.|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 09 00 00 00 00 | 00 00 00 00 00 00 06 54 |........|.......T|
|000001d0| 00 00 a4 bc 6f 65 a5 8a | 26 d6 00 00 00 29 00 00 |....oe..|&....)..|
|000001e0| 00 2a 00 57 01 8e 02 01 | 00 00 00 00 00 00 00 00 |.*.W....|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 6f 6e 20 66 69 6e 64 6c |........|on findl|
|00000210| 6f 63 6b 65 64 66 69 6c | 65 73 20 28 70 61 74 68 |ockedfil|es (path|
|00000220| 29 0d 09 6c 6f 63 61 6c | 20 28 63 74 6d 61 74 63 |)..local| (ctmatc|
|00000230| 68 65 73 20 3d 20 30 29 | 20 c7 6e 75 6d 62 65 72 |hes = 0)| .number|
|00000240| 20 6f 66 20 6c 6f 63 6b | 65 64 20 66 69 6c 65 73 | of lock|ed files|
|00000250| 20 77 65 20 66 6f 75 6e | 64 0d 09 6c 6f 63 61 6c | we foun|d..local|
|00000260| 20 28 63 74 75 6e 6c 6f | 63 6b 65 64 20 3d 20 30 | (ctunlo|cked = 0|
|00000270| 29 20 c7 6e 75 6d 62 65 | 72 20 6f 66 20 66 69 6c |) .numbe|r of fil|
|00000280| 65 73 20 77 65 20 75 6e | 6c 6f 63 6b 65 64 0d 09 |es we un|locked..|
|00000290| 6c 6f 63 61 6c 20 28 63 | 6f 6e 66 69 72 6d 61 74 |local (c|onfirmat|
|000002a0| 69 6f 6e 64 69 73 61 62 | 6c 65 64 20 3d 20 66 61 |iondisab|led = fa|
|000002b0| 6c 73 65 29 0d 09 6f 6e | 20 75 6e 6c 6f 63 6b 69 |lse)..on| unlocki|
|000002c0| 6e 66 6f 6c 64 65 72 20 | 28 66 6f 6c 64 65 72 29 |nfolder |(folder)|
|000002d0| 0d 09 09 66 69 6c 65 6c | 6f 6f 70 20 28 66 20 69 |...filel|oop (f i|
|000002e0| 6e 20 66 6f 6c 64 65 72 | 29 0d 09 09 09 69 66 20 |n folder|)....if |
|000002f0| 66 69 6c 65 2e 69 73 46 | 6f 6c 64 65 72 20 28 66 |file.isF|older (f|
|00000300| 29 0d 09 09 09 09 69 66 | 20 6e 6f 74 20 75 6e 6c |).....if| not unl|
|00000310| 6f 63 6b 69 6e 66 6f 6c | 64 65 72 20 28 66 29 20 |ockinfol|der (f) |
|00000320| c7 75 73 65 72 20 63 61 | 6e 63 65 6c 6c 65 64 0d |.user ca|ncelled.|
|00000330| 09 09 09 09 09 72 65 74 | 75 72 6e 20 28 66 61 6c |.....ret|urn (fal|
|00000340| 73 65 29 0d 09 09 09 65 | 6c 73 65 0d 09 09 09 09 |se)....e|lse.....|
|00000350| 6d 73 67 20 28 66 69 6c | 65 2e 66 69 6c 65 46 72 |msg (fil|e.fileFr|
|00000360| 6f 6d 50 61 74 68 20 28 | 66 29 29 0d 09 09 09 09 |omPath (|f)).....|
|00000370| 69 66 20 66 69 6c 65 2e | 69 73 4c 6f 63 6b 65 64 |if file.|isLocked|
|00000380| 20 28 66 29 0d 09 09 09 | 09 09 6c 6f 63 61 6c 20 | (f)....|..local |
|00000390| 28 75 6e 6c 6f 63 6b 20 | 3d 20 74 72 75 65 29 0d |(unlock |= true).|
|000003a0| 09 09 09 09 09 69 66 20 | 63 6f 6e 66 69 72 6d 61 |.....if |confirma|
|000003b0| 74 69 6f 6e 64 69 73 61 | 62 6c 65 64 0d 09 09 09 |tiondisa|bled....|
|000003c0| 09 09 09 75 6e 6c 6f 63 | 6b 20 3d 20 74 72 75 65 |...unloc|k = true|
|000003d0| 0d 09 09 09 09 09 65 6c | 73 65 0d 09 09 09 09 09 |......el|se......|
|000003e0| 09 6c 6f 63 61 6c 20 28 | 73 2c 20 72 65 73 75 6c |.local (|s, resul|
|000003f0| 74 29 0d 09 09 09 09 09 | 09 73 20 3d 20 22 54 68 |t)......|.s = "Th|
|00000400| 65 20 66 69 6c 65 20 d2 | 22 20 2b 20 20 66 69 6c |e file .|" + fil|
|00000410| 65 2e 66 69 6c 65 46 72 | 6f 6d 50 61 74 68 20 28 |e.fileFr|omPath (|
|00000420| 66 29 20 2b 20 22 d3 20 | 69 73 20 6c 6f 63 6b 65 |f) + ". |is locke|
|00000430| 64 2e 22 0d 09 09 09 09 | 09 09 73 20 3d 20 73 20 |d.".....|..s = s |
|00000440| 2b 20 22 20 57 6f 75 6c | 64 20 79 6f 75 20 6c 69 |+ " Woul|d you li|
|00000450| 6b 65 20 74 6f 20 75 6e | 6c 6f 63 6b 20 69 74 3f |ke to un|lock it?|
|00000460| 22 0d 09 09 09 09 09 09 | 6d 73 67 20 28 22 4f 70 |".......|msg ("Op|
|00000470| 74 69 6f 6e 2d 79 65 73 | 20 64 69 73 61 62 6c 65 |tion-yes| disable|
|00000480| 73 20 63 6f 6e 66 69 72 | 6d 61 74 69 6f 6e 20 64 |s confir|mation d|
|00000490| 69 61 6c 6f 67 2e 22 29 | 0d 09 09 09 09 09 09 72 |ialog.")|.......r|
|000004a0| 65 73 75 6c 74 20 3d 20 | 64 69 61 6c 6f 67 2e 79 |esult = |dialog.y|
|000004b0| 65 73 4e 6f 43 61 6e 63 | 65 6c 20 28 73 29 0d 09 |esNoCanc|el (s)..|
|000004c0| 09 09 09 09 09 6d 73 67 | 20 28 22 22 29 0d 09 09 |.....msg| ("")...|
|000004d0| 09 09 09 09 63 61 73 65 | 20 72 65 73 75 6c 74 0d |....case| result.|
|000004e0| 09 09 09 09 09 09 09 31 | 20 c7 79 65 73 0d 09 09 |.......1| .yes...|
|000004f0| 09 09 09 09 09 09 69 66 | 20 6b 62 2e 6f 70 74 69 |......if| kb.opti|
|00000500| 6f 6e 4b 65 79 20 28 29 | 0d 09 09 09 09 09 09 09 |onKey ()|........|
|00000510| 09 09 63 6f 6e 66 69 72 | 6d 61 74 69 6f 6e 64 69 |..confir|mationdi|
|00000520| 73 61 62 6c 65 64 20 3d | 20 74 72 75 65 0d 09 09 |sabled =| true...|
|00000530| 09 09 09 09 09 09 75 6e | 6c 6f 63 6b 20 3d 20 74 |......un|lock = t|
|00000540| 72 75 65 0d 09 09 09 09 | 09 09 09 32 20 c7 6e 6f |rue.....|...2 .no|
|00000550| 0d 09 09 09 09 09 09 09 | 09 75 6e 6c 6f 63 6b 20 |........|.unlock |
|00000560| 3d 20 66 61 6c 73 65 0d | 09 09 09 09 09 09 09 33 |= false.|.......3|
|00000570| 20 c7 63 61 6e 63 65 6c | 0d 09 09 09 09 09 09 09 | .cancel|........|
|00000580| 09 72 65 74 75 72 6e 20 | 28 66 61 6c 73 65 29 20 |.return |(false) |
|00000590| c7 68 61 6c 74 20 74 72 | 61 76 65 72 73 61 6c 0d |.halt tr|aversal.|
|000005a0| 09 09 09 09 09 63 74 6d | 61 74 63 68 65 73 2b 2b |.....ctm|atches++|
|000005b0| 0d 09 09 09 09 09 69 66 | 20 75 6e 6c 6f 63 6b 0d |......if| unlock.|
|000005c0| 09 09 09 09 09 09 63 74 | 75 6e 6c 6f 63 6b 65 64 |......ct|unlocked|
|000005d0| 2b 2b 0d 09 09 09 09 09 | 09 66 69 6c 65 2e 75 6e |++......|.file.un|
|000005e0| 6c 6f 63 6b 20 28 66 29 | 0d 09 75 6e 6c 6f 63 6b |lock (f)|..unlock|
|000005f0| 69 6e 66 6f 6c 64 65 72 | 20 28 66 69 6c 65 2e 66 |infolder| (file.f|
|00000600| 6f 6c 64 65 72 46 72 6f | 6d 50 61 74 68 20 28 70 |olderFro|mPath (p|
|00000610| 61 74 68 29 29 0d 09 69 | 66 20 63 74 6d 61 74 63 |ath))..i|f ctmatc|
|00000620| 68 65 73 20 3d 3d 20 30 | 0d 09 09 73 20 3d 20 66 |hes == 0|...s = f|
|00000630| 69 6c 65 2e 66 69 6c 65 | 46 72 6f 6d 50 61 74 68 |ile.file|FromPath|
|00000640| 20 28 66 69 6c 65 2e 66 | 6f 6c 64 65 72 46 72 6f | (file.f|olderFro|
|00000650| 6d 50 61 74 68 20 28 70 | 61 74 68 29 29 0d 09 09 |mPath (p|ath))...|
|00000660| 73 20 3d 20 22 54 68 65 | 72 65 20 61 72 65 20 6e |s = "The|re are n|
|00000670| 6f 20 6c 6f 63 6b 65 64 | 20 66 69 6c 65 73 20 69 |o locked| files i|
|00000680| 6e 20 74 68 65 20 d2 22 | 20 2b 20 73 20 2b 20 22 |n the ."| + s + "|
|00000690| d3 20 66 6f 6c 64 65 72 | 2e 22 0d 09 09 64 69 61 |. folder|."...dia|
|000006a0| 6c 6f 67 2e 61 6c 65 72 | 74 20 28 73 29 0d 09 65 |log.aler|t (s)..e|
|000006b0| 6c 73 65 0d 09 09 69 66 | 20 63 74 75 6e 6c 6f 63 |lse...if| ctunloc|
|000006c0| 6b 65 64 20 3e 20 30 0d | 09 09 09 73 20 3d 20 66 |ked > 0.|...s = f|
|000006d0| 69 6c 65 2e 66 69 6c 65 | 46 72 6f 6d 50 61 74 68 |ile.file|FromPath|
|000006e0| 20 28 66 69 6c 65 2e 66 | 6f 6c 64 65 72 46 72 6f | (file.f|olderFro|
|000006f0| 6d 50 61 74 68 20 28 70 | 61 74 68 29 29 0d 09 09 |mPath (p|ath))...|
|00000700| 09 73 20 3d 20 22 54 68 | 65 72 65 20 77 65 72 65 |.s = "Th|ere were|
|00000710| 20 22 20 2b 20 63 74 6d | 61 74 63 68 65 73 20 2b | " + ctm|atches +|
|00000720| 20 22 20 6c 6f 63 6b 65 | 64 20 66 69 6c 65 73 20 | " locke|d files |
|00000730| 69 6e 20 74 68 65 20 d2 | 22 20 2b 20 73 20 2b 20 |in the .|" + s + |
|00000740| 22 d3 20 66 6f 6c 64 65 | 72 2e 20 22 0d 09 09 09 |". folde|r. "....|
|00000750| 73 20 3d 20 73 20 2b 20 | 63 74 75 6e 6c 6f 63 6b |s = s + |ctunlock|
|00000760| 65 64 20 2b 20 22 20 66 | 69 6c 65 73 20 75 6e 6c |ed + " f|iles unl|
|00000770| 6f 63 6b 65 64 2e 22 0d | 09 09 09 64 69 61 6c 6f |ocked.".|...dialo|
|00000780| 67 2e 61 6c 65 72 74 20 | 28 73 29 0d 80 00 00 00 |g.alert |(s).....|
|00000790| 00 00 80 00 00 00 00 00 | 80 00 00 00 00 00 80 00 |........|........|
|000007a0| 00 00 00 00 80 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 |........|........|
|00000800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 80 00 |........|........|
|00000860| 00 00 00 00 80 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 80 00 00 00 |........|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008a0| 00 00 00 23 22 73 79 73 | 74 65 6d 2e 64 65 73 6b |...#"sys|tem.desk|
|000008b0| 73 63 72 69 70 74 73 2e | 66 69 6e 64 6c 6f 63 6b |scripts.|findlock|
|000008c0| 65 64 66 69 6c 65 73 00 | 00 01 00 00 00 08 47 00 |edfiles.|......G.|
|000008d0| 00 07 47 00 00 00 52 00 | 5f e0 38 10 e6 00 00 00 |..G...R.|_.8.....|
|000008e0| 1c 00 52 00 01 53 54 52 | 20 00 01 00 12 73 63 70 |..R..STR| ....scp|
|000008f0| 74 00 00 00 2a 00 80 ff | ff 00 00 00 00 00 00 00 |t...*...|........|
|00000900| 00 00 82 ff ff 00 00 07 | 20 00 00 00 00 00 81 ff |........| .......|
|00000910| ff 00 00 00 08 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+