Jump to content

Recommended Posts

Posted (edited)

This code was working and now has suddenly stopped.

If ControlCommand ( "(Default Monitor)", "&Enable Write combining", "Button2", "IsChecked","") Then
    ControlCommand ("(Default Monitor)", "&Enable Write combining", "Button2", "Uncheck","")
    EndIf

Really simple all it does is disable the Write Combining under the troubleshooting tab of the advanced display properties.

But now it has stopped working, not sure why, but from what I can tell, the script can no longer properly detect when that box is checked. Here's how I can tell

$var0 = ControlCommand ( "(Default Monitor)", "&Enable Write combining", "Button2", "IsChecked","")
MsgBox (1, "", "The variable is" & @CRLF & $var0)

This output always returns 0, saying that it's unchecked, even when it's checked (Tested right after a reboot too)

Any idea what might cause this to happen? Or how to fix it? Thanks!

Update:

Blah I figured it out. -.-

Edited by kalzanth

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...