• 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: idisk
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: idisk


  • Subject: Re: idisk
  • From: KOENIG Yvan <email@hidden>
  • Date: Sun, 08 May 2011 11:11:04 +0200


Le 8 mai 2011 à 01:15, Bob Cuilla a écrit :


I have a file I would like to move to my idisk using AS. This would include mounting idisk, moving the file and then ejecting the disk, can anyone give me some direction with this issues?



To open the iDisk, I use everyday this piece of code :

set userName to "my_name"


set nomVolume to ("http://idisk.me.com/"; & userName & "/")

tell application "Finder"
	if not (exists alias (userName & ":")) then
		repeat
			try
				mount volume nomVolume
				exit repeat
			on error
				delay 1
			end try
		end repeat

		repeat
			if exists alias (userName & ":") then exit repeat
		end repeat
	end if
end tell --Finder

Yvan KOENIG (VALLAURIS, France) 8 mai 2011 11:10:57
_______________________________________________
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
References: 
 >idisk (From: Bob Cuilla <email@hidden>)

  • Prev by Date: idisk
  • Next by Date: missing System Events.app
  • Previous by thread: idisk
  • Next by thread: missing System Events.app
  • Index(es):
    • Date
    • Thread