forever0donotknowme Posted April 5, 2012 Posted April 5, 2012 really i searched about script that read screen resulotion of desktop in help file bu i do not find any thing so i want help you
stormbreaker Posted April 5, 2012 Posted April 5, 2012 (edited) Try Searching the help file for System Info Macros : @DesktopHeight, @DesktopWidth, @DesktopDepth and @DesktopRefresh. I personally recommend to read the Help-File thoroughly.Regards Edited April 5, 2012 by MKISH ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
NiVZ Posted April 5, 2012 Posted April 5, 2012 For multiple displays you might also want to try: If Not IsDeclared("SM_VIRTUALWIDTH") Then Global Const $SM_VIRTUALWIDTH = 78 If Not IsDeclared("SM_VIRTUALHEIGHT") Then Global Const $SM_VIRTUALHEIGHT = 79 $VirtualDesktopWidth = DLLCall("user32.dll", "int", "GetSystemMetrics", "int", $SM_VIRTUALWIDTH) $VirtualDesktopWidth = $VirtualDesktopWidth[0] $VirtualDesktopHeight = DLLCall("user32.dll", "int", "GetSystemMetrics", "int", $SM_VIRTUALHEIGHT) $VirtualDesktopHeight = $VirtualDesktopHeight[0] NiVZ
errorminded Posted April 5, 2012 Posted April 5, 2012 M a new user and i want to learn about Autoit , thanks for sharing ,
MilesAhead Posted April 5, 2012 Posted April 5, 2012 (edited) Also see _WinAPI_SystemParametersInfo()get work area returns the desktop area accounting for Taskbar. By looking at the returned numbers you can tell if the Taskbar is on top bottom left or right of the desktop. But taskbar is tricky. Work area is ignored unless the taskbar is set to stay on top or at least AutoHide is disabled. It's good to avoid setting Left and Top to 0 when the Taskbar is on the top of the screen. Users get annoyed when the caption bar is hidden underneath the Taskbar. Edited April 5, 2012 by MilesAhead My Freeware Page
Chimaera Posted April 6, 2012 Posted April 6, 2012 If you just want the resolution you could try this If Ive just helped you ... miracles do happen. Chimaera CopyRobo() * Hidden Admin Account Enabler * Software Location From Registry * Find Display Resolution * _ChangeServices()
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now