Re: mount volume, new error from out of the blue
Re: mount volume, new error from out of the blue
- Subject: Re: mount volume, new error from out of the blue
- From: Blake Garner <email@hidden>
- Date: Thu, 13 Oct 2005 15:51:24 -0700
Yea I could do it the hard way but I'm not down..
mount volume "
afp://Enter your user ID
here:@servername.company.com/Sharename
"
Is what I'm going to use for now.. This seems like a bug to me...
Blake-
On 10/13/05, Mark J. Reed <
email@hidden> wrote:On 10/13/05,
Blake Garner <email@hidden> wrote:
Ok so we know how to mount volume with a supplied username and password.
I need it to work without supplying the username and password.
mount volume "afp://server.company.com/ShareName
" is returning the "File some object wasn't found" error. What I want is for it to prompt for the username and password...
mount volume ("afp://" & hostShare)
on error
set username to text returned of (display dialog "Enter username" default answer "")
set passwd to text returned of (display dialog "Enter password" default answer "")
mount volume ("afp://" & username & ":" & passwd & "@" & hostShare)
end try
If you're running Tiger, you can add "with hidden asnwer" to the
password display dialog so that the entered password is not displayed
as the user types it in.
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden