Macros:
@DesktopHeight - Returns Height of the primary display in pixels. (Vertical resolution)
@DesktopWidth - Returns Width of the primary display in pixels. (Horizontal resolution)
Example is provided below:
@DesktopHeight - Returns Height of the primary display in pixels. (Vertical resolution)
@DesktopWidth - Returns Width of the primary display in pixels. (Horizontal resolution)
Example is provided below:
#include <MsgBoxConstants.au3>
;Display Vertical and Horizontal resolutions
MsgBox($MB_SYSTEMMODAL, "Display Resolution", "Display Height(Vertical resolution): " & @DesktopHeight & @CRLF & _
"Display Width(Horizontal resolution): " & @DesktopWidth)
;Display Vertical and Horizontal resolutions
MsgBox($MB_SYSTEMMODAL, "Display Resolution", "Display Height(Vertical resolution): " & @DesktopHeight & @CRLF & _
"Display Width(Horizontal resolution): " & @DesktopWidth)
- AutoIt - Get Display Depth (Color quality)
- AutoIt - Get Display Refresh Rate
- AutoIt - Get IP Address
- AutoIt - Get CPU Architecture - x86 (32 Bit) Or x64 (64 Bit)
- AutoIt - Get OS Architecture - x86 (32 Bit) Or x64 (64 Bit)
- AutoIt - Get Operating System
- AutoIt - Get OS Service Pack
- AutoIt - Get Computer Name
- AutoIt - Get OS Language
- AutoIt - Get Keyboard Layout
- AutoIt - Get Multi Language Name
- AutoIt - Get currently logged on user name
Interesting? Share and Let Others Know.
Post a Comment