• 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 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

References: 
 >Re: Telling an iDisk from other mounted volumes (From: Simon Topliss <email@hidden>)

  • Prev by Date: Re: Telling an iDisk from other mounted volumes
  • Next by Date: Quark 7 Kerning
  • 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