How can I maximize a window across multiple monitors?

前端 未结 3 644
长情又很酷
长情又很酷 2021-02-02 14:39

Using AutoHotkey, How can I bind a hotkey to stretch/maximize/span a window across multiple monitors so that it covers both displays?

Right now, I have to do this by man

3条回答
  •  粉色の甜心
    2021-02-02 15:20

    Here's how I did it, mapping the Shift + Windows + Up combination to maximize a window across all displays. This compliments Windows 7's Windows + Up hotkey, which maximizes the selected window.

    +#Up::
        WinGetActiveTitle, Title
        WinRestore, %Title%
       SysGet, X1, 76
       SysGet, Y1, 77
       SysGet, Width, 78
       SysGet, Height, 79
       WinMove, %Title%,, X1, Y1, Width, Height
    return
    

提交回复
热议问题