• 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: programmatically get path to iDisk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: programmatically get path to iDisk


  • Subject: Re: programmatically get path to iDisk
  • From: Mark Myers <email@hidden>
  • Date: Thu, 6 Dec 2007 08:03:52 -0700

Stefan:

I haven't had time to test this, but if you know the name of the volume, you may be able to check the "local volume" property of the disk to determine this. Try the following:

tell application "Finder"
	set theDisk to disk "<disk name>"
	set localTest to local volume of theDisk
end tell

The local volume property is a boolean value.

Mark J. Myers

On Dec 6, 2007, at 7:44 AM, Stefan Seiz wrote:

Hi,

depending on wether a user does use a local (synched) copy of his iDisk or
access his iDisk via Webdav, the path to the iDisk can vary.
It could be:
/Volumes/iDisk
/Volumes/membername
etc...


Is there a way to programmatically get the path to a users iDisk?
(Similar to the "path to" function - "path to idisk" or "path to local
idisk" would be beautiful)

I need this to find out wether a given user is using a synchronised local
idisk or accesses the idisk via webdav, so my script can read/write content
to the proper volume.


Thanks a lot!

[I sent this to the list already on Dec. 5th, but didn't see the mail make
its way into the archives (web) so i don't think the List got it. If it had
gotten it, apologies for the double post]


--
Stefan Seiz <http://www.StefanSeiz.com>
Spamto: <email@hidden>


_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript- 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
  • Prev by Date: Re: Smile (Was: AppleScript4programmers)
  • Next by Date: Re: Another question on dates and times
  • Previous by thread: Re: What makes AppleScript easy
  • Next by thread: Re: programmatically get path to iDisk
  • Index(es):
    • Date
    • Thread