Re: Unwanted dialog if mounting fails
Re: Unwanted dialog if mounting fails
- Subject: Re: Unwanted dialog if mounting fails
- From: Peter Baxter <email@hidden>
- Date: Wed, 29 Jul 2009 06:56:04 +1000
HI,
You don't need to load the volume to know if it is mounted. An alias
of the disk will be kept in the folder /volumes/ while if it is
loaded. Simply check if the alias is present in this folder and you
avoid the long wait in your script, and the problematical dialog. You
can then mount the volume only if it is missing.
On 28/07/2009, at 7:32 PM, Yvan KOENIG wrote:
if exists volume xx then mount volume xx
Yvan KOENIG (from FRANCE mardi 28 juillet 2009 11:32:35)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
Peter Baxter
email@hidden
There is hardly anything in the world that some man can't make a
little worse and sell a little cheaper, and the people who consider
price only are this man's lawful prey.-- John Ruskin
_______________________________________________
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