Network Setup Scripting & 9.1
Network Setup Scripting & 9.1
- Subject: Network Setup Scripting & 9.1
- From: "Christopher C. Stone" <email@hidden>
- Date: Sat, 13 Jan 2001 06:44:02 -0600
Greetings,
Is there anything syntactically wrong with this? It hangs at current_status.
Does anyone have a working script (on MacOS 9.1) that gets the Remote Access status record?
Thank you.
---------------------------------------------------------------------------
set the config_name to "ProValue.Net - 1"
tell application "Network Setup Scripting"
try
open database
-- check the status
set current_status to the status of Remote Access configuration config_name
set the msg to the message of the current_status
if the activity of current_status is in {connected, idle} then
set actV to true
else
set actV to false
end if
close database
on error errMsg number errNum
close database
tell me to display dialog errMsg & return & return & errNum
end try
end tell
---------------------------------------------------------------------------
Best Regards,
Christopher Stone
______________________________
StoneWorks Computer Consulting
email@hidden