• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I change path punctuation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Sending info from one script to another
  • Next by Date: Re: replace / in filename with _
  • Previous by thread: Re: How do I change path punctuation?
  • Next by thread: Re: OS X oddity?
  • Index(es):
    • Date
    • Thread