🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Bob Jones Tue, 09 Nov 2004 04:14
[Dialog] Script Timeout and Losing Focus
#158063
Author: Bob Jones
Date: Tue, 09 Nov 2004 04:14
18 lines
1700 bytes
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.

Also, even when the script is running, if I change focus away from
Dialog, the script will stop working and Dialog will be frozen.

Is there anyway to increase (or disable) the timeout for a long
running script within dialog?  Is there a way to have Dialog be
minimized (or just not have focus) but let a script work that
navigates as a user would?

Thanks for any insight.
Re: [Dialog] Script Timeout and Losing Focus
#158115
Author: Alain GUERIN
Date: Wed, 10 Nov 2004 09:52
21 lines
1881 bytes
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.


-- 
A.G.
Re: [Dialog] Script Timeout and Losing Focus
#158197
Author: 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).
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads