Suppress Finder error messages
Suppress Finder error messages
- Subject: Suppress Finder error messages
- From: "Timothy K. Wilkinson" <email@hidden>
- Date: Mon, 13 Jan 2003 10:19:11 -0500
I've got a script that mounts an SMB volume remotely in 10.1.5. It allows
user input of id and password. The problem I'm having is that when there is
an error mounting the drive the Finder displays an error message that
includes the user id and password!
The code I'm using for SMB mounting in 10.1.5 is:
try
tell application "Finder"
open location "smb://user_id:password@server_name/share"
end tell
on error
ignoring application responses
display dialog "The drive is unavailable"
end ignoring
end try
Anyone know how to suppress Finder error dialogs in 10.1.5?
Tim Wilkinson
ITC-ACHS
University of Virginia
email@hidden
email@hidden
_______________________________________________
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.