How to open a new finder window from current location

news Add comments

A pretty handy tip I picked up from the Mac OS X Hints useful if you tend to open multiple Finder windows for organising/moving folder/files on the Mac OS X. This script helps to reduce the time after you open a new instance of Finder (ctrl + N) and navigate through endless sub-directories to reach the folder you want.

In more details, this Applescript gets the location of the front-most Finder window and opens a second instance of Finder with the same path and view. If there is no Finder windows at the present when this script is executed, it launches a new Finder window at the system root directory (or any other pre-defined target path).


tell application "Finder"

get the exists of the front Finder window

if the (exists of the front Finder window) is true then

try

set newWindow to target of front window

set oldView to current view of front window

make new Finder window to newWindow

set current view of front window to oldView

end try

else

try

make new Finder window to alias ":"

set the current view of the front Finder window to column view

end try

end if

end tell

Copy above script and paste it to the new project window opened via the “Script Editor.app” (Applications/AppleScript/), then choose “application” as the “File Format” and then save/compile the project with a meaningful name such as “CloneFinder”. Once that is done, drag ‘n drop the newly compiled CloneFinder.app on to the Finder tool-bar for quick access.

13 Responses to “How to open a new finder window from current location”

  1. Scott Stensland Says:

    Brilliant !!! priceless trick and excellent presentation as I’ve never dealt with applet scripts so really appreciate your handholding to engage your source – take care

  2. fosk Says:

    @Scott Stensland: you are welcome ;D

  3. Heather Says:

    Works like a charm. Thanks for helping me with the task of moving files around!

  4. Huckleberry Says:

    Thanks for the great script!
    However, while it works in Leopard, I can’t get it working in Tiger. Any suggestions?

  5. Guy Says:

    Genius. Big ups to yrself. Thanks a lot, very useful.

  6. Jarl Says:

    I’ve never used apple scripts, but this took five seconds and now I have it as an app on my doc. Thanks!

  7. jake Says:

    very nice. I added it as an icon on my Finder toolbar for easy access.

    Is there a way to specify size and position of the new window? For example I would like to have the new Finder window be the same size as the old one, and then be position a few pixels below the old one…

  8. Eurico Says:

    Cool!

  9. Dose Says:

    Very neat trick! This helps a lot. For most people do not find mac, user friendly. But many still purchase them because of the great quality in their products.. Thanks for the help!

  10. Russell Says:

    this is such a great trick, thanks very interesting.. and it worked well when i executed it.. thanks again for the advice

  11. Richard Says:

    Thanks for creating a convenience that puts an end to frustration!

  12. Sina Says:

    Dude!!! You chose the difficult solution. What you want is already built -in in the OS!!
    Just bring the Finder application to front and from the “View” menu click on “Show path bar”.
    Then every time that you go through multiple folders you see the path bar on the bottom of the Finder. Now here is the trick: “Command + double click” on the folder that you want. Tad-a !!! Another finder window opens exactly in the same path. This is the same logic that you use in browsers for opening a link in new tab.

  13. Gabe Says:

    To make it easier, install the program Quick Silver (http://www.blacktree.com/) you can set up a keyboard shortcut and assign it to any script (if you saved it as a script and not an app).

    For example I made the shortcut “Command + Right Arrow” and assigned the above script to it. Now whenever I am in a folder I can just press “Command + Right Arrow” (without the plus sign) and a new folder opens that is the same directory/location as the other.

    Hope that helps!

Leave a Reply

© 2000-2007 by fosk & powered by Wordpress themed by N.Design Studio