Skip to content

Commit 94f4700

Browse files
kleshPerlence
authored andcommitted
Add MonitorWorkArea support for SysGet command
1 parent 17ecfbc commit 94f4700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ahkpy/Lib/Commands.ahk

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ _Suspend(Mode="") {
475475

476476
_SysGet(Subcommand,Param2="") {
477477
SysGet v, %Subcommand%, %Param2%
478-
if (Subcommand == "Monitor") {
478+
if (Subcommand == "Monitor" or Subcommand == "MonitorWorkArea") {
479479
return {Left: vLeft, Top: vTop, Right: vRight, Bottom: vBottom}
480480
} else if (Subcommand == "MonitorName") {
481481
return v

0 commit comments

Comments
 (0)