• 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: Mounting volume error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Mounting volume error (From: legacy <email@hidden>)

  • Prev by Date: Re: tell remote machine without password-dialog
  • Next by Date: Re: Identifying text boxes by a name in Quark
  • Previous by thread: Mounting volume error
  • Next by thread: Re: Mounting volume error
  • Index(es):
    • Date
    • Thread