🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1136

Updating workspace file viewer.

#1136
From: Michael Glenn
Date: Fri, 14 Aug 1992 12:40
25 lines
1620 bytes
I apologize if this is a FAQ or has been asked before.  If it is a FAQ,  
just tell me so. :)

I have (am writing) an application that will launch when files with the  
appropriate extension are double-clicked from the file viewer.  The  
program will usually create/remove files in the same directory as the file  
being opened, but the file viewer doesn't update itself right away to show  
the changes in the directory.  It *does* work fine if I open a file via an  
Open Panel from within the application.  After selecting the file this  
way, the file viewer immediately fixes itself.  So, I'm looking for two  
things:

1) An explanation as to why there is any difference here...

2) How to "poke" the workspace manager to tell it that it needs to update  
the file viewer.

Ok, second question thread:  Is there a convenient way of specifying more  
than three document file extensions for a single application?  I can do so  
by modifying the Makefile (DOCICONS and ICONSECTIONS) and then modifying  
the .iconheader file.  But this seems the wrong way, as the IB will  
overwrite these...  From inside the IB, it seems to allow only 3.

Michael Glenn (fermat@fermat.dartmouth.edu - NeXT mail welcome!)
Technical Details
Message-ID: <1992Aug14.124045.10555@dartvax.dartmouth.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!bu.edu!dartvax!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!bu.edu!dartvax!news
From: fermat@fermat.dartmouth.edu (Michael Glenn)
Newsgroups: comp.sys.next.programmer
Subject: Updating workspace file viewer.
Message-ID: <1992Aug14.124045.10555@dartvax.dartmouth.edu>
Date: 14 Aug 92 12:40:45 GMT
Sender: news@dartvax.dartmouth.edu (The News Manager)
Organization: Dartmouth College, Hanover, NH
Lines: 25