• 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
POSIX path in Lion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

POSIX path in Lion


  • Subject: POSIX path in Lion
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 16 Aug 2011 16:08:01 -0500

My script contains this line of code which has been working correctly in previous systems for years ...

set sourcePath to (quoted form of POSIX path of fileAlias)

I just spent two hours trying to discover why I was getting a -1700 error in Lion.
Once I narrowed my search to a particular small handler, I finally tried replacing the line, above, with this ...

set sourcePath to (quoted form of POSIX path of (fileAlias as text))

Which, finally, fixed my script!

The first line actually worked, once, the first time I tried it. After that, only -1700 error.

 _______________________________________________
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

  • Follow-Ups:
    • Re: POSIX path in Lion
      • From: Shane Stanley <email@hidden>
    • Re: POSIX path in Lion
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Smile Osax not Lion ready
  • Next by Date: Re: temporary items
  • Previous by thread: Smile Osax not Lion ready
  • Next by thread: Re: POSIX path in Lion
  • Index(es):
    • Date
    • Thread