Re: Types of bundled files
Re: Types of bundled files
- Subject: Re: Types of bundled files
- From: "Steven D. Majewski" <email@hidden>
- Date: Wed, 21 Apr 2004 14:14:58 -0400
On Apr 21, 2004, at 11:35 AM, j o a r wrote:
Why don't you answer that question yourself by creating a small app
that can iterate over a Mac OS X file system, checking all folders? You
can "ask" a directory if it is a bundle or not. I don't remember the
correct API, but you can certainly find it in the docs, the mailing
list archives or on Google.
j o a r
in Cocoa: NSWorkspace's -isFilePackageAtPath:
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSWorkspace.html#//apple_ref/doc/
uid/20000391/BCIFHGIE
in AppleScript:
get package folder of (info for (choose file))
in Python:
>>> import AppKit
>>> ws = AppKit.NSWorkspace.sharedWorkspace()
>>> ws.isFilePackageAtPath_( 'texttest.rtfd' )
1
On 2004-04-21, at 17.01, Chad Armstrong wrote:
I am trying to compile a list of bundled files under Mac OS X. Such
examples are standard applications (.app), and RTFD files. Also,
kernel extensions (.kext) seem to be bundled files also. What other
examples are available? Installer packages, maybe? I am trying to
write a program which separates a standard directory verses those
files which are meant to appear as one file under Mac OS X.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.