I am looking for a script to convert a filepath to an Applescript file statement. For example: "/Users/toto/Desktop/Image 6.png" => file "Image 6.png" in the folder "Desktop" in home

You need the revMacfromUnixPath function. To use your example file path:

revMacFromUnixPath("/Users/toto/Desktop/Image 6.png")
-> Macintosh HD:Users:toto:Desktop:Image 6.png

Cheers,
Sarah

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to