realbasic-nug
[Top] [All Lists]

Re: Dealing with packages and bundles

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Dealing with packages and bundles
From: Charles Yeomans <charles at declareSub dot com>
Date: Sun, 28 May 2006 16:36:24 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <20060528170038 dot 91B0612AD31D at lists dot realsoftware dot com> <76FD7EDD-A90D-4CB6-B392-849D0FE5146B at aztech4mac dot com>

On May 28, 2006, at 3:52 PM, Craig Hoyt wrote:

I have two issues regarding packages or bundles. When crawling a volumes directory the <.Directory=True> reports a package or bundle as a folder (and rightly so). How can I identify all forms of packages and bundles so I can skip over examining their contents and just accept the item as a file as the Finder does?


Code for this is in Chapter 6 of my book on declares.


On the flip side... how does one create such a package or bundle? Is it just create a folder and set some attributes to it?

Mostly you just need to set the file extension. For .app bundles there is a bit more involved. I have an old discussion at <http:// www.declaresub.com/Articles/bundleUp.html>.

Charles Yeomans
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>