Allright, one more note. Just for reference, my final EG python script looks like this:
Code: Select all
from ctypes import *
retval = c_int()
windll.user32.SystemParametersInfoA(112, 0, byref(retval), 0)
if retval.value < 11:
retval.value = 20
else:
retval.value = 10
windll.user32.SystemParametersInfoA(113, 0, retval.value, 0)
print 'Mouse speed is '+str(retval.value)
This script changes mouse speed (sensitivity) to a lower value. When it gets invoked next time, it changes the speed to the maximum. It actually toggles the mouse cursor speed between max and mid values. Thanks to Jinxdone for showing me how to do this.. it is my 1st ever programming in Python!