mvkruto.blogg.se

Invisible windows windows 10
Invisible windows windows 10













invisible windows windows 10

WinGetPos, aeroX, aeroY, aeroWidth, aeroHeight, A get active window x,y,W,H WinWait, ahk_id %lParam%,, 2 wait for 2 secs for the window to get ready (otherwise it may not be ready for WinGetPos or WinGetTitle) If ( wParam = 1 ) wParam 1: HSHELL_WINDOWCREATED Global aeroTaskBarHeight := aeroTaskBarHeight-aeroWin10margin Taskbar also has the same invisible margin in Win10 Global aeroWin10margin := 10 In Windows 7 and 8 put here 0! In Win10 there is an invisible border margin (and margin's size depends on settings, a typical value is 10 or maybe more seldomly 15)! WinGetPos, aeroTaskBarHeight, ahk_class Shell_TrayWnd Interface sizes (change that margin to whatever your invisible margin is!) MsgNum := DllCall( "RegisterWindowMessage", Str,"SHELLHOOK" ) Code: Select all ShellMessage code to be put to the auto-exec partĭllCall( "RegisterShellHookWindow", UInt,hWnd )















Invisible windows windows 10