Re: RA Scripting - Solved!
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>) |