diff --git a/README.md b/README.md index 3a5c6f9..4c46256 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,14 @@ Collection of useful scripts for keyboard remappings and mouse operation without ``` Ahk2Exe.exe /in mausuHoldo.ahk /out MouseOnKeyboard.exe ``` + +## False positive + +Windows Defender flags this script as malicious on some devices. Dealing with that would require submitting a single, compile executable for MicroSoft to manually review and approve, and I'm not interested in dealing with all that. # Use on administrator-owned windows -These scripts, as they stand, require elevated privileges to work within privileged windows when UAC is active due to system restrictions. Adding and testing the code required to circumvent this limitation not only would make the scripts even more unwieldy, but also woulnd't overcome all the restrictions imposed by UAC. As such, it is recommended to run these scripts as adminsitrator. A batch file is included alongside releases to facilitate this, and can be added to a programmed task so that it is done automatically on log in. +These scripts, as they stand, require elevated privileges to work within privileged windows when UAC is active due to system restrictions. Adding and testing the code required to circumvent this limitation not only would make the scripts even more unwieldy, but also woulnd't overcome all the restrictions imposed by UAC. As such, it is recommended to run these scripts as adminsitrator. A batch file is included alongside releases to facilitate this, which can be added to a scheduled task so that it is done automatically on log in. # Bonus diff --git a/runscript.bat b/runscript.bat index f2594a8..d4c984a 100644 --- a/runscript.bat +++ b/runscript.bat @@ -1,2 +1,4 @@ -START /B /D "." MouseOnKeyboard.exe -START /B "." KeyboardRemappings.exe +@pushd %~dp0 +START /B MouseOnKeyboard.exe +START /B KeyboardRemappings.exe +@popd \ No newline at end of file