• 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: Config switching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Config switching (From: Cornwall <email@hidden>)

  • Prev by Date: Re: More Acrobat 5 headaches
  • Next by Date: A faster offset...
  • Previous by thread: Re: Config switching
  • Next by thread: on login, on logout...
  • Index(es):
    • Date
    • Thread