Here is the monitor.
Code: Select all
For objItem in ComObjGet("winmgmts:").ExecQuery("SELECT * FROM Win32_DisplayConfiguration")
monitor := Trim(objItem["DeviceName"])
MsgBox, 64, Monitor, %monitor%
Code: Select all
For objItem in ComObjGet("winmgmts:").ExecQuery("SELECT * FROM Win32_DisplayConfiguration")
monitor := Trim(objItem["DeviceName"])
MsgBox, 64, Monitor, %monitor%
Code: Select all
DPI := A_ScreenDPI
if (%DPI% = %192%)
{
msgbox, The screen Dpi is 192
}
Code: Select all
DPI := A_ScreenDPI
if (%DPI% = %11111%)
{
msgbox, The screen Dpi is 192
}
Code: Select all
if (DPI = 192)