Mouse gestures to supermaximize, resize and move active wind

Suggestions, feature requests and bug reports.
Posts: 3
Joined: Wed Dec 07, 2016 8:58 am

Mouse gestures to supermaximize, resize and move active wind

PostPosted by salvarori » Wed Dec 07, 2016 9:19 am

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.

User avatar
Posts: 89
Joined: Tue Nov 24, 2015 11:39 pm

Re: Mouse gestures to supermaximize, resize and move active

PostPosted by Tom » Wed Dec 07, 2016 8:17 pm

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
Code: Select all
#{Right}

You can prepare other gestures in similar way.

Posts: 3
Joined: Wed Dec 07, 2016 8:58 am

Re: Mouse gestures to supermaximize, resize and move active

PostPosted by salvarori » Fri Dec 09, 2016 8:57 am

Hi Tom,
thanks for your help. What is the command to send to supermaximize a window to fill the two screens?.

User avatar
Posts: 89
Joined: Tue Nov 24, 2015 11:39 pm

Re: Mouse gestures to supermaximize, resize and move active

PostPosted by Tom » Sat Dec 10, 2016 7:12 pm

Could you try the code below? It should expand an active window.

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

Posts: 3
Joined: Wed Dec 07, 2016 8:58 am

Re: Mouse gestures to supermaximize, resize and move active

PostPosted by salvarori » Mon Dec 12, 2016 8:13 am

Many thanks Tom, it works fine.

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests