Unwanted dialog if mounting fails
Unwanted dialog if mounting fails
- Subject: Unwanted dialog if mounting fails
- From: Bert Groeneveld <email@hidden>
- Date: Mon, 27 Jul 2009 12:41:51 +0200
Example script:
try on error set ErrMsg to "Unable to mount volume." sendErrorMessage(ErrMsg) -- this calls a handler and is of no further interest here. end try
Hi, at the beginning of a script, I want to mount a volume of a server. 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.
|
Attachment:
Picture 49.pdf
Description: Adobe PDF document
_______________________________________________
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