Jump to content

Recommended Posts

Posted

Hi all, we have a couple of students who are having difficulty using the mice around the school due to sensitivity.

 

I have found a program that changes the sensitivity if you press a combination of buttons

 

Win+F1 = Normal Sensitivity

Win+F2 = Slow Sensitivity

Win+F3 = Fast Sensitivity

 

but the problem is when they come to log off this sensitivity will stay and not reset back to normal, this is what i have came up with so far...

 

LOGON.BAT = START \\dc1\NETLOGON\mouse_sensitivity\mouse_sensitivity.exe

 

LOGOFF.BAT = taskkill /IM mouse_sensitivity.exe

 

i need something that will press the two buttons in a script for both logon and logoff

Posted

In the mouse_sensitivity.exe program it has these written in it

Win+F1 ::DllCall("SystemParametersInfo", Int,113, Int,0, UInt,14, Int,2) ;normal sensitivity

Win+F2 ::DllCall("SystemParametersInfo", Int,113, Int,0, UInt,1, Int,2) ;slow sensitivity

Win+F3 ::DllCall("SystemParametersInfo", Int,113, Int,0, UInt,20, Int,2) ;fast sensitivity

 

How would you write these in a script and what type of script would it be?.... I tried using batch files but couldn't get it to perform.

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...