RE: using appplescript to change TCP/IP
RE: using appplescript to change TCP/IP
- Subject: RE: using appplescript to change TCP/IP
- From: "Greg Meece" <email@hidden>
- Date: Fri, 6 Jul 2001 17:22:38 -0500
- Thread-topic: RE: using appplescript to change TCP/IP
Ben -
>
I've been attempting to use a script to change our TCP/IP connections
on
>
certain machines from DHCP to straight TCP/IP, run updates off the web,
and
>
then change back to DHCP. I have yet to find the solution.
By "straight TCP/IP" I'm guessing you mean a static (or, "manual" as
Apple puts it) address? If you save the connections as sets, there
should be no problem switching back and forth. The trick is to open the
database before you try to access anything. That one hung me up until I
read through Apple's example scripts.
I'm typing on my Win2K box at work and don't have my old code in front
of me, but I had a script that switched between two different ISPs and a
local static address (along with corresponding Remote Access sets). I
no longer have dialup at home (one of the advantages of working for a
broadband software company), but I have the code archived if you need
it.
Regards,
Greg Meece
Senior Software Test Engineer
BroadJump
<
http://www.broadjump.com/>