Article View: comp.sys.next.programmer
Article #1180Re: Packages
From: Glenn Reid
Date: Sun, 16 Aug 1992 18:40
Date: Sun, 16 Aug 1992 18:40
30 lines
1898 bytes
1898 bytes
Gordon Van Huizen writes > In article <1992Aug15.001900.1465@csus.edu> eps@futon.SFSU.EDU (Eric P. > Scott) writes: > > In article <1992Aug13.220229.15234@sunova.ssc.gov> > > sapp@falcon.ssc.gov (Kevin Sapp) writes: > > >How does one create a file package from an app? > Again, what I think Kevin meant is a file package, not an app wrapper. I'd > like yo know how to do this too. (I already knew how to make an app > wrapper, besides in 3.0 it's the only thing you can do). You have to create the file package yourself, by creating a directory named "YourFilePackage.ext", where "ext" is the extension you wish to use for your file packages. You then write files into this directory as usual, or read from them. I recommend a single file name inside the wrapper; we use "PasteUpDoc.pub" inside the wrapper, following the lead of WriteNow and others. The main reason for this is so that a user can rename the file package without knowing about anything inside or worrying about keeping names in sync (contrast this with app wrappers, which cannot be renamed unless you also rename the app inside the wrapper). The open/save panel will automatically handle the file packages, but it will give you back the name of the package (directory). It's up to you to deal with the internals of the file package. 3.0 might improve upon this; I haven't checked. -- Glenn Reid NeXTmail: glenn@rightbrain.com RightBrain Software 415-326-2974 (NeXTfax 326-2977) Palo Alto, California
Technical Details
Message-ID:
<841@rtbrain.rightbrain.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!nntp1.radiomail.net!fernwood!rtbrain!rightbrain.comReferences:
<1992Aug15.200258.2307@metrosoft.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!nntp1.radiomail.net!fernwood!rtbrain!rightbrain.com From: glenn@rightbrain.com (Glenn Reid) Newsgroups: comp.sys.next.programmer Subject: Re: Packages Message-ID: <841@rtbrain.rightbrain.com> Date: 16 Aug 92 18:40:15 GMT References: <1992Aug15.200258.2307@metrosoft.com> Sender: glenn@rightbrain.com Reply-To: glenn@rightbrain.com Lines: 30