bwestlake Posted January 12, 2012 Posted January 12, 2012 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
andy_b Posted January 12, 2012 Posted January 12, 2012 If its the Autohotkey script from here: How To Set Different Speeds for Your Trackpad and External Mouse - How-To Geek, you could compile a script that just has the line to reset the mouse sensitivity back to normal. i.e. a script just containing: DllCall("SystemParametersInfo", Int,113, Int,0, UInt,14, Int,2) ;normal sensisivity and run that at log off.
bwestlake Posted January 12, 2012 Author Posted January 12, 2012 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now