Tiling Finder Windows is a widely sought out feature by OSX users for the past few years.

Mission control(formerly Expose) which is supposed to help you manage windows will not help when you need to work with Multiple Finder Windows.

Especially if you were a Windows/Linux User, you will find it pretty hard to resize and place windows.

Fix – use Apple Scripts.

You can easily write a small script which will help you with this task.

Steps

    1. Launch Apple Script Editor
    2. Copy paste the following code into the editor
tell application "Finder"
	set n to count of window

	set screenSize to bounds of window of desktop
	set screenWidth to item 3 of screenSize
	set screenHeight to item 4 of screenSize
	if n is equal to 0 then return
	set windowWidth to screenWidth / n
	if (n > 0) then
		activate
		set w to 1
		repeat
			tell window w
				set bounds to {windowWidth * (w - 1), 0, windowWidth * w, screenHeight}
			end tell
			set w to w + 1
			if w is equal to (n + 1) then exit repeat
		end repeat
	end if
end tell
  1. Hit Compile
  2. Save the script with File Format: Application
  3. Add the application to the dock.
  4. Every time, you need to tile your Finder Windows. Just hit the dock icon.
  5. You can also configure a shortcut key for the Application.

Apple Scripts are really powerful. If you would like to learn more about Apple Scripts and want to write your own scripts check developer.apple.com/applescript/

About The Author

PHP | Node.js | Python

6 Responses

  1. mcalas

    Awesome! It works perfectly and it was easy to create. Thank you for your time!

    Reply
  2. Matthew

    Hi – this looks like almost exactly what I need and I’m not complaining, but instead of saving say, 4 Finder windows side by side vertically, is there something I could change the script to, to make 4 equal windows with 2 above 2? Thanks, gratefully, Matthew

    Reply
  3. GFS

    This is the best implementation of this I’ve ever seen and so fast. I’ve been using similar for years, which work more or less well and less so since OS updates. Well done!!

    One request:

    Any chance of a second version which can tile vertically? (Very useful when using column view).

    Reply
    • richard

      tell application “Finder”
      set n to count of window

      set screenSize to bounds of window of desktop
      set screenWidth to item 3 of screenSize
      set screenHeight to item 4 of screenSize
      if n is equal to 0 then return
      set windowHeight to screenHeight / n
      if (n > 0) then
      activate
      set w to 1
      repeat
      tell window w
      set bounds to {0, windowHeight * (w – 1), screenWidth, windowHeight * w}
      end tell
      set w to w + 1
      if w is equal to (n + 1) then exit repeat
      end repeat
      end if
      end tell

      Reply

Leave a Reply