๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #129373

Re: [Dialog] A script pause?

#129373
From: Tarkus
Date: Thu, 24 Jul 2003 13:47
38 lines
2542 bytes
On Wed, 23 Jul 2003 20:43:36 +0200, Jernej Simonฤiฤ wrote:

> On Wed, 23 Jul 2003 18:26:25 GMT, Tarkus wrote:
> 
>> Is there a way to make it pause before getting new headers, to give it
>> time to get to the new tab?
> 
> Try Sleep(ms)

Doesn't work.  I set it all the way up to 30000 and it just waits on the
first tab until the 30 seconds are up, and then switches tabs and starts
downloading all subscribed groups from my main Subscribed tab.

Here is the script:

program OnStartup;

procedure OnStartup;
begin
PostKey( ord('Z'), false,true,false,false,false,false,false,false);
Sleep(30000);
ADo('GetNewHeadersInSubscribedGroups');
ADo('GetNewEmailsForCurrentIdentity');
//ADo('CheckNewHeadersinSubscribedGroups');
timer1.interval:=60000*5; //every 5 minutes
timer1.enabled:=true;
timer2.interval:=60000*15; //every 15 minutes
timer2.enabled:=true;
end;

begin
end.
-- 
The UNofficial 40tude Dialog mailing list:
Email:  40tude_Dialog-subscribe@yahoogroups.com
Web:  http://groups.yahoo.com/group/40tude_Dialog/

Now playing: "Joe Satriani - Joe Satriani - 02 - If"
Technical Details
Message-ID: <10mxko89oixl2.dlg@tarkus.karnevil9.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.20140922.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
References: <1k6hh6yjrgevx$.dlg@tarkus.karnevil9.com> <1btb6ia4rz41o.dlg@jernej.isg.si>

Show Full Headers
Complete Article Headers
Message-ID: <10mxko89oixl2.dlg@tarkus.karnevil9.com>
Subject: Re: [Dialog] A script pause?
Date: Thu, 24 Jul 2003 13:47:39 GMT
From: Tarkus <karnevil9@beer.com>
References: <1k6hh6yjrgevx$.dlg@tarkus.karnevil9.com> <1btb6ia4rz41o.dlg@jernej.isg.si>
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!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.5.67 (7ef85a0c.51.34)
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-2"
Content-Transfer-Encoding: 8bit
Reply-To: dialog.20.karnevil9@xoxy.net
Organization: Brain Salad Surgery
X-Face: jX#]dcy06XG/h]^S&Es)j+i^|l951>b?6ay9h6At)oOt&%aIgP.i.B!kbX)aJIWrQai,TY&
 L^34eskI;
 v%'~i|gLTrPhTV4vOT92b2D,@Z44*M"y`0b&X>m+6Sz2h96KnB"'@+'{G@yJsSnTM908|
 z>0"2&l\d6s~W8KXWxHSPUdZiy_6tn; |?'~6_B6Z1HGh@mh
Lines: 38
NNTP-Posting-Host: 63.184.9.16
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.prod.itd.earthlink.net 1059054459 63.184.9.16 (Thu,
NNTP-Posting-Date: Thu, 24 Jul 2003 06:47:39 PDT