Open a copy of the current Finder window via AppleScript

Jan 11, '08 07:30:05AM

Contributed by: dtomasch

Sometimes I find myself needing to open a second copy of the current Finder window I have open. There's no default way to do this in Mac OS X, so I wrote a small script to take care of it for me:

try
  tell application "Finder"
    activate
    set this_folder to (the target of the front window) as alias
    set {x1, y1} to position of front window
    make new Finder window to this_folder
    set position of front window to {(x1 + 50), (y1 + 150)} --This offsets the new window more than the average Finder tiling does
  end tell
end try
I use Butler to assign this a hot key, which then opens these copies when I need them.

[robg adds: This worked as described when I tested it.]

Comments (10)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20080108144434753