• 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: mount volume, new error from out of the blue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mount volume, new error from out of the blue


  • Subject: Re: mount volume, new error from out of the blue
  • From: kai <email@hidden>
  • Date: Wed, 12 Oct 2005 17:59:25 +0100


On 12 Oct 2005, at 16:40, Eric Geoffroy wrote:

Sure enough, that did the trick. Only thing remaining is how to relocate the test for disk "Graphics" outside of the IF block. or how to relocate the MOUNT command out from the Tell Finder block.
I have a cold. Can't think straight.


tell application "Finder"
    if not (exists disk "Graphics") then
     mount volume "afp://h3rm4n:munster@mojo/Graphics"
    end if
end tell

Perhaps something like:

----------------

tell application "Finder" to set diskExists to exists disk "Graphics"
if not diskExists then mount volume "afp://h3rm4n:munster@mojo/Graphics"

----------------

---
kai


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: mount volume, new error from out of the blue
      • From: kai <email@hidden>
References: 
 >Re: mount volume, new error from out of the blue (From: "John C. Welch" <email@hidden>)
 >Re: mount volume, new error from out of the blue (From: Eric Geoffroy <email@hidden>)

  • Prev by Date: Re: Scripting iCal
  • Next by Date: Re: mount volume, new error from out of the blue
  • Previous by thread: Re: mount volume, new error from out of the blue
  • Next by thread: Re: mount volume, new error from out of the blue
  • Index(es):
    • Date
    • Thread