Re: Connect/Disconnect
Re: Connect/Disconnect
- Subject: Re: Connect/Disconnect
- From: Jim Lindholm <email@hidden>
- Date: Sat, 26 Jul 2003 22:32:11 -0700
On Saturday, Jul 26, 2003, at 21:50 US/Pacific, Conrad G T Yoder wrote:
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.
Thanks Conrad for your response. This still launches "Internet
Connect". I'm trying to find a way to connect/disconnect WITHOUT
launching an application because of the unnecessary launch time.
Somewhere there has got to be a command, either in an application or a
scripting addition that will do this. Anything else... Jim
_______________________________________________
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.