When I open pdf using Preview I want the
Preview window to be placed in the right upper corner not in the left one.
Any idea how I can do that?
OS X 10.6.2
Windows are positioned from some starting position (e.g. near the top left) and every subsequent window is positioned slightly to the right.
This mode of positioning is hard-coded in applications (or, more likely, the Apple frameworks these applications use). You'd need to modify Preview itself. There's no preference for this: The preferences Just Jake mentions are not related to document viewer windows, but for all windows that exist only once (color picker, preferences, etc.).
Unfortunately, Preview is no longer AppleScriptable, so I don't think it's possible to write an AppleScript that moves the window around.
I am not sure that this application could save the preference then brings it up when other app (Preview, in your case) starts up or not but I think it's quite useful with shortcut control. I think you could run Preview and spend a couple mins with the keyboard to set it up exactly where you want on the screen.
The application is Divvy
Preview appears to store the size and shape of windows in its .plist preference file. Reading the file using
These keys must be relevant to the display because I'm running at 1680 by 1050, which is actually 1680 by 1028 once you subtract 22 pixels for the menu bar.
I'd suggest playing around with these keys in the .plist file using either
Alternatively, if you feel comfortable scripting via AppleScript, You can move an application's windows around programmatically once you've enabled access for assistive devices.
It's only really useful if you:
I currently have scripts like this assigned to ⇧⌘-numpad (in Finder only), and the regular split-screen ones to ⌥-numpad.
There are some utilities that allow setting default dimensions per application. FinderMinder repositions all new Finder windows after opening them. (There's a visible delay.) Breeze just allows assigning shortcuts for saving and restoring default dimensions.
Still, I'd also be interested in methods to change the default size / position / side of screen / stacking behavior of new windows.