• 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
Switch Remote Access Config &Connect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Switch Remote Access Config &Connect


  • Subject: Switch Remote Access Config &Connect
  • From: Nissan <email@hidden>
  • Date: Fri, 09 Feb 2001 10:45:46 +0200

Well I have several Remote Access configuration,
Im trying to tell "Network Setup Scripting" to switch to other configuration
And then connect.

Well , noting work. Cant switch , cant connect to my config.
See the following script:

try
tell application "Network Setup Scripting"
activate
open database

set active of Remote Access configuration config_name to true
-- That9s not switching the Configuration.

connect Remote Access configuration "My Connection"
-- This still connect using the current configuration.

close database
end tell
end try



Whats wrong in here ?

Thanks,
Nissan Zafrir.


  • Follow-Ups:
    • Re: Switch Remote Access Config &Connect
      • From: Bill Cheeseman <email@hidden>
  • Prev by Date: Re: Error -1728
  • Next by Date: OE and Internet Preferences
  • Previous by thread: Re: Error -1728
  • Next by thread: Re: Switch Remote Access Config &Connect
  • Index(es):
    • Date
    • Thread