Thread View: news.software.readers
6 messages
6 total messages
Started by Tarkus
Wed, 23 Jul 2003 18:26
[Dialog] A script pause?
Author: Tarkus
Date: Wed, 23 Jul 2003 18:26
Date: Wed, 23 Jul 2003 18:26
15 lines
1915 bytes
1915 bytes
I have a script that first switches tabs and then downloads new headers in all subscribed groups. Unfortunately, it starts downloading headers before the tab gets switched, and therefore, gets headers in ALL my groups, not just those in the new tab. Is there a way to make it pause before getting new headers, to give it time to get to the new tab? -- The UNofficial 40tude Dialog mailing list: Email: 40tude_Dialog-subscribe@yahoogroups.com Web: http://groups.yahoo.com/group/40tude_Dialog/ Now playing: "The Moody Blues - 06 - One More Time to Live"
Re: [Dialog] A script pause?
Author: Jernej SimonÄiÄ
Date: Wed, 23 Jul 2003 18:43
Date: Wed, 23 Jul 2003 18:43
12 lines
1789 bytes
1789 bytes
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) -- Jernej SimonÄiÄ, <jernej simoncic at guest arnes si> http://www2.arnes.si/~sopjsimo/ Now playing: Shuntaro Okino - Last Exile OST [01] - Cloud Age Symphony
Re: [Dialog] A script pause?
Author: Tarkus
Date: Wed, 23 Jul 2003 19:42
Date: Wed, 23 Jul 2003 19:42
16 lines
1921 bytes
1921 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) Thanks...I'll give it a shot. -- The UNofficial 40tude Dialog mailing list: Email: 40tude_Dialog-subscribe@yahoogroups.com Web: http://groups.yahoo.com/group/40tude_Dialog/ Now playing: "The Moody Blues - 02 - Ride My See-Saw"
Re: [Dialog] A script pause?
Author: Tarkus
Date: Thu, 24 Jul 2003 13:47
Date: Thu, 24 Jul 2003 13:47
38 lines
2542 bytes
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"
Re: [Dialog] A script pause?
Author: Jo'Asia
Date: Thu, 24 Jul 2003 13:55
Date: Thu, 24 Jul 2003 13:55
34 lines
2725 bytes
2725 bytes
Tarkus wrote:
> On Wed, 23 Jul 2003 20:43:36 +0200, Jernej SimonÄiÄ wrote:
>> 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');
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I think this function will always retrieve headers from *all* subscribed
groups. Even if you create a tab with one group in it, switch to it
manually and then call this function from menu it would still retrieve all
subscribed groups.
Jo'Asia
--
__.-=-. Joanna Slupek http://bujold.fantastyka.net/ .-=-.__
--<()> (Add one 'l' to 'hel' when replying by e-mail) <()>--
.__.'| ..................................................... |'.__.
Change is inevitable, except from a vending machine.
Re: [Dialog] A script pause?
Author: Tarkus
Date: Thu, 24 Jul 2003 16:21
Date: Thu, 24 Jul 2003 16:21
15 lines
2028 bytes
2028 bytes
On Thu, 24 Jul 2003 15:55:12 +0200, Jo'Asia wrote: > I think this function will always retrieve headers from *all* subscribed > groups. Even if you create a tab with one group in it, switch to it > manually and then call this function from menu it would still retrieve all > subscribed groups. What Exiddor said. -- The UNofficial 40tude Dialog mailing list: Email: 40tude_Dialog-subscribe@yahoogroups.com Web: http://groups.yahoo.com/group/40tude_Dialog/ Now playing: "Alex Harvey - Swampsnake"
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