Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacBoobsPro

macrumors 603
Original poster
Jan 10, 2006
5,114
6
Ok I've been using OSX since it first came out but one thing I still don't understand is how you determine where a new finder window will appear. :eek:

I recall someone once saying open a window, press CTRL then close the window and the next window will appear in the same spot as the now closed window. That doesnt work, nor does pressing command or any other combination I have tried.

Can someone please explain how it works and how to get a window to open where I want it to.

Thanks.
 
My finder windows open in the exact location where i last closed one. :confused:

If i understand the OP, he's talking about /new/ windows:

-click on the desktop
-type ⌘⇧N [command-shift-n]
-doubleclick the "untitled folder" icon

That's a new window.

AFAIK, the bounds (i.e., both position and size) of that window is hard-coded somewhere, and no one has found where, yet. [i.e., it's probably *not* in any plist.] Best we can do is set up an AppleScript and run it from Script Menu (which could also be done via a hotkey).

E.g.,
Code:
[SIZE="1"]
property myWidth : 768
property myHeight : 458

tell application "Finder"
	try
		set fWind to front window
		set {wLeft, wTop, wRight, wBottom} to get bounds of fWind
		set bounds of fWind to {wLeft, wTop, wLeft + myWidth, wTop + myHeight}
		
		tell front window
			try
				update every item with necessity
			end try
		end tell
	end try
end tell
[/SIZE]
Edit: as written, my script only determines size. Set the wLeft and wTop variables to adjust position. Script operates on an existing window, so modify it to also create the folder if desired.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.