| View previous topic :: View next topic |
| Author |
Message |
TheGood
Joined: 30 Jul 2007 Posts: 516
|
Posted: Fri Jan 16, 2009 8:45 am Post subject: WinMouse: Move windows using your mouse! |
|
|
After checking out WindowPad from Lexikos, I realized that the ability to neatly organize windows is extremely useful, especially across multiple monitors. But I felt like using the keyboard wasn't as intuitive as using the mouse. So, I created WinMouse! Because it feels so intuitive, I found it much faster than WindowPad. Here is the introduction from the documentation:
| Quote: | WinMouse allows you to move and resize windows into predefined positions around the screen(s) using
your mouse. All you have to do, is to hover the mouse (no need to click) over the window you wish
to move, then press (and hold) the Capslock key to lock onto the window. As you move the cursor
around the screen, WinMouse will highlight the different locations (or "drop zones") where you can
place (or "drop") the window. Once you've chosen your drop zone, simply release the Capslock key to
drop it to the highlighted drop zone. |
Screenshot showing a highlighted drop zone, as well as the AutoHotkey Help window which was dropped in the lower-right drop zone:
The included config file is a good general beginning file which shows the capabilities of WinMouse. The documentation (after INI entries in WinMouse.ini) is quite thorough, but do not hesitate if you have any questions As always, any (constructive) criticism/comments/suggestions are welcome!
Download
To make sure your browser downloads the latest version, make sure you clear your cache.
Changelog
Jan 16, 2009
- Added the ability to restore a moved window to its previous position by pressing Capslock + Space
- Fixed up documentation (eg. changed Monitor 2 example to a 16-drop-zone configuration)
- Added ReverseNumPad key in WinMouse.ini -> allows you to invert NumPad superimposition.
- Added StringReplace -> you can now have spaces and tabs in the drop zone definition
- Added a few more comments in the script
Last edited by TheGood on Wed Feb 04, 2009 3:29 am; edited 6 times in total |
|
| Back to top |
|
 |
HotKeyIt
Joined: 18 Jun 2008 Posts: 2691 Location: AHK Forum
|
Posted: Fri Jan 16, 2009 4:44 pm Post subject: |
|
|
Nice idea, is there a way to restore previous window size?
As far as I understood I can define as many areas as I like, right? Can you post another ini having 16 instead of 4 areas?
Suggestion:
It would be great if you could spread all window in separate area automaticaly to get better overview, is it possible?
Thanks for sharing this script _________________ AutoHotFile+ToolTip+AutoHotkey_H20.dll  |
|
| Back to top |
|
 |
TheGood
Joined: 30 Jul 2007 Posts: 516
|
Posted: Fri Jan 16, 2009 5:06 pm Post subject: |
|
|
| HotKeyIt wrote: | | As far as I understood I can define as many areas as I like, right? Can you post another ini having 16 instead of 4 areas? |
Yes it is definitely possible. I don't have the time right now, but the [Monitor X] section would start off something like this:
| Quote: |
PointCount = 16
;First row
Point1 = 1-15
Point2 = 12-25
Point3 = 2-35
Point4 = 23-36
;Second row
Point5 = 14-45
Point6 = 15-5
Point7 = 25-56
Point8 = 26-6
[etc... It's easier if you try imagining it in your mind.]
|
I also have to update the documentation to specify that if a range contains two points which are on the same X (or Y), the drop zone will be a pane (for example, 2-5 indicates a horizontal pane (ie. which touches the left and right edges of the monitor) starting at 2 and ending at 5).
| HotKeyIt wrote: | Nice idea, is there a way to restore previous window size?
Suggestion:
It would be great if you could spread all window in separate area automaticaly to get better overview, is it possible? |
Great ideas. The first one might be tricky to do (doable, but it would add too much complexity to the script I fear), but the second is a great idea!
I have to go right now, but I'll work on it later today.
| HotKeyIt wrote: |
Thanks for sharing this script |
Glad you like it!  |
|
| Back to top |
|
 |
TheGood
Joined: 30 Jul 2007 Posts: 516
|
Posted: Fri Jan 16, 2009 8:25 pm Post subject: |
|
|
| TheGood wrote: |
PointCount = 16
;First row
Point1 = 1-15
Point2 = 12-25
Point3 = 2-35
Point4 = 23-36
;Second row
Point5 = 14-45
Point6 = 15-5
Point7 = 25-56
Point8 = 26-6
[etc... It's easier if you try imagining it in your mind.]
|
I don't know why, but I was confused when I wrote that (I thought 1 was in the upper-left). Here is the complete section in order to split the screen in 16 drop zones:
| Quote: |
PointCount = 16
;First row
Point1 = 7-48
Point2 = 78-85
Point3 = 8-59
Point4 = 89-96
;Second row
Point5 = 74-45
Point6 = 48-5
Point7 = 85-56
Point8 = 59-6
;Third row
Point9 = 4-15
Point10 = 45-52
Point11 = 5-26
Point12 = 56-63
;Last row
Point13 = 14-12
Point14 = 15-2
Point15 = 25-23
Point16 = 26-3 |
|
|
| Back to top |
|
 |
TheGood
Joined: 30 Jul 2007 Posts: 516
|
Posted: Fri Jan 16, 2009 10:10 pm Post subject: |
|
|
Updated WinMouse with the following changes:
| Quote: | - Added the ability to restore a moved window to its previous position by pressing Capslock + Space
- Fixed up documentation (eg. changed Monitor 2 example to a 16-drop-zone configuration)
- Added ReverseNumPad key in WinMouse.ini -> allows you to invert NumPad superimposition.
- Added StringReplace -> you can now have spaces and tabs in the drop zone definition
- Added a few more comments in the script
|
|
|
| Back to top |
|
 |
|