• 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: RA Scripting - Solved!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RA Scripting - Solved!


  • Subject: Re: RA Scripting - Solved!
  • From: Gnarlodious <email@hidden>
  • Date: Sat, 15 Dec 2001 23:03:59 -0700

"RA PPP Status OSAX" for OS 9.1 is still necessary, without it the
"RA status" statements magically revert to unsupported AppleEvents upon
restarting.

Network Setup Scripting v1.3.1 for OS 9.2 does NOT seem to supply the
"RA status" as I thought.

> Question is, how do I tell it to use the default configuration?:

tell application "Network Setup Scripting"
open database
set configName to (every Remote Access configuration whose active is
true)
set configName to (item 1 of configName)
set configName to (name of configName)
if ((activity of (RA status)) = idle) then
connect Remote Access configuration configName
else if ((activity of (RA status)) = connected) then
disconnect Remote Access configuration configName
end if
close database
end tell


Rachel http://www.gnarlodious.com


References: 
 >RA Scripting (From: Gnarlodious <email@hidden>)

  • Prev by Date: RA Scripting
  • Next by Date: Re: do shell script "sudo -v"
  • Previous by thread: RA Scripting
  • Next by thread: PDF convert
  • Index(es):
    • Date
    • Thread