neo van matix Posted September 18, 2006 Posted September 18, 2006 Heyho, i've a lil problem... On Home, i'm working on my notebook with a razer diamondback-mouse. If i'm on work, i MUST use a logitech mouse, which has a very high sensitivity. And to switch every time between the settings is very... lame How can i adjust the sensitivity with autoit ? Mod. a Regkey or something else? Attention! English noob ^^
lod3n Posted September 18, 2006 Posted September 18, 2006 So far as I know, it's not controled via a registry key, only by the main.cpl control panel. But, you can automate that. Try this:setMouseSense(10) func setMouseSense($amount = 5) ; valid settings are 0 to 10 $amount = int($amount) if $amount > 10 then $amount = 10 run("rundll32.exe shell32.dll,Control_RunDLL main.cpl,@0,2",@SystemDir,@SW_HIDE) winwait("Mouse Properties") ControlSend("Mouse Properties","","msctls_trackbar321","{HOME}") if $amount > 0 then ControlSend("Mouse Properties","","msctls_trackbar321","{RIGHT "&$amount&"}") EndIf ControlSend("Mouse Properties","","msctls_trackbar321","{ENTER}") EndFuncIt's not slick or transparent, but perhaps it will serve your stated needs. [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]
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