OS 10.3 no launch Rev docs -- apple script ???
Sarah
sarahr at genesearch.com.au
Tue Nov 11 18:00:09 EST 2003
Richard,
Since Rev 2.1.1 you can replace this function with the built-in
revMacFromUnixPath function.
Cheers,
Sarah
On 12 Nov 2003, at 4:41 am, Richard Gaskin wrote:
>
> function UnixFile2Mac pFileName
> if char 1 of pFileName = "/" then delete char 1 of pFileName
> replace ":" with "<4WSlashPlaceHolder>" in pFileName
> replace "/" with ":" in pFileName
> replace "<4WSlashPlaceHolder>" with "/" in pFileName
> --
> if IsOSX() then
> set the itemDel to ":"
> if item 1 of pFileName <> "Volumes" then
> put line 1 of the drives &":" before pFileName
> end if
> end if
> --
> return pFileName
> end UnixFile2Mac
>
More information about the use-livecode
mailing list