Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Conrad G T Yoder <email@hidden>
- Date: Sat, 26 Jul 2003 21:05:01 -0400
At 7/26/03 5:36 PM -0700, Jim Lindholm <email@hidden> wrote:
>
>
I had a script that I used in OS 9 and before that would simply start
>
the connection process to my ISP and then it would disconnect when I
>
was finished. The were commands that I could access without launching
>
Remote Access... or whatever app the commands were a part of. So far,
>
I'm not able to find something that will allow me to do the same thing
>
in OS X.
>
>
I can connect to the ISP with the following:
>
>
tell application "Internet Connect" to connect
>
>
BUT... it launches the application.
>
>
What am I missing?.. or where else can I look for commands to connect,
>
disconnect and get status?
Use these lines:
tell application "Internet Connect" to connect configuration "Internal
Modem"
tell application "Internet Connect" to disconnect configuration "Internal
Modem"
Or whatever the string is for your configuration you're using.
-Conrad
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >(no subject) (From: Jim Lindholm <email@hidden>) |