Re: Follow-up on appletalk volume mounting
Re: Follow-up on appletalk volume mounting
- Subject: Re: Follow-up on appletalk volume mounting
- From: email@hidden
- Date: Fri, 19 Jan 2001 20:30:17 -0500
On Fri, 19 Jan 2001 08:30:14 -0500, "Stephen Gross" <email@hidden>
asked,
>
Unfortunately, I do need the naught osax, unless you've found a better one
than
>
NDS Osax 1.0d9. I have to be able to script netware, as well as appletalk.
It's
>
frustrating.
I've taken a look at the NDS Osax dictionary, and I think the problem may be
just a cosmetic thing.
Standard additions defines <<class USER>> as "as user name" and <<class PASS>>
as "with password", while NDS Osax defines those parameters as "NDSUsername" and
"NDSPassword"
So, while the terminology may look wrong, you will get the correct Apple Events
generated. But I guess 'mount volume NDSUsername "Bob" NDSPassword "Ray"' won't
re-compile properly. So I'd recommend you try hacking the NDS Osax so its
terminology is the same as Standard Additions.
You'll need Yuji Hachiya's "Aete Editor for ResEdit Extension." Make a working
copy of NDS Osax, and open it with ResEdit. Open the aetes icon, the aete
resources (the only one, ID 0), and the NDS Suite. Then open NDS_Osax_Login.
In the "Other Param's" section you'll see NDSUsername and NDSPassword. Double
click the first one, and change its name to read the same as in Standard
Additions: "as user name". Close that, and open NDSPassword, and change it to
"with password"
Save the file, close all those windows, and copy the modified osax into your
Scripting Additions folder.
With the hacked osax, you will access the NDS commands with a syntax like this:
NDS_Osax_Login as user name "Bob" with password "Ray"
I haven't tested this, but I'm confident it should work, and will make your
scripts easier to read, since the Appletalk and Netware verbiage will be the
same.
--
Scott Norton Phone: +1-703-299-1656
DTI Associates, Inc. Fax: +1-703-706-0476
2920 South Glebe Road Internet: email@hidden
Arlington, VA 22206-2768 or email@hidden