🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
13 messages
13 total messages Started by Troy Mon, 19 Jan 2004 22:06
[Dialog] Dialog with Hamster
#141625
Author: Troy
Date: Mon, 19 Jan 2004 22:06
13 lines
1591 bytes
Using scripts, I can set Hamster to download posts from my news server(s)
at set intervals and I can set Dialog to download posts from Hamster at set
intervals. Is there a way I can co-ordinate the two? i.e. when Hamster has
finished downloading, Dialog is triggered to start it's download from
Hamster?

I'm sure it's not possible - just thought I'd ask :-)

TIA.
-- 
Regards,

Trøy the Black Lab.
Re: [Dialog] Dialog with Hamster
#141627
Author: Henrik K Hansen
Date: Mon, 19 Jan 2004 22:29
9 lines
1667 bytes
Troy, wrote:

> I'm sure it's not possible - just thought I'd ask :-)

Not what you asked for, but then you have finished reading your
downloaded mails and articles you could exit Dialog, and then let
Hamster start Dialog, that's how i do it, with this line
Execute( "D:\Programmer\40tude Dialog\dialog.exe","",0,0 )
in my Hamster script.
Re: [Dialog] Dialog with Hamster
#141628
Author: Troy
Date: Mon, 19 Jan 2004 22:52
16 lines
1729 bytes
Henrik K Hansen wrote:

> Not what you asked for, but then you have finished reading your
> downloaded mails and articles you could exit Dialog, and then let
> Hamster start Dialog, that's how i do it, with this line
> Execute( "D:\Programmer\40tude Dialog\dialog.exe","",0,0 )
> in my Hamster script.

Thank you Henrik

That looks like just what I need - I'll have a play.
I'll report progress - it might take some time :-)
-- 
Regards,

Trøy the Black Lab.
Re: [Dialog] Dialog with Hamster
#141652
Author: Enrico C
Date: Tue, 20 Jan 2004 07:35
33 lines
2251 bytes
Troy | news.software.readers
in <news:ojn0mebaeuyn$.dlg@troytheblacklab.co.uk>

> Using scripts, I can set Hamster to download posts from my news server(s)
> at set intervals and I can set Dialog to download posts from Hamster at set
> intervals. Is there a way I can co-ordinate the two? i.e. when Hamster has
> finished downloading, Dialog is triggered to start it's download from
> Hamster?
> 
> I'm sure it's not possible - just thought I'd ask :-)

I don't know other ways to do that except for the way Henrik pointed
out.

Anyway, I  have  Ado('CheckNewHeadersInSubscribedGroups');
instead of Ado('GetNewHeadersInSubscribedGroups'); in the Timer1 Event
script.
This way, I can see how many new messages are on the Hamster local
server, but I actually get them only when I want to.

I didn't like Dialog automatically retrieving more new messages just
whille I was reading the same group!

Ciao!

Enrico

-- 
Q. What is Hamster ? 
A. A local news, and mail, server to collect news and emails from
different servers. 
Q. Where can I get it ? 
A.  At  http://www.tglsoft.de/misc/hamster_en.htm
Re: [Dialog] Dialog with Hamster
#141656
Author: Robert Spanjaard
Date: Tue, 20 Jan 2004 09:07
22 lines
2308 bytes
On Mon, 19 Jan 2004 22:06:02 +0000, Troy wrote:

> Using scripts, I can set Hamster to download posts from my news server(s)
> at set intervals and I can set Dialog to download posts from Hamster at set
> intervals. Is there a way I can co-ordinate the two? i.e. when Hamster has
> finished downloading, Dialog is triggered to start it's download from
> Hamster?
> 
> I'm sure it's not possible - just thought I'd ask :-)

I don't know about that. I do know you can do it the other way around -
start Hamster's newsupdate from Dialog.

You can start Hamster script from the command line (it's in the Helpfile).
All you need to do, is let a Dialog-script execute the Hamster-script, wait
for it to finish, and then start updating Dialog itself.

-- 
Regards, Robert                    Photogallery: http://www.arumes.com/photo

"Er is genoeg voor ieders behoeften, maar veel te weinig voor ieders
hebzucht"
Re: [Dialog] Dialog with Hamster
#141704
Author: Henrik K Hansen
Date: Tue, 20 Jan 2004 22:23
11 lines
1662 bytes
Robert Spanjaard, wrote:

> All you need to do, is let a Dialog-script execute the Hamster-script, wait
> for it to finish, and then start updating Dialog itself.

I would like to start a program 'hoversnap' with a Dialog script, do
you know how to do that?

-- 
Henrik
Now-Playing, se Header.
Re: [Dialog] Dialog with Hamster
#141710
Author: Troy
Date: Tue, 20 Jan 2004 22:31
10 lines
1530 bytes
Troy wrote:

> That looks like just what I need - I'll have a play.
> I'll report progress - it might take some time :-)

Perfect - thanks again.
-- 
Regards,

Trøy the Black Lab.
Re: [Dialog] Dialog with Hamster
#141714
Author: Henrik K Hansen
Date: Tue, 20 Jan 2004 23:41
26 lines
2180 bytes
Troy, wrote:

> Perfect - thanks again.

your welcome

If you use Hamster for mail, you could start Dialog, then new mail
has arrived.

if( fileexists("D:\Hamster\Mails\admin\*.msg" ) )
Execute( "D:\Programmer\40tude Dialog\dialog.exe","",0,0 )
endif


And if you use Korrnews, i don't know if this is possible with
Hamster.

Var %S% : String = Header(References)

If %S% contains "troytheblacklab.co.uk" Then Do Exec "D:\Programmer\40tude Dialog\dialog.exe","",Shownormal

KorrNews Rulez.

-- 
Henrik
Now-Playing, se Header.
Re: [Dialog] Dialog with Hamster
#141718
Author: Robert Spanjaard
Date: Wed, 21 Jan 2004 01:20
16 lines
2242 bytes
On Tue, 20 Jan 2004 23:23:48 +0100, Henrik K Hansen wrote:

>> All you need to do, is let a Dialog-script execute the Hamster-script, wait
>> for it to finish, and then start updating Dialog itself.
> 
> I would like to start a program 'hoversnap' with a Dialog script, do
> you know how to do that?

I don't know anything about Dialog's scripting-language. That's why I gave
the solution in such a general way. :-)

-- 
Regards, Robert                    Photogallery: http://www.arumes.com/photo
"I like you, coffee; you make me glow. You make me smile; I love you so.
My nerves don't like you, but what do they know?"
- Garfield, October 1st, 1982
Re: [Dialog] Dialog with Hamster
#141752
Author: MLC
Date: Wed, 21 Jan 2004 10:23
19 lines
1821 bytes
martedì 20/gen/2004 _Henrik K Hansen_ ha scritto:

> I would like to start a program 'hoversnap' with a Dialog script, do
> you know how to do that?

I have this:

Program Shot;
Begin
FileExecute(0,'C:\Programmi\Grafica\HoverSnap\HoverSnap.exe','open','','',1,5)
End.

(remember to change the path!)

Ciao,
-- 
random anagram: Silicon Graphics = Gosh, sir, I can clip!
Maria Luisa C - 21/01/04 11.20.45, here.
http://fido.altervista.org/
Re: [Dialog] Dialog with Hamster
#141753
Author: Henrik K Hansen
Date: Wed, 21 Jan 2004 11:15
11 lines
2040 bytes
MLC, wrote:

> Begin
> FileExecute(0,'C:\Programmi\Grafica\HoverSnap\HoverSnap.exe','open','','',1,5)
> End.

Thanks, and that helped my to understand how to start Hamster and
run a hamsterscript, with a Dialog script.

Now with hoversnap and hamster icons
http://home19.inet.tele.dk/hkhansen/capture21-01-2004-12.11.55.png
Re: [Dialog] Dialog with Hamster
#141755
Author: Enrico C
Date: Wed, 21 Jan 2004 11:30
22 lines
1983 bytes
Henrik K Hansen | news.software.readers
in <news:21.01.2004.12.15.27$news.software.readers$@hkh.dyndns.dk>

> Thanks, and that helped my to understand how to start Hamster and
> run a hamsterscript, with a Dialog script.

Could you share that with us?
 
> Now with hoversnap and hamster icons
> http://home19.inet.tele.dk/hkhansen/capture21-01-2004-12.11.55.png

Cute! :)


Enrico C

-- 
Q. What is Hamster ? 
A. A local news, and mail, server to collect news and emails from
different servers. 
Q. Where can I get it ? 
A.  At  http://www.tglsoft.de/misc/hamster_en.htm
Re: [Dialog] Dialog with Hamster
#141756
Author: Henrik K Hansen
Date: Wed, 21 Jan 2004 11:45
19 lines
1942 bytes
Enrico C, wrote:

>> Thanks, and that helped my to understand how to start Hamster and
>> run a hamsterscript, with a Dialog script.
>
> Could you share that with us?

In windows

Open *.hsc files with hamster.exe

And the Dialog script.
Program HentMail;
Begin
FileExecute(0,'D:\Hamster\Vigtige script\Email hent og send\ironsite.hsc','','','',1,5)
End.

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