Simulating a titlebar click Topic is solved

Get help with using AutoHotkey and its commands and hotkeys
Posts: 4
Joined: 12 Jul 2020, 13:32

Simulating a titlebar click

06 Oct 2020, 10:28

Hi all,

I use this script to easily move windows around my screen without clicking on the title bar. However, I also use software to split my screens into smaller parts. So if I move a window (by clicking and dragging the title bar) while holding shift, I can snap it into a dedicated place on one of my screens. I use dell software for this, but it works exactly the same as the powertools function.

This functionality unfortunately doesn't work with the easy window drag script. As I use windows without a title bar quite often, It's not as easy to snap these windows into place. I was hoping that it would be possible to simulate this 'click the titlebar and drag' without actually clicking the title bar.

I found this thread:
However, adding

Code: Select all

PostMessage, 0xA1, 2,,, A
to the easy window drag script doesn't work for me. Does anyone have an idea (if this is even possible)?

Posts: 4
Joined: 12 Jul 2020, 13:32

Re: Simulating a titlebar click

07 Oct 2020, 02:34

Thanks SKAN, this works!

Return to “Ask For Help”

Who is online

Users browsing this forum: Google [Bot], TAC109, takenbythedesert and 48 guests