Last active
July 11, 2024 01:13
-
-
Save acarapetis/f9e39dcf503b5041af1132cb24f4a73d to your computer and use it in GitHub Desktop.
Span VNC viewer across two monitors with AutoHotkey
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if WinExist("ahk_class VNCviewer") | |
; Remove titlebar: | |
WinSet, Style, -0xC40000, ahk_exe vncviewer.exe | |
; This assumes two 1920x1200 monitors side by side, the leftmost | |
; of which is the primary monitor (so that 0,0 is its top left corner): | |
WinMove, , , 0, 0, 3840, 1200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment