Re: Converting Unix path to AppleScript path
Re: Converting Unix path to AppleScript path
- Subject: Re: Converting Unix path to AppleScript path
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 29 Mar 2006 12:24:28 -0800
>>>on urlToPOSIXPath (theURL)
> >>> -- theURL should be a valid file URL string; if URL is invalid, an error is raised
> >>> tell application "Automator"
> >>> return call method "path" of (call method "URLWithString:" of class "NSURL" with parameter theURL)
> >>> end tell
> >>>end urlToPOSIXPath
>
> >>>urlToPOSIXPath <snip>
>
Thanks Has, This too is exactly what I was looking for!
ED
_______________________________________________
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