• 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: iDisk (paul mccabe kampu)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iDisk (paul mccabe kampu)


  • Subject: Re: iDisk (paul mccabe kampu)
  • From: paul mccabe kampu <email@hidden>
  • Date: Wed, 29 Aug 2001 23:10:58 -0400
  • Organization: Kalsea Lane

Frank Barlow wrote:

> The script
>
> mount volume "afp://userName:userPassword@serverIP/volumeName/"
>
> works fine. I assume a similar dismount command.
>
> Please what is the test for "mounted" so I could script:-
>
> if "test for mounted" is false
> mount volume ....
> else
> dismount volume ....
> end if
>
> And thank you.
>
> Frank Barlow
>

This can be modified/switched around to suit...

tell application "Finder"
if exists disk "volumeName" then
put away disk "volumeName"
else
mount volume "afp://userName:userPassword@serverIP/volumeName/"
end if
end tell

hth,
--
Paul
http://homepage.mac.com/pkampu/ (*not for the faint of heart*)

"No, TRY not. do or do not. There is no TRY." --Yoda(on error handling)


References: 
 >Re: iDisk (paul mccabe kampu) (From: Frank Barlow <email@hidden>)

  • Prev by Date: Re: processing time & stack overflow
  • Next by Date: Re: processing time & stack overflow
  • Previous by thread: Re: iDisk (paul mccabe kampu)
  • Next by thread: Re: iDisk (dismounting)
  • Index(es):
    • Date
    • Thread