• 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
Droplet for disks with duplicate names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Droplet for disks with duplicate names


  • Subject: Droplet for disks with duplicate names
  • From: Laine Lee <email@hidden>
  • Date: Wed, 21 Sep 2005 12:20:34 -0500
  • Thread-topic: Droplet for disks with duplicate names

I ask something like this every year or so, I think, but I'm having trouble
searching the list today.

If you have two disk volume icons on your desktop with the same name, and
you drop one of them on a droplet made from this script (I used 10.4.2)
you'll get the same result no matter which one you drop.

on open selection
 tell application "Finder"
  repeat with i in selection
   display dialog (index of (a reference to disk i)) as string
  end repeat
 end tell
end open

How do you construct a droplet so that unique information about the disk
whose icon you dropped will be returned if another disk volume of the same
name is also mounted on the desktop?

Thanks.


--
Laine Lee
email@hidden
http://lonestar.utsa.edu/llee


 _______________________________________________
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

  • Follow-Ups:
    • Re: Droplet for disks with duplicate names
      • From: Dave Lyons <email@hidden>
    • Re: Droplet for disks with duplicate names
      • From: Gnarlodious <email@hidden>
  • Prev by Date: Re: new folder
  • Next by Date: Perhaps OT: how to make a custom CD that opens upon insertion to a window with custom background and icons
  • Previous by thread: Re: new folder
  • Next by thread: Re: Droplet for disks with duplicate names
  • Index(es):
    • Date
    • Thread