Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the '10.4: Upload items to iDisk via Automator' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Upload items to iDisk via Automator
Authored by: Stef@nK on Feb 24, '07 03:06:37AM

I use this handler to mount the iDisk automatically without entering any data

on mount_iDisk()
	tell application "Finder"
		set frontmost to true
		set iDiskName to do shell script "defaults read .GlobalPreferences iToolsMember"
		if not (exists disk iDiskName) then
			tell application "System Events" to keystroke "i" using {shift down, command down}
			repeat until (exists the disk iDiskName)
				delay 0.5
			end repeat
			close window iDiskName
		end if
	end tell
	return iDiskName
end mount_iDisk

[ Reply to This | # ]