Re: Config switching
Re: Config switching
- Subject: Re: Config switching
- From: Enno Bussmann <email@hidden>
- Date: Thu, 06 Sep 2001 09:12:28 +0200
>
At 11:11 AM +0200 9/5/01, Enno Bussmann wrote:
>
> How do I close an open file after a 'open selection'? I'm using this command
>
> in order to switch between 2 different Remote Access settings
>
>
I'm not sure what you are asking. The basic syntax for switching
>
between RA configurations is:
>
>
tell application "Network Setup Scripting"
>
open database
>
begin transaction
>
set active of Remote Access configuration "Name of Config" to true
>
end transaction
>
close database
>
end tell
>
>
Is that what you wanted?(?)
>
>
Corny
I'm not an AS expert and my solution was vy clumsy. Your solution is in fact
exactly what I was looking for. Thank you very much
Enno Bussmann