Re: Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"
Re: Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"
- Subject: Re: Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"
- From: Timothy Bates <email@hidden>
- Date: Thu, 01 May 2003 14:55:11 +1000
>
> I need to go from
>
> "Vortex:Users:tim:Desktop:reading data/data.html"
>
> to
>
> "file:///Users/tim/Desktop/reading/reading data/data.html"
>
> why does Posix file (path to user folder) -->> file ":.:Vortex/Users/tim/"
>
You've got 'Posix file' instead of 'POSIX path of' (you're trying to get the
>
colon-style path on a path that already has colons, hence the extra colons).
>
It's pretty clear in Standard Additions. Or check Release Notes for
>
AppleScript 1.6.
Thanks, I couldn't see "Posix path" in the standard additions as it is a
property of "Posix file"
So, for the benefit of others
return POSIX path of POSIX file macFilePath
--> slashed file path
Thanks,
tim
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.