I found the original script on Apple's Applescript site, which is well worth a visit if you haven't been there lately!
This particular script is designed for people who like to have two finder windows in column view stacked one above the other, filling a large portion of the screen. Download the script from my iTools web site.
Read the rest of this article for the source of the script, as well as some comments on tweaking it for your particular machine.
NOTE: This may not work with a direct copy and paste.
property monitor_width : 980This particular script is optimized for my powerbook at 1024x768 resolution with the dock on the right hand side. I have a modified version for my work computer running at 1600x1200. You will need to edit yours to suit your own set-up.
property monitor_height : 768
set the startup_disk to (path to startup disk)
tell application "Finder"
activate
set visible of (every process whose visible is true and frontmost is false) ¬
to false
-- BOTTOM WINDOW
set this_window to make new Finder window
set the target of this_window to the startup_disk
set the bounds of this_window to {0, (monitor_height * 0.55) div 1, ¬
monitor_width, monitor_height}
set the current view of this_window to column view
-- TOP WINDOW
set this_window to make new Finder window
set the target of this_window to the startup_disk
set the bounds of this_window to {0, (monitor_height * 0.06) div 1, ¬
monitor_width, (monitor_height * 0.53) div 1}
set the current view of this_window to column view
end tell
Key lines to edit are:
property monitor_width : 980
property monitor_height : 768
These dictate the screen space available to the script. These settings leave just enough free space on the right hand side for my dock. Reduce 980 to a lower number if you want more space on the right.
To adjust this script for different screen resolutions you will also need to edit the two "monitor_height" fractional percentage values. Experiment a bit to find the settings that work for you. To do this, edit the script with script editor (/Applications/AppleScript/Script Editor) and then run the script to see the effect of your edits before you save.
Once you have the script running to your own standards of perfection, save it as an application (mine is called 'tandem' and is located in the /Application/AppleScript directory). Now here is the "real" hint:
Drag the icon of the new "tandem" applescript to your dock!
From now on, whenever you want two stacked finder windows in column view to move files with, just click on the Tandem script in your dock!
With this script installed, I am now in the habit of closing all finder windows whenever I don't need them and I just launch "tandem" via the dock whenever I need to use the finder.
I hope you find this as useful as I do.
Y