Re: Packages
Re: Packages
- Subject: Re: Packages
- From: garbanzito <email@hidden>
- Date: Fri, 17 May 2002 17:56:22 -0600
at 2002 05 17, 14:29 -0700, they whom i call Paul Berkowitz wrote:
How are packages made - or unmade? Only by a Cocoa IDE or can AppleScript
participate?
i think bundle is the current term, though it seems Mac OS 9
"packages" are a type of bundle.
i believe all that is needed to make or unmake a bundle is
to add or delete an extension (yick) that the system knows
to mark bundles. for instance if i rename INBOX.mbox to just
INBOX, Finder treats it as a folder and i can see the
contents. (there may be a lag before Finder figures this
out.) and the process can be reversed.
it's also true, as you found, that non-Finder tools such as
AppleScript or the shell see bundles transparently as
folders.
more on bundles, though not much help on Mail.app's mbox
bundles:
<
http://developer.apple.com/techpubs/macosx/Essentials/SystemOverview/Bundles/index.html>
But what I'm wondering is whether there's a way to convert an ".mbox:"
package to an MBOX file and, more particularly, whether you can do the
opposite: convert a regular MBOX file to one of these
table_of_contents-containing ".mbox:" packages and import it into Mail.app
that way?
the hitch there is, i don't belive the table_of_contents
format is public. the mbox text file should contain all the
actual messages, but the status flags etc. are likely in the
TOC or .SKindex. i've seen more detailed discussions of this
on other lists. here's a quick search of one that might
prove helpful:
<
http://www.omnigroup.com/search-bin/macosx-admin?Search=mbox>
--
steve harley email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >Packages (From: Paul Berkowitz <email@hidden>) |