Last One - Replacing Chars of file name - I HATE TIDs.
Last One - Replacing Chars of file name - I HATE TIDs.
- Subject: Last One - Replacing Chars of file name - I HATE TIDs.
- From: "T.J. Mahaffey" <email@hidden>
- Date: Fri, 24 Aug 2001 21:05:30 -0700
Ok, I'm giving up. I tried the following script in various versions and it
does nothing. No error, no nothing.
on open theFileList
repeat with thisFile in theFileList
tell application "Finder"
set {AppleScript's text item delimiters, oldTIDs} to {" ",
AppleScript's text item delimiters}
set theText to name of thisFile as string
set AppleScript's text item delimiters to " "
set textList to text items of theText
set AppleScript's text item delimiters to "_"
set theText to textList as string
set AppleScript's text item delimiters to oldTIDs
end tell
end repeat
end open
My final request is for someone to tweak this so it works. Now it's just
about seeing how the h**l this is done. This thing has broken me and I just
want to move on. I feel awfully stupid about this. I'm sure it's easy.
--
T.J. Mahaffey
email@hidden