• 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
Re: Unwanted dialog if mounting fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unwanted dialog if mounting fails


  • Subject: Re: Unwanted dialog if mounting fails
  • From: Deivy Marck Petrescu <email@hidden>
  • Date: Mon, 27 Jul 2009 20:03:24 -0400


On Jul 27, 2009, at 8:01 PM, Deivy Marck Petrescu wrote:


On Jul 27, 2009, at 7:54 PM, Chris Page wrote:

On Jul 27, 2009, at 3:41 AM, Bert Groeneveld wrote:

The volume "Macintox HD" does not exist. Despite the fact that I put my code in a try block I still get a dialog that tells me that mounting failed. This seems strange to me since the code is inside a try block. Can I work around this dialog? I mean, I just want to execute the code in the error block, without any popus that require user-interaction.

Unfortunately, this dialog is displayed by the underlying volume mounting facility and is out of the hands of AppleScript. It is displayed before the "mount volume" command even returns an error to AppleScript, where your error handler lives.

-- 
Chris Page

 The other, other AppleScript Chris

_______________________________________________


Chris,

But then, shouldn't the error message coming from the script also be displayed?
I don't get it.

Deivy Petrescu
email@hidden


Never mind!
I do get a time out message!


Deivy Petrescu
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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Unwanted dialog if mounting fails (From: Bert Groeneveld <email@hidden>)
 >Re: Unwanted dialog if mounting fails (From: Chris Page <email@hidden>)
 >Re: Unwanted dialog if mounting fails (From: Deivy Marck Petrescu <email@hidden>)

  • Prev by Date: Re: Unwanted dialog if mounting fails
  • Next by Date: In a handler passed as a parameter to a handler in another script, how do I refer to top-level variables from the original script?
  • Previous by thread: Re: Unwanted dialog if mounting fails
  • Next by thread: Re: Unwanted dialog if mounting fails
  • Index(es):
    • Date
    • Thread