Friday, April 28, 2017

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

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

Duplicate a window in Finder to ease moving of files

Hello,

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)


Polyvox
Medium to semi-medium-fast learner

Filed under: file, window, PATH, duplicate

Offline

 

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

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

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

Hi. This should work:

Applescript:

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

Offline

 

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

Nigel Garvey
Moderator
From: Warwickshire, England
Registered: 2002-11-19
Posts: 4263

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

So should this:

Applescript:

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


NG

Offline

 

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

t.spoon
Member
From: BFE, Massachusetts
Registered: 2013-01-12
Posts: 130

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.

Offline

 

Board footer

Powered by FluxBB

[ Generated in 0.085 seconds, 9 queries executed ]

RSS (new topics) RSS (active topics)