• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem mounting appletalk volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem mounting appletalk volumes


  • Subject: Re: Problem mounting appletalk volumes
  • From: Richard 23 <email@hidden>
  • Date: Fri, 19 Jan 2001 01:18:14 -0800

>=====
>mount volume "Network HQ" on server "Network HQ" as user name "admin"
>with password "pasword"
>=====
>
>However, once it runs once, the script editor changes it to:
>
>=====
>mount volume "Network HQ" on server "Network HQ" NDSUsername "admin"
>NDSPassword "scds"
>=====
>
>It changes "as user name" to "NDSUsername", and "with password" to
>NDSPassword. The problem is that now if I try to run it, it gives me an
>error when it tries to parse "NDSUsername". Does anyone know:
>
>(1) Why it changes the text in the first place?, and

Some kind of terminology conflict present on your system and not on
mine. Probably one of those useful osax files.

>(2) Is there a way to make it not change the text, or make it work
>correctly with the changed text?

one way to prevent your script from being modified is to generate the
command from a string using run script:

-- ---------------------------------------------------------
-- Preprocessed by Convert Script 1.0d2
-- ---------------------------------------------------------
on Q()
return "\"" & theStr & "\""
end Q

run script "mount volume " & Q(theVolume) & " on server " ==>
& Q(theServer) & " as user name " & Q(userName)
-- ---------------------------------------------------------

Although not ideal, it will work.
Instead you could go osax hunting and perhaps slim
down a bit by moving unused non-standard osax files to a
"Scripting Additions (Disabled)" folder.

I usually have around a dozen installed and use about three.
Most people I suspect have a lot more.

The global nature of osax terminology is one good reason not
to go bananas and install every osax that can be found.

R23


  • Prev by Date: Re: Can I...
  • Next by Date: Re: OSAX within tells
  • Previous by thread: Problem mounting appletalk volumes
  • Next by thread: re: Problem mounting appletalk volumes
  • Index(es):
    • Date
    • Thread