On 8/2/05 2:20 AM, "Joel Guillod" <[EMAIL PROTECTED]> wrote:

> 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

Joel, 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.


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


_______________________________________________
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