• 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: Replacing Characters in file name - Part II
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing Characters in file name - Part II


  • Subject: Re: Replacing Characters in file name - Part II
  • From: Ray Phillips <email@hidden>
  • Date: Thu, 30 Aug 2001 16:11:00 +1000

Could you explain this a little please Michelle?

set the filename to "macintosh hard disk:this is a folder: this is file 1"
set {tid, text item delimiters} to {text item delimiters, space}
set the filenameList to the text items of the filename
set text item delimiters to "_"
set the filename to the filenameList as text
set text item delimiters to tid
the filename

I thought the set command links one variable to another, so the variable
tid would always have the same value as text item delimiters, but that's
obviously false since your script works.


Ray


References: 
 >Re: Replacing Characters in file name - Part II (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: coercing a list
  • Next by Date: Re: coercing a list
  • Previous by thread: Re: Replacing Characters in file name - Part II
  • Next by thread: Re: Replacing Characters in file name - Part II
  • Index(es):
    • Date
    • Thread