• 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
Re: Telling an iDisk from other mounted volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Telling an iDisk from other mounted volumes
      • From: Simon Topliss <email@hidden>
References: 
 >Telling an iDisk from other mounted volumes (From: Doug Tallman <email@hidden>)

  • Prev by Date: Remote Apple Event to execute an applescript on another machine with parameters
  • Next by Date: Re: Telling an iDisk from other mounted volumes
  • Previous by thread: Re: Telling an iDisk from other mounted volumes
  • Next by thread: Re: Telling an iDisk from other mounted volumes
  • Index(es):
    • Date
    • Thread