Re: Logging on to a Server.
Re: Logging on to a Server.
- Subject: Re: Logging on to a Server.
- From: Simon Topliss <email@hidden>
- Date: Wed, 12 Dec 2001 08:56:53 +0000
This will only work on versions of AppleScript below 1.6. Apple broke the
ability to mount Win2000 servers in 1.6. Still not fixed in 1.7 either.
On 12/12/01 3:15 am, "Alatorre, Michael" <email@hidden> wrote:
>
Since it's a Win 2000 server and may allow connection via IP, how about:
>
>
tell application "Finder"
>
mount volume "afp://email@hidden/MAC_FAU"
>
end tell
>
>
You can replace the IP address with the DNS name for the server, as well.
>
>
You could automate it further with:
>
mount volume "afp://username:email@hidden/MAC_FAU"
>
but that would open a security concern since it would automatically mount
>
the sharepoint without user input.
>
>
HTH
>
>
Michael Alatorre (mailto:email@hidden)
>
EIS Liaison Analyst
>
Cedars-Sinai Health System (http://www.cedars-sinai.edu/)
>
Medical Affairs: 310.423.6237 310.423.0448 (fax)
>
>
"The secret to creativity is knowing how to hide your sources." -- Albert
>
Einstein
>
>
>
> Try this, it's in the Standard Additions
>
>
>
> mount volume plain text -- the name or URL path (starting with
>
> 'afp://') of the volume to mount
>
> on server plain text -- the server on which the volume
>
resides
>
> [in AppleTalk zone plain text] -- the AppleTalk zone in
>
which the
>
> server resides
>
> [as user name plain text] -- the user name with which to
>
log in to
>
> the server; omit for guest access
>
> [with password plain text] -- the password for the user
>
name; omit
>
> for guest access
>
>
>
> i.e. mount volume "MAC_FAU" on server "CZZZZ01" in AppleTalk zone
>
"crc01"
>
>
>
> William R. Palmer III
>
> Prepress Technician
>
> email@hidden
>
> CRC Press, LLC
>
> 3848 FAU Blvd, Suite 310
>
> Boca Raton, FL 33431
>
> (561) 361-6000, x6116
>
> http://www.crcpress.com/
>
>
>
> ----------
>
> From: Carlos Cavazos
>
> Reply To: email@hidden
>
> Sent: Tuesday, December 11, 2001 1:21 PM
>
> To: email@hidden
>
> Subject: Logging on to a Server.
>
>
>
> Hi there people,
>
> I was wondering if anybody know or has a script that will let me log on to
>
> a
>
> server. Here is my delima. Everytime I start my computer (Mac OS 9.0.4),
>
> it
>
> goes ok through my extension and what not. But, since I have some volumes
>
> linked to my computer through AppleShare, I get a dialog box asking me to
>
> CONNECT to the server. We have are using Windows 2000 ver. 5.0. So, I was
>
> wondering if it is possible to have a script to excute the connect button
>
> without me having to do it manually?
>
>
>
>
>
> Thanks,
>
> Carlos
>
>
>
>
>
> Ya Te Watcho, Bueno Bye
>
_______________________________________________
>
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.