• 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: "John C. Welch" <email@hidden>
  • Date: Wed, 12 Oct 2005 10:54:12 -0500
  • Thread-topic: mount volume, new error from out of the blue

Title: Re: mount volume, new error from out of the blue
On 10/12/05 10:40, "Eric Geoffroy" <email@hidden> wrote:

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

You can dip in and out of the Finder as you need. Do the mount outside of the Finder tell, there's no reason to put it in there. In fact, you don't even need the Finder to check for a disk, you can get that from Standard Additions as well.

set theTest to list disks
if theTest does not contain "Graphics" then
   mount volume "afp://h3rm4n:munster@mojo/Graphics"
end if

There’s no reason to use the Finder at all here. Again, when doing anything that’s not explicitly requiring a third party application, check to see if you can do it with Standard Additions first. You’ll save a ton of time and terminology clash.

--
"The Exertion of Better Men"
- Motto for Special Boat Unit 22, Det 122- Sacramento , Ca.
 _______________________________________________
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

References: 
 >Re: mount volume, new error from out of the blue (From: Eric Geoffroy <email@hidden>)

  • Prev by Date: Re: special characters in file names
  • Next by Date: Autoreply: Applescript-users Digest, Vol 2, Issue 667
  • 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