Re: applescript-users digest, Vol 2 #331 - 14 msgs
Re: applescript-users digest, Vol 2 #331 - 14 msgs
- Subject: Re: applescript-users digest, Vol 2 #331 - 14 msgs
- From: David Fekke <email@hidden>
- Date: Wed, 07 Feb 2001 14:41:51 -0500
Robert,
I recently had a similar problem with a script I was running trying to mount
a NT 4 server running ExtremeZ-IP. Here is what my code looks like.
tell application "Finder"
if (disk "PPDL_Files" exists) is false then
mount volume "afp://192.168.0.234/PPDL_Files" as user name "lhren"
with password "password"
end if
end tell
This script uses the URL syntax "afp://". This way you can combine the
server name and the volume name in the same string. I had a problem where I
had to restart my mac before it would work.
The Standard Additions OSAX has had the mount volume command for some time
now.
>
>
I am using the mountServer oasx and having difficulty mounting an AppleShare
>
Volume that is published by a Win 2000 Server Machine. The dictionary for
>
the Addition specifies this format for the command:
>
>
tell application "Finder"
>
activate
>
MountServer "jpegs" machine "JPEG-SERVER" zone "*" user "Administrator"
>
password "jpegin"
>
end tell
>
>
I get an odd error message from the Finder "Finder got an error. An error of
>
type -5002 occurred.
>
Any other methods for mounting, or ideas?
>
>
Thanks,
>
>
Rob S.
--
David Fekke
Developer
Impact Services
email@hidden
1546 Main St.
Dunedin, FL 34698