• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: can TCP/IP control panel be scripted?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can TCP/IP control panel be scripted?


  • Subject: Re: can TCP/IP control panel be scripted?
  • From: "J.B. Stewart" <email@hidden>
  • Date: Sat, 21 Jul 2001 05:56:21 -0400

On 7/20/01 at 11:35 PM, Donald S. Hall <email@hidden> wrote:

> Hi all,
>
> 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.
>
> Thanks for any help,
>
> Don
> --
> Donald S. Hall, Ph.D.
> Apps & More Software Design, Inc.
> http://www.theboss.net/appsmore
> email@hidden
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users

What you need to look at is "Network Setup Scripting" which lives in the
Scripting Additions folder of the more recent OS releases. Also you may want to
look at the "Location Manager" control panel. Either of these can be scripted to
change your configurations.

The Applescript Guidebook module for Open Transport (Networking) has some good
example scripts of how to accomplish the switch. The URL for the module is -
<http://a2000.g.akamai.net/7/2000/51/13db7ff9e84c0a/www.apple.com/applescript/help_modules/NWK0150.hqx>

John


References: 
 >can TCP/IP control panel be scripted? (From: "Donald S. Hall" <email@hidden>)

  • Prev by Date: Re: Scripting Additions Folder: Help!
  • Next by Date: Re: can TCP/IP control panel be scripted?
  • Previous by thread: can TCP/IP control panel be scripted?
  • Next by thread: Re: can TCP/IP control panel be scripted?
  • Index(es):
    • Date
    • Thread