• 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: 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


References: 
 >How do I change path punctuation? (From: "John Tuttle" <email@hidden>)

  • Prev by Date: Re: Path to app ...
  • Next by Date: Re: Path to app ...
  • Previous by thread: Re: How do I change path punctuation?
  • Next by thread: Re: How do I change path punctuation?
  • Index(es):
    • Date
    • Thread