I'm totally new to AutoHotKey, tried the google and forum search, but nothing helps.
Situation:
3 monitors - 2 of them brought together via nVidia sourround
What I want to do:
I have a window on 2nd screen (resolution 3840x1080)
When executing my script(see below) it does nearly what I want. Borderless fullscreen, but on screen 1(main screen) instead of using the screen where the window was.
The script isn't done by myself, I just copied it from this forum and hoped it will work as is.
The Send command was my last try, but doesn't work either.
Code: Select all
WinGet, orig_%winId%_wasMaximized, MinMax
WinGetPos, orig_%winId%_x, orig_%winId%_y, orig_%winId%_width, orig_%winId%_height ; store the old bounds
Send, {LWin Down}{LShift Down}{Right}{LShift Up}{LWin Up}
WinSet, Style, -0x00C40000
;WinMove, , , 0, 0, A_ScreenWidth, A_ScreenHeight
WinMove, , , 0, 0, 3840, 1080