Directory Walker question
Dar Scott
dsc at swcp.com
Thu Feb 5 01:09:49 EST 2004
On Wednesday, February 4, 2004, at 10:38 PM, David Vaughan wrote:
> Revolution.app,136,1535180800,1035608180,1068205493,1075788371,0,501,80
> ,777,????????
>
> Note it is in the folder list, not the file list, has question marks
> for creator/type and a ".app" suffix on the name. I am assuming this
> will provide reliable identification.
I think that Barry's problem is that the Adobe applications don't have
the ".app" suffix.
I think the finder checks this:
1. It checks for a bundle bit. I don't think Apple bothers with
setting this for their stuff.
2. It checks for .app, .bundle or .framework.
3. It looks for a pattern in the bundle structure.
I don't know how to do #1; there might be some shell() or AppleScript()
method.
I expect that #1 and #3 together will work most of the time.
I'm not sure how much of a pattern is needed. Maybe this: The next
level has a single folder named Contents and it contains (among other
things) file info.plist and folder Resources.
Dar
More information about the use-livecode
mailing list