24 May, 2010

AppleScript: Open 2 Finder windows

tell application "Finder"
open home
set toolbar visible of first Finder window to true
open startup disk
set toolbar visible of second Finder window to true
--set statusbar visible of second Finder window to true
set current view of every Finder window to list view
set bounds of first Finder window to [0, 44, 720, 880]
set bounds of second Finder window to [721, 44, 1440, 880]
end tell

It's hard to copy files between 2 locations in OS X. I use this script to open 2 Finder windows side by side. The line starting with -- is made into a comment, so it has no effect.

No comments:

Post a Comment