Re: Mounting volume error
Re: Mounting volume error
- Subject: Re: Mounting volume error
- From: Tod Hallberg <email@hidden>
- Date: Fri, 16 Mar 2001 14:14:11 -0500
- Organization: Monical Pizza Corporation
legacy wrote:
>
I need to mount several volumes. If any of the volumes are not
>
available, I want to ignore them. How do I skip past an error for this
>
step?
>
>
tell application "Finder"
>
activate
>
try
>
select file "Mike's Macintosh alias" of folder " Networked Drives"
>
open selection
>
>
end try
>
end tell
>
>
If the volume is not found, I want to proceed to the next volume to open.
I Haven't yried this, but I seem to remember there being a
"ignoring application response" command in applescript
try something like this:
(suedo-code and untested)
tell application "Finder"
activate
begin ignoring application response
try
select file "Mike's Macintosh alias" of folder " Networked Drives"
open selection
end try
end ignoring application response
end tell
Hope this helps
Tod