-->


Showing posts with label AppleScript. Show all posts
Showing posts with label AppleScript. Show all posts

How to Open a copy of the current Finder window via AppleScript









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
use Butler to assign this a hot key, which then opens these copies when I need them




http://apple-guide.blogspot.com/2008/01/how-to-open-copy-of-current-finder.html