Re: Unwanted dialog if mounting fails
Re: Unwanted dialog if mounting fails
- Subject: Re: Unwanted dialog if mounting fails
- From: Chris Page <email@hidden>
- Date: Mon, 27 Jul 2009 16:54:55 -0700
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
|
_______________________________________________
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