Article View: news.software.readers
Article #155058Re: [Dialog] Script question / problem
From: Marcus Mönnig
Date: Wed, 01 Sep 2004 07:39
Date: Wed, 01 Sep 2004 07:39
35 lines
2642 bytes
2642 bytes
*Krzysztof Trybowski*, 1 Sep. 04, 09:32:
> I have the following script in the startup, but it doesn't work:
>
> program OnStartup;
> procedure OnStartup;
> begin
> ADo('CheckForNewHeadersInSubscribedGroups');
> timer1.interval:=60000*5;
> timer1.enabled:=true;
> end;
> begin
> end.
>
> The problem seems to be name of the function
> "CheckForNewHeadersInSubscribedGroups" since when it is changed to
> "GetNewHeadersInSubscribedGroups" it works. What's the function's correct
> name?
There is no "CheckForNewHeadersInSubscribedGroups" action.
You need to use "Ado('CheckNewHeadersinSubscribedGroups');".
This will connect to the server(s) and only check if there are any new
articles in the groups. If you want to actually download them, use
"Ado('GetNewHeadersInSubscribedGroups');".
To find the correct name of a function it's easiest to press the "Show
button config" button in the scripting window and drag and drop the needed
function onto the correct position in your script. It will then insert the
correct Ado statement automatically.
Marcus
--
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Technical Details
Message-ID:
<bmr8busg2itr$.jl9bigor3xsa$.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!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news2.telebyte.nl!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mailReferences:
<qksag7e5lp9j$.dlg@trybik.mamut.zax.pl>Show Full Headers
Complete Article Headers
Message-ID: <bmr8busg2itr$.jl9bigor3xsa$.dlg@40tude.net>
Subject: Re: [Dialog] Script question / problem
Date: Wed, 1 Sep 2004 09:39:11 +0200
From: Marcus Mönnig <usenet-aug04@40tude.com>
References: <qksag7e5lp9j$.dlg@trybik.mamut.zax.pl>
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!nntp.giganews.com!news2.telebyte.nl!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 35
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1094024393 07 29996 8VbaXmRJQ8V9hNH 040901 07:39:53
X-Complaints-To: usenet-abuse@t-online.de
X-ID: SImI18ZfreucY-NGXHvgaxo1CXugo90mB0Lcqd5tCqDwkeTb5zBTZn
X-Now-Playing: nothing
User-Agent: 40tude_Dialog/2.0.12.96de (4ec39a5c.477.78)
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