Re: How do I change path punctuation?
Re: How do I change path punctuation?
- Subject: Re: How do I change path punctuation?
- From: Steven Angier <email@hidden>
- Date: Mon, 03 Dec 2001 16:55:49 -0700
- Organization: Macscript.com
John Tuttle wrote:
>
Given:
>
>
display dialog "Please select a folder of images." buttons {"Ok"}
>
set imgfolder to (choose folder) as text
>
>
Result "John's HD:slides:html:"
>
>
How do I change the colons in the retrieved text to forward slashes on the
>
fly?
You could use the Macscript.com Library function ReplaceString(); thus:
ReplaceString(imgfolder, return, "/")
Steven Angier
Macscript.com
htttp://www.macscript.com