Friday, March 23, 2018

#1 2017-04-10 12:52:40 am

From:: Los Angeles
Registered: 2008-10-29
Posts: 2

Duplicate a window in Finder to ease moving of files


I have a rather large and complex file structure due to years of accumulated files and frequent reconfiguration.  I have often needed to move files from one folder to another, simple house cleaning and file organization.  I don't need a script to move the files per se, but rather a script that will recognize the path of the open Finder window and then open another window with the same path so that I can then proceed to just tweak the path of either of the open windows by hand and then drag and drop files as needed for a one-time file placement.  At present it is tedious to open a new Finder window and then navigate it to a matching path just to drag and drop a few files. I hope this is clear.  If anyone needs further clarification, please let me know.

Many thanks.

Model: Mac Pro
AppleScript: 2.5
Browser: Safari 537.36
Operating System: Mac OS X (10.10)

Medium to semi-medium-fast learner

Filed under: file, window, PATH, duplicate



#2 2017-04-10 04:15:23 am

Marc Anthony
From:: Dallas, TX
Registered: 2006-04-27
Posts: 795

Re: Duplicate a window in Finder to ease moving of files

Hi. This should work:


tell application "Finder" to set (make Finder window)'s target to (Finder window 1's target) as text



#3 2017-04-10 04:52:48 am

Nigel Garvey
From:: Warwickshire, England
Registered: 2002-11-20
Posts: 4509

Re: Duplicate a window in Finder to ease moving of files

So should this:


tell application "Finder" to make new Finder window to (get Finder window 1's target)




#4 2017-04-10 08:28:33 am

From:: BFE, Massachusetts
Registered: 2013-01-13
Posts: 232

Re: Duplicate a window in Finder to ease moving of files

A reasonably fast UI way to handle it -

Right-click on the folder icon in the title bar. This pops up a drop-down list of the file path.

Hold command down while clicking the folder immediately above the one you're in. This will open the parent to your current folder in a new tab to the right of the current folder.

Then you just need to go down one level in that folder to get two copies of the current folder.

A script is better if you're doing this all the time, but I thought I'd point out the reasonably fast Finder way to bypass navigating long hierarchies twice.

Hackintosh built February, 2012 |  Mac OS Sierra
GIGABYTE GA-Z68X-UD3H-B3 | Core i5 2500k | 16 GB DDR3 | GIGABYTE Geforce 1050 TI 4GB
250 GB Samsung 850 EVO | 4 TB RAID
Dell Ultrasharp U3011 | Dell Ultrasharp 2007FPb



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)