MacOS 9.1 Network Setup Scripting & RA Status
MacOS 9.1 Network Setup Scripting & RA Status
- Subject: MacOS 9.1 Network Setup Scripting & RA Status
- From: "Christopher C. Stone" <email@hidden>
- Date: Sat, 20 Jan 2001 11:04:41 -0600
Greetings,
As has been mentioned on this list, there is a bug in Network Setup Scripting that prevents acquisition of the Remote Access Status record.
This script and others like it fail every time.
with timeout of 2 seconds
tell application "Network Setup Scripting"
try
open database
set current_config to name of item 1 of every Remote Access configuration whose active is true
set theStatus to status of Remote Access configuration current_config
end try
close database
end tell
end timeout
Here's the definitive answer:
---------------------------------------------------------------------------