From Laine D. Lee:
This script organizes size and position of all open windows of nested folders in the desired parent folder. It combines the Akua Sweets folder walking method and a folder action script designed by Sal Soghoian of Apple Computer. The main differences between this script and Sal's script is that it performs the action on all nested folders and not just the ones in the parent folder, and that it comes in three forms: one suited for use as a draggable Finder application, one suited for triggering from the Apple menu, and one suitable as a folder action . By default it only rearranges nested folders whose windows are open when it is activated, but it can be quickly and easily modified to perform the action on every nested folder in the specified parent folder.