🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #112337

Re: [DIALOG] Scripting (ADo('ArticlePane') and PostKey)

#112337
From: Marcus Mönnig
Date: Sat, 26 Oct 2002 22:02
32 lines
2151 bytes
Marco Barisione wrote in <wi0cn1gjs0d6.dlg@marco.barisione>:

> Program ArticlePaneLeft;
> Begin
> ADo('ArticlePane'); // I can't see any effect.
> // I don't know what the first argument should be.
> // Is it the virtual key code (VK_LEFT, VK_RIGHT...)?
> PostKey(25, False, False, False, False, False, False, False, False);
> End.

Regarding "ADo('ArticlePane')", you'll only _see_ the effect when the 
article pane doesn't yet have the focus. 

You'll need to use the virtual key codes. 25 is VK_Hanja, which you might 
now want. Here are the codes for the cursor keys:

  VK_LEFT = 37;
  VK_UP = 38;
  VK_RIGHT = 39;
  VK_DOWN = 40;

This worked for me:

Program ArticlePaneLeft;
Begin
ADo('ArticlePane');
PostKey(40, False, False, False, False, False, False, False, False);
End.
-- 
Marcus M�nnig
No replies in private e-mail, please, unless explicitly requested!
Technical Details
Message-ID: <9u6cdw9mfzee.dlg@40tude.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!news01.chello.se!newsrouter.chello.at!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
References: <wi0cn1gjs0d6.dlg@marco.barisione>

Show Full Headers
Complete Article Headers
Message-ID: <9u6cdw9mfzee.dlg@40tude.com>
Subject: Re: [DIALOG] Scripting (ADo('ArticlePane') and PostKey)
Date: Sun, 27 Oct 2002 00:02:00 +0200
From: Marcus Mönnig <usenet-oct02@40tude.com>
References: <wi0cn1gjs0d6.dlg@marco.barisione>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed1.bredband.com!bredband!news01.chello.se!newsrouter.chello.at!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 31
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1035669723 01 23307 lHc4bLsVSBATDO 021026 22:02:03
X-Complaints-To: abuse@t-online.com
X-Sender: 520046593153-0001@t-dialin.net
X-Face: .k.-$2:"SOnv`$+._5GWLVbo=\AYg!R'T#G[$P`Chd0T$NtF2}68aF}1gRDrxTQi']7Ldza n{+d:rTHS*nc<xt?o:zVx>3P$=`rx}:o1!BA'OmJn(lR=Y%mG{*T#D-B02=:Dh0138$V
User-Agent: 40tude_Dialog/2.0.2.2 (dd7aa8ca.149.268)