RE: can TCP/IP control panel be scripted?
RE: can TCP/IP control panel be scripted?
- Subject: RE: can TCP/IP control panel be scripted?
- From: "Greg Meece" <email@hidden>
- Date: Mon, 23 Jul 2001 15:32:56 -0500
- Thread-topic: RE: can TCP/IP control panel be scripted?
Donald -
Sorry I'm a bit late on this. I was out of town for a week. You wrote:
>
I have two different configurations for TCP/IP, one for my dialup
Internet
>
connection, and one for my "intranet" (2 Macs, one PC). Is there any
way to
>
change from one to the other via AppleScript? I don't need to use both
>
simultaneously at present, and I've been opening the control panel to
switch
>
back and forth. If there were a way to do it via a script, I could just
>
assign the script to a function key. I couldn't find anything with Open
>
Dictionary in the Script Editor.
As others have answered, you need the Network Setup Scripting OSAX to do
what you need to do. In fact, I have a script that does exactly what
you are looking for but I'll have to dig it up at home. If I get the
opportunity to do so, I'll make a web page of it and send the pointer to
the list.
Greg Meece
Senior Software Test Engineer
BroadJump
<
http://www.broadjump.com/>