🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Paul J. The Grump Sat, 11 Jun 2005 00:03
[Dialog] Get new headers in subscribed groups upon starting Dialog?
#167706
Author: Paul J. The Grump
Date: Sat, 11 Jun 2005 00:03
5 lines
1346 bytes
SSIA. 

I think this would be a nice feature if it doesn't already exist.  I've
checked the script library and didn't find anything that might do this.  So
if someone knows a way to get it done I'd be first in line.
Re: [Dialog] Get new headers in subscribed groups upon starting Dialog?
#167707
Author: Gember Breuk
Date: Sat, 11 Jun 2005 00:45
15 lines
1504 bytes
On Sat, 11 Jun 2005 00:03:10 GMT, Paul J. The Grump wrote:

> SSIA. 
> 
> I think this would be a nice feature if it doesn't already exist.  I've
> checked the script library and didn't find anything that might do this.  So
> if someone knows a way to get it done I'd be first in line.

This script will get new headers on startup, and then repeat at whatever
interval you set:

http://www.40tude.com/dialog/wiki/index.php/ScriptFetchByInterval

-- 
Gem
Re: [Dialog] Get new headers in subscribed groups upon starting Dialog?
#167708
Author: Paul J. The Grump
Date: Sat, 11 Jun 2005 00:56
20 lines
1987 bytes
On Fri, 10 Jun 2005 20:45:04 -0400, Gember Breuk wrote:

> On Sat, 11 Jun 2005 00:03:10 GMT, Paul J. The Grump wrote:
> 
>> SSIA. 
>> 
>> I think this would be a nice feature if it doesn't already exist.  I've
>> checked the script library and didn't find anything that might do this.  So
>> if someone knows a way to get it done I'd be first in line.
> 
> This script will get new headers on startup, and then repeat at whatever
> interval you set:
> 
> http://www.40tude.com/dialog/wiki/index.php/ScriptFetchByInterval

I saw that one but didn't open it due to the name, I didn't think that it
would work at startup.

Problem is, I already have a OnStartup script...is it possible to have more
than one script for the same event?
Re: [Dialog] Get new headers in subscribed groups upon starting Dialog?
#167710
Author: Gember Breuk
Date: Sat, 11 Jun 2005 01:03
31 lines
2222 bytes
On Sat, 11 Jun 2005 00:56:03 GMT, Paul J. The Grump wrote:

> On Fri, 10 Jun 2005 20:45:04 -0400, Gember Breuk wrote:
> 
>> On Sat, 11 Jun 2005 00:03:10 GMT, Paul J. The Grump wrote:
>> 
>>> SSIA. 
>>> 
>>> I think this would be a nice feature if it doesn't already exist.  I've
>>> checked the script library and didn't find anything that might do this.  So
>>> if someone knows a way to get it done I'd be first in line.
>> 
>> This script will get new headers on startup, and then repeat at whatever
>> interval you set:
>> 
>> http://www.40tude.com/dialog/wiki/index.php/ScriptFetchByInterval
> 
> I saw that one but didn't open it due to the name, I didn't think that it
> would work at startup.

But it does quite nicely in fact. :-)

> Problem is, I already have a OnStartup script...is it possible to have more
> than one script for the same event?

Yes, you can combine them. Without knowing what your script now is, I
can't say exactly how, but you usually can add in the lines from the
other script at the beginning or end of the existing one. 

-- 
Gem
Re: [Dialog] Get new headers in subscribed groups upon starting Dialog?
#167731
Author: Paul J. The Grump
Date: Sat, 11 Jun 2005 12:52
23 lines
2169 bytes
On Fri, 10 Jun 2005 21:03:10 -0400, Gember Breuk wrote:

>>> This script will get new headers on startup, and then repeat at whatever
>>> interval you set:
>>> 
>>> http://www.40tude.com/dialog/wiki/index.php/ScriptFetchByInterval
>> 
>> I saw that one but didn't open it due to the name, I didn't think that it
>> would work at startup.
> 
> But it does quite nicely in fact. :-)
> 
>> Problem is, I already have a OnStartup script...is it possible to have more
>> than one script for the same event?
> 
> Yes, you can combine them. Without knowing what your script now is, I
> can't say exactly how, but you usually can add in the lines from the
> other script at the beginning or end of the existing one.

I have ScriptSwitchCategories installed, which opens a certain category
when Dialog is started.
-- 
6/11/2005 8:52:38 AM
Re: [Dialog] Get new headers in subscribed groups upon starting Dialog?
#167732
Author: Gember Breuk
Date: Sat, 11 Jun 2005 13:41
28 lines
2201 bytes
On Sat, 11 Jun 2005 12:52:49 GMT, Paul J. The Grump wrote:

> On Fri, 10 Jun 2005 21:03:10 -0400, Gember Breuk wrote:
> 
>>>> This script will get new headers on startup, and then repeat at whatever
>>>> interval you set:
>>>> 
>>>> http://www.40tude.com/dialog/wiki/index.php/ScriptFetchByInterval
>>> 
>>> I saw that one but didn't open it due to the name, I didn't think that it
>>> would work at startup.
<> 
>> But it does quite nicely in fact. :-)
>> 
>>> Problem is, I already have a OnStartup script...is it possible to have more
>>> than one script for the same event?
>> 
>> Yes, you can combine them. Without knowing what your script now is, I
>> can't say exactly how, but you usually can add in the lines from the
>> other script at the beginning or end of the existing one.
> 
> I have ScriptSwitchCategories installed, which opens a certain category
> when Dialog is started.

Ok, I'll take a look to see if there is any problem with combining them.

-- 
Gem
Re: [Dialog] Get new headers in subscribed groups upon starting Dialog?
#167741
Author: Gember Breuk
Date: Sat, 11 Jun 2005 17:16
50 lines
2248 bytes
On Sat, 11 Jun 2005 09:41:21 -0400, Gember Breuk wrote:

> Ok, I'll take a look to see if there is any problem with combining them.

This script should work for you I think. I made it only for news, so if
you want mail too, you will have to add it in.

---------Copy below here-----------

program OnStartup;
        
procedure OnStartup;
  
begin

  //Switch to desired catagory. Change 'X' as needed. 
  PostKey( ord('X'), false,true,false,false,false,false,false,false);
           
  //Get new headers at startup 
  ADo('GetNewheadersInSubscribedGroups');
  
  //Set new header check interval
  timer1.interval:=60000*15; //check every 15 minutes
  timer1.enabled:=true;
     
end;

begin
end.

---------Copy above here-----------

And don't forget the timer script:

---------Copy below here-----------

program OnTimer1;

procedure OnTimer1;
begin
ADo('GetNewHeadersInSubscribedGroups');
end;

begin
end.

---------Copy above here-----------

-- 
Gem
Re: [Dialog] Get new headers in subscribed groups upon starting Dialog?
#167746
Author: Paul J. The Grump
Date: Sat, 11 Jun 2005 23:33
15 lines
1879 bytes
On Sat, 11 Jun 2005 13:16:47 -0400, Gember Breuk wrote:

> On Sat, 11 Jun 2005 09:41:21 -0400, Gember Breuk wrote:
> 
>> Ok, I'll take a look to see if there is any problem with combining them.
> 
> This script should work for you I think. I made it only for news, so if
> you want mail too, you will have to add it in.

Hey thank you very, very much.  I really appreciate your help and the time
you took.

May the wind be at your back!
-- 
6/11/2005 7:32:58 PM
Re: [Dialog] Get new headers in subscribed groups upon starting Dialog?
#167747
Author: Gember Breuk
Date: Sat, 11 Jun 2005 23:37
22 lines
1924 bytes
On Sat, 11 Jun 2005 23:33:00 GMT, Paul J. The Grump wrote:

> On Sat, 11 Jun 2005 13:16:47 -0400, Gember Breuk wrote:
> 
>> On Sat, 11 Jun 2005 09:41:21 -0400, Gember Breuk wrote:
>> 
>>> Ok, I'll take a look to see if there is any problem with combining them.
>> 
>> This script should work for you I think. I made it only for news, so if
>> you want mail too, you will have to add it in.
> 
> Hey thank you very, very much.  I really appreciate your help and the time
> you took.

Happy to help... :-))

> May the wind be at your back!

Thank you! The same to you!

-- 
Gem
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