• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Suppress Finder error messages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Suppress Finder error messages
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Safari again
  • Next by Date: Re: Opening a local HTML file in the default browser
  • Previous by thread: Re: complete novice - applescript wont run for me
  • Next by thread: Re: Suppress Finder error messages
  • Index(es):
    • Date
    • Thread