@echo off

:loop

rem Setze Mausempfindlichkeit auf 1

powershell -Command "Add-Type -TypeDefinition '[DllImport(\"user32.dll\")] public static extern bool SystemParametersInfo(int action, int param, IntPtr vparam, int init);' -Name MouseTools -Namespace WinAPI; [WinAPI.MouseTools]::SystemParametersInfo(113, 0, [IntPtr]1, 0)"

timeout /t 1 /nobreak >nul

rem Setze Mausempfindlichkeit auf 20

powershell -Command "Add-Type -TypeDefinition '[DllImport(\"user32.dll\")] public static extern bool SystemParametersInfo(int action, int param, IntPtr vparam, int init);' -Name MouseTools -Namespace WinAPI; [WinAPI.MouseTools]::SystemParametersInfo(113, 0, [IntPtr]20, 0)"

timeout /t 1 /nobreak >nul

goto loop

...zur Antwort