Re: posix path error
Re: posix path error
- Subject: Re: posix path error
- From: Luther Fuller <email@hidden>
- Date: Sun, 28 Aug 2011 13:29:28 -0500
On Aug 28, 2011, at 12:59 PM, Jon Pugh wrote: On Aug 28, 2011, at 10:41 AM, Luther Fuller wrote: set sourcePath to (quoted form of (POSIX path of sourceAlias)) set destPath to (quoted form of (POSIX path of destAlias))
This works here, regardless of order:
set sourceAlias to alias "SuperMac:Users:jonpugh:Desktop:iss028e024847perseid.jpg" set destAlias to alias "SuperMac:Users:jonpugh:Desktop:GaleCraterMars_themis.jpg"
set destPath to (quoted form of (POSIX path of destAlias)) set sourcePath to (quoted form of (POSIX path of sourceAlias))
True. I don't know why the strange behavior where first is OK and second is error. But, I did find the fix. I finally noticed a preceding line was missing ' ... as alias' at the end. And, BTW, this is in Snow Leopard 10.6.8.
|
_______________________________________________
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