Re: Mount volume without error dialog
Re: Mount volume without error dialog
- Subject: Re: Mount volume without error dialog
- From: email@hidden
- Date: Tue, 03 Feb 2004 13:56:58 -0500
- Priority: normal
Well, I've done some searching on the internet and 'man'
pages as well as looking at some 'Shell' code from Doug
(thanks very much for sharing this Doug :-) and have come
up with the following code I thought I might post in case it
may be useful to anyone else. If my password is disabled
this code will work as I need it to without displaying that
'Connection Failed' dialog:
-------
try
do shell script "mkdir /Volumes/dirName"
end try
try
do shell script "mount_afp
afp://user:password@serverName/dirName/ /Volumes/dirName"
on error
-- error handling...
end try
-------
If anyone sees anything wrong with this code please let me
know. Unix and Shell Scripting are very new to me.
Many thanks to Gary, Gnarlodious and Doug for their replies
and thoughts. I appreciate everyones help.
Jay
_______________________________________________
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.