RenameToWindows Update
RenameToWindows Update
- Subject: RenameToWindows Update
- From: Victor Yee <email@hidden>
- Date: Fri, 16 Feb 2001 03:55:15 -0500
I've reworked the script to also cleanup folder names and fixed a memory leak. Some speed was sacrificed for stability. There's also some structure design change.
You can get a compressed AS text file (about 7K) from here:
http://www3.sympatico.ca/victor.yee/applescript/scripts/RenameToWindows-v1.07.sit.hqx
BTW, is resolving aliases in AS known to be a source of memory leaks, or is it something unique to my computer's environment? (OS 9.1, AS 1.55, CarbonLib 1.2)
e.g. I had to change, among other things,
on nameAvailable(thisPathStr)
try
alias thisPathStr
return false
on error
return true
end try
end nameAvailable
to
on nameAvailable(thisPathStr)
tell application "Finder" to return not (exists item thisPathStr)
end nameAvailable
--
Victor