Re: Mounting a Volume
Re: Mounting a Volume
- Subject: Re: Mounting a Volume
- From: Brett Conlon <email@hidden>
- Date: Thu, 16 Nov 2006 15:42:04 +1000
Yup, that worked a treat. Many thanks,
Rick!
Luckily, in this case I wanted to supply
the login/password because everyone uses the same one to get to this server,
but, out of interest's sake if I wanted each person to enter their own
login/password, would I have to provide dialog prompts for both values
and replace them in the "mount volume" command? Or is there another
way to be prompted with the usual login window as you do in the finder,
like what happens in another of my scripts when it mounts our Mac Server?
Cheers,
Coj
"Pepper, Rick G"
<email@hidden>
16/11/06 03:51 AM
|
To
| <email@hidden>
|
cc
|
|
Subject
| Mounting a Volume |
|
tell application "Finder"
if not (exists disk "Input_Files")
then
activate
mount volume "afp://162.49.130.29/Input_Files"
end if
end tell
You have to include user name and password:
Mount volume "afp://username:password@server_name_or_ip/Volume_name"
Rick Pepper
Senior PrePress Analyst
Carlson Craft Business Solutions
1625 Roe Crest Drive, North Mankato, MN 56003
Phone: 507-304-6443
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden