Mike Carter wrote the following about [netconnect] Reconnect:
> Has anybody mastered an Artexx script to make Genesis re-connect once
> it has been disconnected by an ISP, either by line drop or a cut off
> period? I assume it would only be a matter of executing the Arexx
> script from the events for the interface, but my attempts haven't
> worked. Crap Arexx I think :o)
Getting Genesis to connect (assuming it's running) is just a case of
sending an 'online' command eg:
address GENESIS
online
(You might want to add an
address command 'wait 10'
before that to allow Genesis to shut down the old connection nicely
before trying to reconnect)
If you then want to wait until it connect before executing another
command, try:
do i=1 to 20
isonline
yy=RC
if yy=1 then break
address command 'wait 3'
end
if yy~=1 then exit 5
{Insert further commands}
This waits a minute for Genesis to connect, exits (with RC 5) if it
doesn't, and continues if it does.
Hope this helps,
Totty <8^)
--
Totty has an Amiga A1200, with 68060/50 and 603e/200 PPC.
32Mb RAM. 8x ATAPI CD. 1.7Gb HD. ShapeShifter V3.10 + OS 7.5.5
_____________________________________________________________
NetConnect mailing list. To unsubscribe, send an 'unsubcribe'
message to <[EMAIL PROTECTED]>