[Pythonmac-SIG] (no subject)

Erik van Blokland erik@letterror.com
Wed, 9 Feb 2000 12:34:45 +0100


-- Craig Hagerman [2/9/00 12:30 PM]:

> Is there a way to script this
>part of the process as well from Python - an automatic disconnect? I
>haven't found any way so far.

I guess you could make the finder open an applescript applet that quits 
the connection for you. I've seen PPP versions that come with neat little 
applescript applets that connect and disconnect. From python you can tell 
the finder to open such an applet, it should execute all by itself:

     findertools.launch(path_to_applet)

Hope this works, I don't have the PPP stuff to test it.


Erik van BLokland

-- letterror