Mailing Lists: Apple Mailing Lists

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

Re: Specify identically named ejectable disk



It turns out that in 10.3 Apple has cleverly added the suffix "_HomeDir" to
every mounted userfolder, although in truth that may only be for identically
named userfolders. I'd like a report on it if anyone feels the urge.

That means I can easily run Satimage's "backup" command by inserting that
string in the folder path.

Thanks, Apple!

--
There are two kinds of people in the world, those who think the world is a
dichotomy, and those who don't - - - Gnarlodious


Entity Gnarlodious spoke thus:

> 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?
_______________________________________________
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.

References: 
 >Specify identically named ejectable disk (From: Gnarlodious <email@hidden>)



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.