How to move Mouse pointer automatically to OK button
onOctober 31, 2010
If you use Windows graphical user interface extensively then this could be a useful tip to you. If you always deal with different windows in your Windows application you might be pressing OK, Cancel or Apply buttons lot of times. You have to move mouse cursor close to the buttons in these windows. You can avoid this by configuring your mouse settings to point to OK button whenever you open a new Window. Let’s see how we can do this.
Open Run Window.
Execute Main.cpl and open Mouse Properties window.
Select Pointer Options tab
Select the check button ‘Automatically move pointer to the default button in a dialog box‘
Click on Apply and close the window.
This behavior is controlled by the registry key SnapToDefaultButton which can be found in the node HKEY_CURRENT_USERControl PanelMouse. Setting the data in this registry key to 1 will enable the mouse to move to default button and setting it to 0 will disable the same. Note that the change in the registry key will not change the behavior immediately reason being the old registry value would still be in cache. Logging off and logging in will bring the changes into effect.