Article View: news.software.readers
Article #141957Re: [Dialog] Timed download of headers for some groups
From: MLC
Date: Fri, 23 Jan 2004 09:53
Date: Fri, 23 Jan 2004 09:53
99 lines
3830 bytes
3830 bytes
giovedรฌ 22/gen/2004 _Barry Jones_ ha scritto:
> Thanks MLC. It seems to get headers from all subscribed groups, rather than
> just the one category/server. I tried the following:
>
> Program test;
> Procedure mytest;
> Begin
> PostKey(Ord('R'),false,true,false,false,false,false,false,false);
> //Alt-R selects Roadrunner category
> ADo('NewsgroupPane');
> PostKey(Ord('A'),false,false,true,false,false,false,false,false);
> //Ctrl-A Selects all
> ADo('GetNewHeadersInSelectedGroups');
> ADo('PreviousMessageInHistory');
> ADo('HeaderlistPane');
> end;
> begin
> mytest;
> end.
>
> If I compile and run it, it does the right thing. If I run it from a
> shortcut or an icon on the taskbar, it does something incorrect. Any clues?
You're right: I tested it only in the script window and there it worked.
Instead with a button it doesn't, like your version.
I really don't have a clue about this behaviour.
>
> Also, is there a reference for the key names for PostKey? For example, how
> would I specify a function key, or an arrow key (Left, Right, etc.)?
I can give you those I have:
VK_LBUTTON = 1;
VK_RBUTTON = 2;
VK_CANCEL = 3;
VK_MBUTTON = 4; { NOT contiguous with L & RBUTTON }
VK_BACK = 8;
VK_TAB = 9;
VK_CLEAR = 12;
VK_RETURN = 13;
VK_SHIFT = $10;
VK_CONTROL = 17;
VK_MENU = 18;
VK_PAUSE = 19;
VK_CAPITAL = 20;
VK_ESCAPE = 27;
VK_SPACE = 32;
VK_PRIOR = 33;
VK_NEXT = 34;
VK_END = 35;
VK_HOME = 36;
VK_LEFT = 37;
VK_UP = 38;
VK_RIGHT = 39;
VK_DOWN = 40;
VK_INSERT = 45;
VK_DELETE = 46;
VK_0 thru VK_9 (not numpad) are the same as ASCII '0' thru '9' (48 - 57)
VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (41 - 90)
VK_LWIN = 91;
VK_RWIN = 92;
VK_APPS = 93;
VK_NUMPAD0 = 96;
VK_NUMPAD1 = 97;
VK_NUMPAD2 = 98;
VK_NUMPAD3 = 99;
VK_NUMPAD4 = 100;
VK_NUMPAD5 = 101;
VK_NUMPAD6 = 102;
VK_NUMPAD7 = 103;
VK_NUMPAD8 = 104;
VK_NUMPAD9 = 105;
VK_MULTIPLY = 106;
VK_ADD = 107;
VK_SUBTRACT = 109;
VK_DECIMAL = 110;
VK_DIVIDE = 111;
VK_F1 = 112;
VK_F2 = 113;
VK_F3 = 114;
VK_F4 = 115;
VK_F5 = 116;
VK_F6 = 117;
VK_F7 = 118;
VK_F8 = 119;
VK_F9 = 120;
VK_F10 = 121;
VK_F11 = 122;
VK_F12 = 123;
VK_NUMLOCK = 144;
VK_SCROLL = 145;
Ciao,
--
random anagram: The Detectives = Detect Thieves
Maria Luisa C - 23/01/04 10.15.52, here.
http://fido.altervista.org/
Technical Details
Message-ID:
<1bzp64qkaj01h$.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!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!ppp-66-193.26-151.libero.IT!not-for-mailReferences:
<i98luk128ggo.1oev06pizh9v.dlg@40tude.net> <1eiajevpui5yh.dlg@ID-187316.user.uni-berlin.de> <1flr1epm1njvn$.16jw8j4f7jje7.dlg@40tude.net>Show Full Headers
Complete Article Headers
Message-ID: <1bzp64qkaj01h$.dlg@ID-187316.user.uni-berlin.de>
Subject: Re: [Dialog] Timed download of headers for some groups
Date: Fri, 23 Jan 2004 10:53:08 +0100
From: MLC <maluc52@yahoo.it>
References: <i98luk128ggo.1oev06pizh9v.dlg@40tude.net> <1eiajevpui5yh.dlg@ID-187316.user.uni-berlin.de> <1flr1epm1njvn$.16jw8j4f7jje7.dlg@40tude.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!intern1.nntp.aus1.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!ppp-66-193.26-151.libero.IT!not-for-mail
Newsgroups: news.software.readers
Organization: none
Lines: 99
NNTP-Posting-Host: ppp-66-193.26-151.libero.it (151.26.193.66)
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de 1074851589 21562722 151.26.193.66 ([187316])
User-Agent: 40tude_Dialog/2.0.10.1it (9db13392.321.287)
X-Face: (O6iue.kQNT|`uU@vD|.WKC^TF~T<TIA,\;
B'27kz>*1Mk|Z6U!2EKSFc')'xVk]t'/3<,#
#L+5&I{L<!Q%p[k|+%mSCT"e2\4JnDJhbQ,`EA4fu$q0q>{7W?\gQeqD@*lzcR0~:9Zzn!1yCRb