🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #112760

Re: [Dialog] Timers in scripting

#112760
From: Henry
Date: Wed, 30 Oct 2002 14:23
20 lines
1615 bytes
On Wed, 30 Oct 2002 10:19:50 +0000, Colin Jones wrote:

> Hiya All.
> 
>   I want to set a timer on startup and use it to check for e-mails every x 
> mins. The help file seems unclear on the syntax for this, unless I'm 
> looking in the wrong place again, so I'm wondering if one of you have 
> actually already worked this out :-)
> 
>   I realise it'll mean setting two scripts, one for setting the timer and 
> one for acting on the timer. I feel ok for the checking it's the setting 
> that's unclear.

You'll have to enable the timer e.g.:
Timer1.enabled := True;
Timer1.interval := 300000;

-- 
Henry
Technical Details
Message-ID: <12bwr546i9h9o.dlg@pc10.procura.nl>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!rhinewceros.xs4all.nl!not-for-mail
References: <o44iirglnrab.1dzoyiddmuo3z$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <12bwr546i9h9o.dlg@pc10.procura.nl>
Subject: Re: [Dialog] Timers in scripting
Date: Wed, 30 Oct 2002 15:23:32 +0100
From: Henry <henry@procura.invalid>
References: <o44iirglnrab.1dzoyiddmuo3z$.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.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!rhinewceros.xs4all.nl!not-for-mail
To: news.software.readers
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: henry@procura.nl
User-Agent: 40tude_Dialog/2.0.2.1
Lines: 19
NNTP-Posting-Host: 213.84.163.145
X-Trace: 1035988006 dreader4.news.xs4all.nl 84942 213.84.163.145:15954