Re: QUOTED posix to HFS path
Re: QUOTED posix to HFS path
- Subject: Re: QUOTED posix to HFS path
- From: Christopher Nebel <email@hidden>
- Date: Fri, 11 Feb 2005 12:27:04 -0800
On Feb 10, 2005, at 2:30 AM, Emmanuel wrote:
At 9:48 PM -0800 2/9/05, Paul Berkowitz wrote:
On 2/9/05 9:42 PM, "Gnarlodious" <email@hidden> wrote:
Is there an easy way to get the HFS path from a quoted posix path?
set colonPath to POSIX file (text 2 thru -2 of posixQuotedPath)
as
Unicode text
This won't work too well is the path includes a quote, I'm afraid.
We should rather advise:
POSIX file (do shell script "ls " & posixQuotedPath)
I would have suggested using "echo" instead of "ls", since that will
work for any string, not simply file paths.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden