Re: Test for Desktop
Re: Test for Desktop
- Subject: Re: Test for Desktop
- From: Mr Tea <email@hidden>
- Date: Thu, 15 Feb 2001 23:22:22 +0000
This from Brad Giesbrecht - dateline 2/15/01 9.35 pm:
>
Is a mounted volume "in" my start up
>
drives Desktop folder?
As I understand it, Brad, each mounted volume has its own desktop.
You can check if a selected item is on any desktop, and identify the
specific desktop with this line
tell application "Finder"
get {name of container of selection, name of disk of selection}
end tell
If the selection is an item on the desktop of a disk called "Hard Disk", the
result should look like this:
{"Desktop", "Hard Disk"}
I'm sure you will be able to wrap this info in a few ifs, ands or buts to
make it do what you need.
Mr Tea
--
Brew of the day: Lapsang Souchong