precision pointer

Scriptlet - Precision Pointer

This scriptlet slows down (reduces to sensitivity) your cursor when you hold down the capslock button which gives you greater precision.

Paste the following into your autohotkey script: Plain view

  1. ~capslock::
  2. preciseSensitivity := 2
  3. RegRead, mouse_sensitivity_status, HKEY_CURRENT_USER, Control Panel\Mouse, MouseSensitivity
  4. Return
  5. ~capslock up::
  6. DllCall("SystemParametersInfo", Int,113, Int,0, UInt,mouse_sensitivity_status, Int,2)
  7. Return
~capslock::
preciseSensitivity := 2
RegRead, mouse_sensitivity_status, HKEY_CURRENT_USER, Control Panel\Mouse, MouseSensitivity
Return

~capslock up::
DllCall("SystemParametersInfo", Int,113, Int,0, UInt,mouse_sensitivity_status, Int,2)
Return
You can also change the value of "preciseSensitivity" in order to increase or decrease the sensitivity when the precision mode is on.

Featured: lifehacker.com
Copyright © Joshua P Bambrick 2017. All Rights Reserved.