Hello,
I use two screens and I want to easy do several actions with the active window that I'm working with. For example, I want to move the active window from screen 1 (left) to screen 2 (right) using a mouse gesture as holding down Ctrl key combined with a right gesture (holding down left mouse button combined with an simple movement to the right). I also need to supermaximize the active window to fill the two screens (for example with Ctrl + right + up gesture). It will also be interesting snap the active window right (it can be done with Win + Right but to do it I need to release the mouse and I prefer to use a mouse gesture). How can I do all this?.
Thanks.
Mouse gestures to supermaximize, resize and move active wind
You can simulate any Windows shortcuts with FastKeys so the simplest would be to do something like this:
- Set Gestures shortcut to Ctrl + RButton (Preferences/Gestures),
- add a new Gestures item, record your gesture,
- set Type to Send
- set Command to execute Win + Right shortcut
You can prepare other gestures in similar way.
- Set Gestures shortcut to Ctrl + RButton (Preferences/Gestures),
- add a new Gestures item, record your gesture,
- set Type to Send
- set Command to execute Win + Right shortcut
Code: Select all
#{Right}
Hi Tom,
thanks for your help. What is the command to send to supermaximize a window to fill the two screens?.
thanks for your help. What is the command to send to supermaximize a window to fill the two screens?.
Could you try the code below? It should expand an active window.
Type: Command
Type: Command
Code: Select all
WinGetActiveTitle, Title
WinRestore, %Title%
SysGet, X1, 76
SysGet, Y1, 77
SysGet, Width, 78
SysGet, Height, 79
WinMove, %Title%,, X1, Y1, Width, Height