Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Specify identically named ejectable disk



Preamble:

10.2 had a problem but it is fixed in 10.3, so I'm using 2 identically named
userfolders (volumes).
Applescript can't distinguish between the two, but Volumes identifies the
removable one as having a "-1" suffix.

tell application "Finder" to every disk

{
disk "Rachel" of application "Finder",
startup disk of application "Finder",
disk "Caches" of application "Finder",
disk "OS 10.3 Backup" of application "Finder",
disk "XBase" of application "Finder",
disk "Rachel" of application "Finder",
disk "Network" of application "Finder",
disk "Servers" of application "Finder"
}

The "Rachel" disk is duplicated here, but if I say

tell application "Finder" to every disk whose not local volume is true

{
disk "Rachel" of application "Finder",
disk "Network" of application "Finder",
disk "Servers" of application "Finder"
}

And now for the question.
How does Finder associate the ejectable disk with the Volumes diskname? Can
I do a "choose folder" telling the dialog to start at an ejectable disk?

Thanks for any insight.

--Rachel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.