Re: applescript-users digest, Vol 2 #238 - 15 msgs
Re: applescript-users digest, Vol 2 #238 - 15 msgs
- Subject: Re: applescript-users digest, Vol 2 #238 - 15 msgs
- From: Ed Stockly <email@hidden>
- Date: Thu, 18 Jan 2001 08:48:13 -0800
>
Yup. Big problem with getting the status of a Remote Access configuration
>
using NSS. This is a pain, as the simple and effective Remote Access scripting
>
addition no longer works under OS 9.1.
>
>
I reported the status problem to Chris Espinosa, but haven't had any feedback
>
yet.
>
When you get the properties of a remote access configuration, one of the items
>
in the list that appears in the result window (if you do this in Script
>
Editor) displays as a raw event code <<class otkx>>. What the heck is that?
>
All I know is that it's a boolean, and seems to return true or false on a
>
fairly random basis.
>
Here are some excerpts from a letter from Chris Espinosa on the subject:
"We moved the functionality of the Remote Access Commands scripting addition
into Network Setup Scripting several versions ago, in Mac OS 8.6. As with
most product obsolescence plans, we "staged" its removal from the OS. We
removed the Remote Access Commands from the standard Mac OS install in Mac
OS 9.1 because it's incompatible with Remote Access 4.0.
For Mac OS 9.1, Remote Access was completely rewritten, and in its new form
it does not use the Apple Shared Library Manager (ASLM). But the Remote
Access Commands scripting addition was originally written to access ARA
through ASLM, so when it tries to, and fails, it assumes the problem is with
ASLM (which it is not).
Because the Remote Access Commands functionality was put into Network Setup
Scripting several years ago, the Remote Access team decided not to rewrite
Remote Access Commands to not use ASLM. This didn't show up in the
AppleScript release notes because it was considered a change to ARA, not
AppleScript (we don't document all scripting changes to all scriptable OS
components in our release notes; it'd be too huge).
Remote Access Commands are not installed in Mac OS 9.1, but if you install
9.1 over a previous system, the Installer doesn't remove it. (There's plenty
of debate over whether this is the correct thing to do or not.)
The solution for Remote Access scripters is to rewrite scripts to use
Network Setup Scripting instead. There are plenty of examples in the Open
Transport (Networking) AppleScript Guidebook modules. These scripts will
work on 9.1, 9.0.4, 8.6, and 8.6."
HTH,
ES
-- <
http://justapplescript.weblogs.com/> --
<
http://justapplescript.weblogs.com/AppleScriptLearningResources> --
Feedback welcome, join today!