🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #153791

Re: [Dialog] Another Basic Script Question

#153791
From: Copelandia Cyanescens
Date: Sat, 14 Aug 2004 03:41
95 lines
3796 bytes
MLC wrote...

>> Suggestions?
> 
> Here I am! ;-)

I love you. <grin>

Thanks again, it works perfectly now. I didn't see "FirstMessage"
anywhere in the help files, and can't seem to locate it in the menus
structure...???

And another nit picky question...

  try
   LockDisplay;
   ...
  finally
   UnlockDisplay;

I see this typically written with Lockdisplay before try. Does it
matter? I don't experience the alleged "flickering" either way myself,
even when flipping panes and traversing header lists.

> A resource is the keycodes.exe little program (the zip is only 3.39 KB).

And again I thank you!

Could you, or someone, expand on the reasons why PostKey(...) is such a
bear? Why it won't work in situations like this??

> It's in German but you can understand very well what to do :)

And if I couldn't, I'd just ask my girlfriend to translate. She's a
German citizen in the States on a "green card", and she owes me one for
finding a way to dynamically search the 37K+/- HTML/PDF/DOC files on CD
she brought home from work the other day. <g>

In any case, here's the silly final product left diced up in procedures
because I have "plans", and another little bit of nonsense that seem to
help make reading high traffic groups a bit easier when assigned to a
couple icons in the tool bar and placed next to the standard message
navigation buttons. For me anyway. :)

// **********
// 
Program RefreshView;
 
procedure RefreshHeaderDisplayList();
 begin
  Ado('HeaderlistPane');
  ADo('RefreshView');
  Ado('FirstMessage');
 end;
 
procedure JumpPane();
 begin
  ADo('ArticlePane');
 end;

Begin  
 lockdisplay;
 try
  RefreshHeaderDisplayList();
  JumpPane();
 finally
 unlockdisplay; 
end;
End.
// **********

// **********
Program MarkThreadRead;
Begin
 lockdisplay;
 try
  Ado('HeaderlistPane');
  ADo('CollapseThread');
  ADo('MarkRead');
  ADo('ExpandThread');
  ADo('SkipToNextUnreadMessage');
  Ado('ArticlePane');
 finally
 unlockdisplay;
end;
End.
//**********

-- 
"Just keep the cockpit door closed. You can put up a sign in
Arab - this is, say, type-casting, but say 'Try to hijack,
go to jail.' "

                                      -- Sen. Fritz Hollings
Technical Details
Message-ID: <1hmj1m0bwef3$.dlg@x02x67invalid.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!wns13feed!worldnet.att.net!63.223.4.70!c01.usenetserver.com!news.usenetserver.com!fe39.usenetserver.com.POSTED!53ab2750!not-for-mail
References: <1ci4ar6pm0w8q$.dlg@x02x67invalid.net> <g5oosmddpgyg.dlg@ID-187316.user.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <1hmj1m0bwef3$.dlg@x02x67invalid.net>
Subject: Re: [Dialog] Another Basic Script Question
Date: Fri, 13 Aug 2004 23:41:24 -0400
From: Copelandia Cyanescens <synesthesia@invalid.net>
References: <1ci4ar6pm0w8q$.dlg@x02x67invalid.net> <g5oosmddpgyg.dlg@ID-187316.user.uni-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!wns13feed!worldnet.att.net!63.223.4.70!c01.usenetserver.com!news.usenetserver.com!fe39.usenetserver.com.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: Sasquatch Militia - http://zapatopi.net/bsa/militia.html
X-Face: #H\apiUjjEK8Ja3*wVt%SPJA@|&vdM[x.Eaz$bt[9+F+wFbra!0>7>mc|vBZ~aml@SwFHO.
 [f*5q(tSr%], s6a*.VRjDw]jDh!ux[5o{tJ?3s>PZW+l&|}go?aN8/]>>MoPV!aOW!r,
 =e}y@dYw.(
 _{C\A65i!+Ua=dhjG@`6SH7!hD"Yz.4P"dPM2R+HeO8f+$Sf~6DnC~->Gylr??675z?I
X-Ultimate-Answer: 42
Lines: 94
X-Complaints-To: abuse@usenetserver.com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly.
NNTP-Posting-Date: Fri, 13 Aug 2004 23:41:38 EDT