--- In [email protected], "swzoh" <[EMAIL PROTECTED]> wrote:
>
> --- In [email protected], "ncb41727" <[EMAIL PROTECTED]> wrote:
> >
> > 
> > Hi Group
> > 
> > Last time I ask a question in this group was very successful. I 
will 
> > have another go.
> > 
> > 1) I connect to the internet through an external ISDN modem 
plugged 
> > into the USB port of my laptop.
> > 2) I have a PPro script running DunDial and some other stuff.
> > 
> > The modem is NOT plugged into the USB port all the time. Over and 
over 
> > again I have stupidly tried to connect to the internet, ie. run 
the 
> > script and hence DunDial, with the modem not plugged in. Then I 
have 
> > to force a closing of the DunDial window and PPro hangs for some 
30 
> > seconds until the XP window "An error has occured..." comes up.
> > My question is: What should I test for in the PPro script in order 
not 
> > to run DunDial if the modem is not plugged into the USB port. I 
have 
> > used the PPro command *Window Show Menu Hidden and I have looked 
in 
> > "Running Programs" and "Running Processes". There is no indication 
> > whether the modem is plugged in or not. The only thing is a tray 
icon 
> > in the bottom right corner next to the clock. It is present when 
the 
> > modem is plugged in and it is not present when the modem is not 
> > plugged in. Can I use this for testing (if so, how) or can/should 
I 
> > test for something else.
> > Thanks for your attention.
> 
> Surely you can resort to the tray icon informations using
> *TrayIcon Dump
> however, you need install Tray Support (:pprotray.exe) first.
> See the help file for details.
> 
> BTW, there could be other ways too. I'm wondering if you could 
utilize
> "getmac" in your case which might be the simplest:
> what results do you get if you run getmac in Command Prompt
> before/after the modem connected?
> 
> Sean
>

Hi - and thanks for responding

I made a quick test with "getmac" - no arguments, non-administrator. 
Both with and without the modem plugged into the USB port "getmac" 
reports Physical Address: Disabled, Transport Name: Disconnected.

I will investigate using *TrayIcon. I did long time ago, but at that 
time it was said, that pprotray wasn't reliable for XP so I didn't 
persue. I see as from PPro v. 4.3 it is, so I will have a go.

Niels 








------------------------ Yahoo! Groups Sponsor --------------------~--> 
AIDS in India: A "lurking bomb." Click and help stop AIDS now.
http://us.click.yahoo.com/9QUssC/lzNLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to