shrum.net /sean/code/relocate
 
 
 
 
  
 
 
Relocate

 Relocate

The perfect tool to use if you have a widescreen monitor.  Allows you to reposition windows on screen and across multiple screens via hotkeys
 

Introduction

Relocate is a SysTray resident utility that uses the WinKey and your numeric keypad and/or arrow keys to quickly and easily relocate/reposition windows on screen.  Relocate also supports relocating windows to other monitors (on multi-monitor systems).  This app is mainly aimed at users with widescreen displays and/or multi-monitor systems.

Supports window moves to left half, right half, top half, bottom half as well as the 4 corners (1/4 size).

It's Windows-based, open source (GNU), and solely written, maintained, hosted, and supported by me, Sean Shrum. Source code is written with AutoIT (.au3) and the most recent version can be found via the source link in the navbar above.  If you're just looking for the latest binary build, it can be downloaded from the binary link in the navbar above. Click here to get my list of AutoIT tools.


Background

Getting tired of resizing multiple windows on your widescreen monitor by hand just so you could have 2 or more program windows visible?  I was.  Relocate came about after reading a thread by Fisofo about a developing project on the AutoITScript forums for sectioning the display to allow for repositioning windows via hotkeys.  A great idea but at the time no multiple monitor support.  I took the next step and setup this project to deal with multiple monitors as I run 3 screens: 15-inch (in portrait mode) + 24-inch (in landscape mode) + 15-inch (in portrait mode) (monitor stand project pics here / details here).  I took Fisofo's SplitMon  _MonitorInfo() function and created Relocate around the array his function returned.

Now that I wrote this, and am finding it of great use and ease, I'm left wondering why Microsoft didn't build these hotkeys/functionality directly into Windows. :-)  I can't live without this app (I even use it on my small laptop screen).


Usage

Relocate does a number of things based on what hotkey combo is pressed.  They all use the WinKey (right or left one) plus another to trigger events.
  1. Winkey+NumPad1  OR  Winkey+End
    Moves active window the the BOTTOM LEFT CORNER of the screen
     
  2. Winkey+NumPad2  OR  Winkey+Down arrow
    Moves active window the the BOTTOM HALF of the screen
     
  3. Winkey+NumPad3  OR  Winkey+PgDn
    Moves active window the the BOTTOM RIGHT CORNER of the screen
     
  4. Winkey+NumPad4  OR  Winkey+Left arrow
    Moves active window the the LEFT HALF of the screen.  If the active window is already on the left half of the screen it will move the active window to the monitor on the immediate left.  If active window is already on the far left monitor (in left half mode), it will wrap over to the far right monitor
     
  5. Winkey+NumPad5
    Toggles MAXIMIZE/RESTORE of the active window
     
  6. Winkey+NumPad6  OR  Winkey+Right arrow
    Moves active window the the RIGHT HALF of the screen.  If the active window is already on the left half of the screen it will move the active window to the monitor on the immediate right.  If active window is already on the far left monitor (in right half mode), it will wrap over to the far left monitor
     
  7. Winkey+NumPad7  OR  Winkey+Home
    Moves active window the the TOP LEFT CORNER of the screen
     
  8. Winkey+NumPad8  OR  Winkey+Up arrow
    Moves active window the the TOP HALF of the screen
     
  9. Winkey+NumPad9  OR  Winkey+PgUp
    Moves active window the the TOP RIGHT CORNER of the screen.


FAQs

Q. Why not use the number keys across the top of the keyboard to define a shortcut to send a window to a specific monitor?

I wish!  But because Microsoft already has these keys linked to the shortcuts located on the Quick Launch bar, I can't. Win+1 launches the shortcut located first on the quick launch bar.  Win+2 launches the second, and so on, and so on...   :-(

Q. Can I redefine the shortcuts?

No.  As this was a quick project for me, I didn't take the time to make a GUI for defining your own shortcuts.  The Win key is the most obvious selection for a starter key and the NumPad layout is exactly the same as the positioning that occurs.  It's the perfect match up.  If you require this functionality, I'd suggest taking a look at Fisofo's SplitMon project over at AutoItScript.com which at the time of this writing does support a variety of hotkey options


Support

If you have any questions, comments, suggestions, etc., please make sure to read my Support & Legal page first.  If you question is not answered after reading that page, feel free to use the Support button / Systray menu in my applications to submit a request.  I welcome all input and hope you find my application helpful.

 
 
Cats v.4.06 [open source] Plug-in: "text" Template size: 18 kb Script time: 0.0023 secs Plug-in time: 0.0083 secs Overall time: 0.0106 secs