Re: Replacing Characters in file name - Part II
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