Re: How do I change path punctuation?
Re: How do I change path punctuation?
- Subject: Re: How do I change path punctuation?
- From: Michelle Steiner <email@hidden>
- Date: Mon, 3 Dec 2001 13:46:13 -0700
On 12/3/01 12:49 PM, John Tuttle <email@hidden> wrote:
>
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?
set imgfolder to (choose folder) as text
set {tid, text item delimiters} to {text item delimiters, ":"}
set imgfolder to text items of imgfolder
set text item delimiters to "/"
set imgfolder to imgfolder as text
set text item delimiters to tid
imgfolder
--Michelle
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------