• 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: Test for Desktop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Test for Desktop (From: Brad Giesbrecht <email@hidden>)

  • Prev by Date: RE: WHEN WILL THE LIST SERVER BE FIXED?
  • Next by Date: Re: WHEN WILL THE LIST SERVER BE FIXED?
  • Previous by thread: Re: Test for Desktop
  • Next by thread: Help with desktop printing
  • Index(es):
    • Date
    • Thread