Article View: news.software.readers
Article #153670[Dialog] Another Basic Script Question
From: Copelandia Cyanescens
Date: Thu, 12 Aug 2004 22:21
Date: Thu, 12 Aug 2004 22:21
56 lines
3014 bytes
3014 bytes
Trying to cobble together something that's sort of a one button
"Enhanced Refresh View". This is where I'm at...
// *************
Program RefreshView;
procedure RefreshHeaderDisplayList();
begin
ADo('HeaderlistPane');
ADo('RefreshView');
PostKey(36, false, false, false, false, false, false, false, false);
end;
procedure JumpPane();
begin
Ado('ArticlePane');
end;
Begin
RefreshHeaderDisplayList();
JumpPane();
End.
// *************
I originally had everything together but broke it into two procedures to
try and isolate my problem. That problem being I can't seem to have my
cake and eat it too. :(
Including the JumpPane() procedure makes PostKey(36) apparently fail,
displaying the "next unread message" in the Header Pane, but with focus
on the Article Pane just like I'd like.
If I comment out JumpPane(), PostKey(36) apparently works fine, but of
course focus ends up in the Header List. Identical problem with or
without separate procedures.
I've also tried several variations that include sleep() to see if there
wasn't something about PostKey() that required a delay, as well as some
experiments with lock/unlockdisplay that had zero effect.
I've also tried several versions like...
Ado('HeaderlistPane');
PostKey(36, ....);
ADo('RefreshView');
I've *also* tried both settings for "Return To Last Active Article When
Returning To Group" in General Settings > Navigation... FWIW.
Suggestions?
And as an aside, what are all the key values for PostKey()? A resource
is fine. A method of determining them would be better. ;)
TIA!
Technical Details
Message-ID:
<1ci4ar6pm0w8q$.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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!63.223.20.72.MISMATCH!sjc1.usenetserver.com!news.usenetserver.com!fe39.usenetserver.com.POSTED!53ab2750!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <1ci4ar6pm0w8q$.dlg@x02x67invalid.net>
Subject: [Dialog] Another Basic Script Question
Date: Thu, 12 Aug 2004 18:21:38 -0400
From: Copelandia Cyanescens <synesthesia@invalid.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!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news2.euro.net!63.223.20.72.MISMATCH!sjc1.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: 55
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: Thu, 12 Aug 2004 18:21:46 EDT