POSIX path in Lion
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