Issue with setting fullscreen on the correct monitor

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
RamonaT
Posts: 2
Joined: 30 Nov 2016, 15:30

Issue with setting fullscreen on the correct monitor

30 Nov 2016, 15:33

Hi,
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
Many thanks.
RamonaT
Posts: 2
Joined: 30 Nov 2016, 15:30

Re: Issue with setting fullscreen on the correct monitor

01 Dec 2016, 12:32

fischgeek wrote:Does WinMaximze not work?
unfortunately this maximizes the window only on the monitor where the window is. :(
any idea?

many thanks.

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: OrangeCat and 286 guests