• 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
Mount volume without error dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mount volume without error dialog


  • Subject: Mount volume without error dialog
  • From: email@hidden
  • Date: Mon, 02 Feb 2004 15:24:37 -0500
  • Priority: normal

When I'm trying to hook up to a server (on OS 10.2.6) this
works fine:

-------
try
mount volume "afp://" & userName & ":" & passWord & "@" &
serverName & "/" & dirName
on error
-- Error info
end try
-------

but if the password has become disabled (which happens every
now and then) then I get an error dialog that says
'Connection Failed. An Appleshare system error occurred'.
The script will not continue until I hit the 'ok' button on
this dialog.

Is there any way to NOT get this dialog if there is an error
so I can continue with the 'try' block? I'd like to find
another way besides using System Events if possible.

Thanks.

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.

  • Follow-Ups:
    • Re: Mount volume without error dialog
      • From: Doug McNutt <email@hidden>
    • Re: Mount volume without error dialog
      • From: Gary Lists <email@hidden>
  • Prev by Date: need applescript to write to keyboard buffer
  • Next by Date: Re: Using list from text file to create folder, search, and copy
  • Previous by thread: need applescript to write to keyboard buffer
  • Next by thread: Re: Mount volume without error dialog
  • Index(es):
    • Date
    • Thread