Revolution filepath to Applescript file: how to?

Joel Guillod joel.guillod at net2000.ch
Tue Aug 2 15:12:50 EDT 2005


Ken ,

Yes, I would be pleased to get your conversion routine.

My problem is that I dont know exactly know how to convert in MacOSX  
(MacOS9?)
from: "/Users/toto/Desktop/Image 6.png"
to: "Main HD:Users:toto:Desktop:Image 6.png"
or from: "/Volumes/My Device/toto/Image 6.png"
to ...?

Thanks very much. jg

> have you considered converting to a ":"-delimited path for use with
> AppleScript?  For example, your path above, if it was on a hard  
> drive called
> "Main HD" would be:
>
>   file "Main HD:Users:toto:Desktop:Image 6.png"
>
> and AppleScript can use that just as easily. If colon-delimited  
> will work
> for you, let me know and I'll post my conversion routine.




More information about the use-livecode mailing list