🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #158197

Re: [Dialog] Script Timeout and Losing Focus

#158197
From: Bob Jones
Date: Fri, 12 Nov 2004 02:22
29 lines
2063 bytes
On Wed, 10 Nov 2004 10:52:59 +0100, Alain GUERIN
<courriels40@alain-guerin.com> wrote:

>Hello,
>
>
>On Mon, 08 Nov 2004 23:14:30 -0500, Bob Jones wrote:
>
>> I have a fairly long running script...it is analyzing every message in
>> a group.  So, it is navigating from message to message.
>
>> It works fine except that after about two minutes, dialog says that
>> the application appears to be locked.  I can continue the application
>> or close the application.  If I continue the application, the script
>> does not continue.
>
>[...]
>
>Is there a way to look at your script ? May be someone can find a
>workaround.

Thanks for the offer of help, but i was able to solve both my problems
with a single line of code in my main loop:

Application.ProcessMessages;

It allows Dialog time to do what it needs to do, but i'm also now able
to minimize Dialog and my script keeps running (and can still navigate
the messages).
Technical Details
Message-ID: <0f78p01nkvcc90pv3v4li4h2dmqnki4uoi@4ax.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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!news.glorb.com!news.airnews.net!cabal12.airnews.net!cabal11.airnews.net!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
References: <jlg0p091d1hivfgnjlf0fdtbru2e5flspe@4ax.com> <1xjn1a3avuv8e$.dlg@alain-guerin.com>

Show Full Headers
Complete Article Headers
Message-ID: <0f78p01nkvcc90pv3v4li4h2dmqnki4uoi@4ax.com>
Subject: Re: [Dialog] Script Timeout and Losing Focus
Date: Thu, 11 Nov 2004 21:22:43 -0500
From: Bob Jones <bjones@mail.com>
References: <jlg0p091d1hivfgnjlf0fdtbru2e5flspe@4ax.com> <1xjn1a3avuv8e$.dlg@alain-guerin.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!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!gnilink.net!news.glorb.com!news.airnews.net!cabal12.airnews.net!cabal11.airnews.net!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!news.supernews.com!not-for-mail
Newsgroups: news.software.readers
Organization: Posted via Supernews, http://www.supernews.com
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@supernews.com
Lines: 29