Re: Telling an iDisk from other mounted volumes
Re: Telling an iDisk from other mounted volumes
- Subject: Re: Telling an iDisk from other mounted volumes
- From: "Stockly, Ed" <email@hidden>
- Date: Mon, 12 Oct 2009 10:51:26 -0700
- Thread-topic: Telling an iDisk from other mounted volumes
Title: Re: Telling an iDisk from other mounted volumes
I don’t know how reliable this little hack would be across many environments, but it works in my office and at home.
It does not work with mounted idisk public folders.
HTH,
ES
tell application "Finder"
set allDisks to every disk -- as alias list
end tell
repeat with thisDisk in allDisks
tell application "Finder"
if exists item "._Public alias" of thisDisk then
return {thisDisk as alias}
end if
end tell
end repeat
On 10/11/09 10:56 AM, "Doug Tallman" wrote:
I'm trying to tell my iDisk from my other volumes. This seems to be more difficult than I think it should be.
If I run this script:
tell application "Finder"
every disk whose group privileges is none
end tell
it identifies the iDisk only. Can I generalize that if group privileges is none it's an iDisk? Or is there a better way?
BTW, looking at the properties available through Finder and System Events, the Finder says my iDisk is not ejectable, but System Events says it is.
doug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden