Configs/Windows/Scripts/RemoteSessionDesktopTweaks.ahk
2023-12-12 18:06:52 +01:00

5 lines
238 B
AutoHotkey
Executable File

#Requires AutoHotkey v2.0
ScreenWidth := SysGet(78)
IsCompactDevice := (ScreenWidth < 640)
Run(A_ScriptDir . "\ArgSetTabletMode.ahk " . IsCompactDevice)
Run(A_ScriptDir . "\ArgMoveTaskbar.ahk " . (IsCompactDevice ? "Left" : "Bottom"))