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 14:12:47 -0700
- Thread-topic: Telling an iDisk from other mounted volumes
Title: Re: Telling an iDisk from other mounted volumes
>>>Well, I can't say I tested it thoroughly, but out of curiosity, what didn't work? What did you have to change?
On my mac, this line would error,
set tmp to (POSIX file "/tmp") as text
and the compiler would change the text to:
set tmp to (file "MacOSX:private:tmp") as text
This line would error at runtime, I tried using several different values for tmp. (since tmp is a file I didn’t expect it to work)
tell application "Finder" to set aliasFile to (make new alias file to dsk at tmp) as alias as text
So I replaced them with this:
set tempPath to path to temporary items
And this
tell application "Finder" to set aliasFile to (make new alias at tempPath to dsk) as alias
ES
_______________________________________________
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