🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Reading in .rtfd files

#920
From: Cecil Bloch
Date: Thu, 10 Sep 1992 16:49
16 lines
1166 bytes
Howard Brenner writes---

> I tried it out and it works (sort of).  I found that I had to disable  
the  
> ButtonCell so I would not get a "Text does not recognize sendAction:to:"  
> message.  I also noticed that some text around the ButtonCell turned  
grey  
> when I scroll the text (odd).  But it does work.

Which ButtonCell?  What are you loading the Rich Text into?
Something else occurred to me -- if all you want to do is open the RTF  
then the best thing might be to message the Workspace Manager to do it, in  
which case Edit will be launched and the RTF opened:

[[NXApp appSpeaker] setSendPort:NXPortFromName(NX_WORKSPACEREQUEST,NULL)];
result = [[NXApp appSpeaker] openFile:filename ok:&ok];
Technical Details
Message-ID: <1992Sep10.164942.26132@leland.Stanford.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!news
References: <Bu9y1C.5Lp@monitor.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!leland.Stanford.EDU!news
From: cjb@canopus.Stanford.EDU (Cecil Bloch)
Subject: Re: Reading in .rtfd files
Message-ID: <1992Sep10.164942.26132@leland.Stanford.EDU>
Sender: news@leland.Stanford.EDU (Mr News)
Reply-To: cjb@vega.stanford.edu
Organization: DSO, Stanford University
References: <Bu9y1C.5Lp@monitor.com>
Date: Thu, 10 Sep 92 16:49:42 GMT
Lines: 18