Sign in to follow this  
Followers 0
jaehyunb

resolution/colour/refreshrate

3 posts in this topic

how do i do

MsgBox, 0, AutoIt, the computer is using resolution = ,colour = , refreshrate =

Share this post


Link to post
Share on other sites



You can get that details from the registry (regedit). If you don't know where to go - check for the key phrases which you select if you've to change that settings manually.

AutoIt 2 should provide a command for it (but I can't remember it :huh2: )

AutoHotkey provides some commands for it RegDelete/RegRead/RegWrite :)

AutoIt 3 will provide command(s) for it (please check its help :D )

Share this post


Link to post
Share on other sites

RegRead, refreshrate, HKEY_LOCAL_MACHINE, SYSTEM\ControlSet001\Hardware Profiles\0000\System\ControlSet001\Services\ati2mtag\Device0, DefaultSettings.VRefresh

RegRead, X, HKEY_LOCAL_MACHINE, SYSTEM\ControlSet001\Hardware Profiles\0000\System\ControlSet001\Services\ati2mtag\Device0, DefaultSettings.XResolution

RegRead, Y, HKEY_LOCAL_MACHINE, SYSTEM\ControlSet001\Hardware Profiles\0000\System\ControlSet001\Services\ati2mtag\Device0, DefaultSettings.YResolution

MsgBox, 0, AutoHotkey, the computer is using resolution = %X% x %Y%`,colour = ?`,refreshrate = %refreshrate%

-----

That's AHK code! Check AutoIt 2's help if it's backward compatible (which should be the case for ~ 90% of AHK's commands) :)

Note ! That above reg settings are for an IBM T40. :D

Your's could be different !!! :huh2:

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0