Re: Looking for a disk in disks
Re: Looking for a disk in disks
- Subject: Re: Looking for a disk in disks
- From: Bill White <email@hidden>
- Date: Sun, 28 Oct 2001 16:00:05 -0500
>
How can I test if a certain volume is mounted on the mac ?
>
>
I am trying to use
>
>
Tell app "Finder" to set theDisks to the disks
>
If "home" is in theDisks then beep
>
>
Only it never does, how can use this
You're almost there! Try this:
tell application "Finder" to set theDisks to list disks
if "home" is in theDisks then beep
Hope this helps.
Bill