RA Scripting
RA Scripting
- Subject: RA Scripting
- From: Gnarlodious <email@hidden>
- Date: Sat, 15 Dec 2001 18:33:43 -0700
OK, I am using "RA PPP Status OSAX" available at
http://homepage.mac.com/pcrawford/nyanza_software/products_and_services/prod
ucts/ra_ppp_status.html
and it works under OS 9.1
Script Toggle Connection
tell (application "Network Setup Scripting")
if ((activity of (RA status)) = idle) then
"Connect, using the current RA configuration"
else if ((activity of (RA status)) = connected) then
"Disconnect, using the current RA configuration"
end if
end tell
Network Setup Scripting v1.3.1 for OS 9.2 dictionary says:
Remote Access Suite : Terms for configuring Remote Access connections
connect : Initiates a Remote Access connection
connect Remote Access configuration -- a reference to a Remote Access
configuration
Question is, how do I tell it to use the default (active) connection, IE:
"disconnect using current configuration"?
Rachel
http://www.gnarlodious.com