🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #243421

Re: Dialog Scripts

#243421
From: Bob Henson
Date: Wed, 24 Nov 2010 12:20
46 lines
2839 bytes
teabag wrote:

> On Tue, 23 Nov 2010 09:19:44 +0000, Bob Henson wrote:
> 
>> Oliver Cromm wrote:
>> 
>>> * Bob Henson:
>>> 
>>>> I just set up a little script in Dialog which I copied verbatim from the
>>>> Help files, and which checks for e-mail on all accounts and news on all
>>>> groups. I put it in OnStartup in the Events scripts. The script worked fine
>>>> when I ran it from the editor, so I compiled it, and assumed it would be
>>>> called and run when Dialog ran. It isn't. Can anyone tell me what else I
>>>> have to do to get it to run when I start Dialog?

>> I'm not bothered about that too much, I was only trying to get it to run on
>> startup. It's no big deal either way, but I thought it would be handy.
> 
> Herre's what is in mine:
> 
> program OnStartup;
> procedure OnStartup;
> begin
> ADo('GetNewHeadersInSubscribedGroups');
> // ADo('GetNewEmailsForAllIdentities');
> //Mails
> timer1.interval:=60000*5;
> timer1.enabled:=true;
> //News
> timer2.interval:=60000*30;
> timer2.enabled:=true;
> end;
> begin
> end.
> 
> Adds in the interval "get" that you don't have.

OK, I'll try some modifications on that basis and see what happens. Thanks.
-- 
Regards, Bob

Do infants enjoy infancy as much as adults enjoy adultery?
&
Regards, Bob

Do unto others, then run like hell.
Technical Details
Message-ID: <5ua6h8f3xda$.1t1v9gnfhvo2a$.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
References: <1nz4dbxuja5mr.mcsw4gvqzysv$.dlg@40tude.net> <126dajg216sdx.dlg@mid.crommatograph.info> <1lnyo5ourd1nq$.1euswvc8r9gqy$.dlg@40tude.net> <r3bqz4f6a352.dlg@home.attbi.invalid>

Show Full Headers
Complete Article Headers
Message-ID: <5ua6h8f3xda$.1t1v9gnfhvo2a$.dlg@40tude.net>
Subject: Re: Dialog Scripts
Date: Wed, 24 Nov 2010 12:20:38 +0000
From: Bob Henson <rh547477@gmail.com>
References: <1nz4dbxuja5mr.mcsw4gvqzysv$.dlg@40tude.net> <126dajg216sdx.dlg@mid.crommatograph.info> <1lnyo5ourd1nq$.1euswvc8r9gqy$.dlg@40tude.net> <r3bqz4f6a352.dlg@home.attbi.invalid>
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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Home
Lines: 46
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: mx03.eternal-september.org;
 posting-host="+HHU+fRLzPC7leWoDT+I6g";
 logging-data="4362"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX18vFKE6Ru+bM95iAtEybUPD"
User-Agent: 40tude_Dialog/2.0.15.84
X-Face: 5ahJLP_ii|`/Z$C<q,F*9;
 ea#LXG80Uk{MLVeY7%vq{9+TP(y]QB-Ei[yt9c|%/xK@@^eQ{
 q"`HNG1UW75R[ICxxv%3l'[{;
 [C9gy^S>VkN^@GYA.Xbw+Nb|7O$pH\,BRJGNVL3lx58\Y"pht"DQv vsYfXZ?dBPgEgySh+U]rn
Cancel-Lock: sha1:xRVqtbEhZLyTKbSvHhjYKcPobxI=
X-Original-Bytes: 2615