Remote Access and Network Setup Scripting problems under OS 9.1 (and 9.2.1)
Remote Access and Network Setup Scripting problems under OS 9.1 (and 9.2.1)
- Subject: Remote Access and Network Setup Scripting problems under OS 9.1 (and 9.2.1)
- From: Simon Brown <email@hidden>
- Date: Mon, 10 Feb 2003 22:15:25 +0000
Hello Rachel (& Applescript-Users),
Sorry to bother you, but you seemed to be speaking from experience when you
said
>
There's a bug in this version, it can't be done.
in response to my problem
>
I'm struggling to control Remote Access 4.0 in OS 9.1.
I'm hoping you've found a workaround (or just gone on to OSX?)
I've since installed the relevant fragments of OS 9.2.1 (Remote Access
4.0.2) which has improved the situation a lot. However I'm still getting
occasional problems:
The handler below that queries NSS usually returns values shown just below
-- e.g. {connected, 620, 48000}
-- or {idle, 0, 0}
but occasionally, when the computer has been running for an extended period
it suddently starts returning values like:
--{"+constant ****RAs3;", 4096, 49333}
It is just the interpretation of the Activity constants that seems to be a
problem occasionally, but I haven't managed to establish a pattern of just
when it will occur.
I could do a workaround if I knew the "un-interpreted" values of all the
possible values returned by querying the "activity" property of the status
record.
i.e. connected = +constant ****RAs3;
but what are the other states?
I'm assuming (from the order of the constants in the dictionary entry):
activity idle/connecting/connected/disconnecting/unknown [r/o]
they should be:
idle = +constant ****RAs1;
connecting = +constant ****RAs2;
connected = +constant ****RAs3; --- OK, I know this one already
disconnecting = +constant ****RAs4;
unknown = +constant ****RAs5; --- Not sure if this one would follow the
pattern
Could you or anyone in the group confirm these.
Also:
1) Are these constants only meaningful within a tell NSS block?
2) Does anyone have a listing of these and other 'raw' constant values?
3) Are you completely fed up of my newbie questions yet?
------------------------------
Hope the above makes sense
Peace and love to all
Simon Brown
Donning flame-retardant suit as a precautionary measure...
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.