• 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
RenameToWindows Update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: New list [was: WHEN WILL THE LIST SERVER BE FIXED?]
  • Next by Date: Re: WHEN WILL THE LIST SERVER BE FIXED?
  • Previous by thread: Re: New list [was: WHEN WILL THE LIST SERVER BE FIXED?]
  • Next by thread: (newbie) script to open filemaker files
  • Index(es):
    • Date
    • Thread