jaehyunb Posted June 24, 2004 Share Posted June 24, 2004 how do i do MsgBox, 0, AutoIt, the computer is using resolution = ,colour = , refreshrate = Link to comment Share on other sites More sharing options...
Beastmaster Posted June 24, 2004 Share Posted June 24, 2004 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 )AutoHotkey provides some commands for it RegDelete/RegRead/RegWrite AutoIt 3 will provide command(s) for it (please check its help ) Link to comment Share on other sites More sharing options...
Beastmaster Posted June 25, 2004 Share Posted June 25, 2004 RegRead, refreshrate, HKEY_LOCAL_MACHINE, SYSTEM\ControlSet001\Hardware Profiles\0000\System\ControlSet001\Services\ati2mtag\Device0, DefaultSettings.VRefreshRegRead, X, HKEY_LOCAL_MACHINE, SYSTEM\ControlSet001\Hardware Profiles\0000\System\ControlSet001\Services\ati2mtag\Device0, DefaultSettings.XResolutionRegRead, Y, HKEY_LOCAL_MACHINE, SYSTEM\ControlSet001\Hardware Profiles\0000\System\ControlSet001\Services\ati2mtag\Device0, DefaultSettings.YResolutionMsgBox, 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. Your's could be different !!! Link to comment Share on other sites More sharing options...
Recommended Posts