Switch Remote Access Config &Connect
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.