Configs/Windows/Scripts/RemoteSessionDesktopTweaks.ahk

5 lines
238 B
AutoHotkey
Raw Permalink Normal View History

2023-11-10 13:01:09 +01:00
#Requires AutoHotkey v2.0
ScreenWidth := SysGet(78)
IsCompactDevice := (ScreenWidth < 640)
Run(A_ScriptDir . "\ArgSetTabletMode.ahk " . IsCompactDevice)
Run(A_ScriptDir . "\ArgMoveTaskbar.ahk " . (IsCompactDevice ? "Left" : "Bottom"))