Droplet for disks with duplicate names
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