WinMove not working on maximized Windows

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
domsch1988

WinMove not working on maximized Windows

26 Sep 2017, 06:18

Hello everyone,

for the first time i'm facing an issue with autohotkey i can't solve myself.

The Code:

Code: Select all

PgUp::
	WinActivate, ahk_exe vivaldi.exe
	WinMove, A, ,960,0,960,1080
	WinActivate, ahk_exe Nagios XI.exe
	WinMove, A, ,-7,0,974,1087
Return
This is working fine with floating windows, but as soon as they are maximized, this doesn't work anymore. Am I doing something wrong here?
I tried this compiled and as Administrator too.
domsch1988
Posts: 2
Joined: 27 Sep 2017, 04:33

Re: WinMove not working on maximized Windows

27 Sep 2017, 04:51

So, i registered, since I'll probably have more questions anyways.

I tried various things with manipulating the window before WinMove, but without success so far.
I have no clue why this isn't working.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: scriptor2016 and 329 guests