复制代码
- @echo off
- Set Var_1=%1
- Set Var_1=%Var_1:~-1%
- if "%Var_1%"=="i" Goto :Mouse_Installs
- if exist Mouse.exe (
- if "%Var_1%"=="v" Goto :Mouse_Var
- if "%Var_1%"=="f" Goto :Mouse_File
- if "%Var_1%"=="h" Goto :Mouse_Help
- )
- echo.
- echo.命令语法不正确。
- @Exit /b
- :Mouse_Help
- echo.在批处理文件或命令行窗口中进行鼠标操作。
- echo.
- echo.Mouse_Key.bat [-I] [-V] [-F] [-H]
- echo.
- echo.-I 下载Mouse.exe以初始化,并加载鼠标驱动。
- echo.
- echo.-V 将鼠标的驱动信息储存到变量中。
- echo. 以下例子可能有帮助:
- echo.
- echo. Mouse_Key.bat -V "[File]" "[Var_1]" "[Var_2]" "[Var_3]"
- echo.
- echo. File 将鼠标驱动信息储存在此文件里,在程序成功运行之后将其删除。
- echo. Var_1 将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
- echo. Var_2 将鼠标单击的行的信息储存在此变量里。
- echo. Var_3 将鼠标单击的列的信息储存在此变量里。
- echo.
- echo. 注意:
- echo. 1. 您的这三个变量以及文件名必须用引号括起来。
- echo. 2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
- echo.
- echo.-F 将鼠标的驱动信息储存到文件中。
- echo. 以下例子可能有帮助:
- echo.
- echo. Mouse_Key.bat -F "[File_1]" "[File_2]" "[File_3]" "[File_4]"
- echo.
- echo. File_1 将鼠标驱动信息储存在此文件里。
- echo. File_2 将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
- echo. File_3 将鼠标单击的行的信息储存在此文件里。
- echo. File_4 将鼠标单击的列的信息储存在此文件里。
- echo.
- echo. 注意:
- echo. 1. 您的这四个文件名必须用引号括起来。
- echo. 2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
- echo.
- echo.-H 显示帮助信息。
- echo.
- @Exit /b
- :Mouse_File
- Rem Mouse_File [File_1] [File_2] [File_3] [File_4]
- Mouse > "%~2"
- set /p Mouse=0<"%~2"
- set "Mouse=%Mouse: =/%"
- echo.%Mouse% > "%~2"
- echo.%Mouse:~0,1% > "%~3"
- for /f "usebackq delims=/ tokens=2" %%i in ("%~2") do echo.%%i > "%~4"
- for /f "usebackq delims=/ tokens=3" %%i in ("%~2") do echo.%%i > "%~5"
- Set "Mouse="
- @Exit /b
- :Mouse_Var
- Rem Mouse_Var [File] [Var_1] [Var_2] [Var_3]
- Mouse > "%~2"
- set /p Mouse=0<"%~2"
- set "Mouse=%Mouse: =/%"
- echo.%Mouse% > "%~2"
- set %~3=%Mouse:~0,1%
- for /f "usebackq delims=/ tokens=2" %%i in ("%~2") do set %~4=%%i
- for /f "usebackq delims=/ tokens=3" %%i in ("%~2") do set %~5=%%i
- if exist "%~2" del "%~2"
- Set "Mouse="
- @Exit /b
- :Mouse_Installs
- (
- echo.-----BEGIN CERTIFICATE-----
- echo.TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- echo.AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
- echo.dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
- echo.AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
- echo.BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
- echo.AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- echo.AAAAAAAAAABcIAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAA
- echo.ABAAAA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APYgAAAAAAAACiEAABkhAAAqIQAA
- echo.OyEAAAAAAAC/IAAAyCAAANUgAADmIAAA9iAAAAAAAAAKIQAAGSEAACohAAA7IQAA
- echo.AAAAAG1zdmNydC5kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
- echo.X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
- echo.dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
- echo.ZENvbnNvbGVJbnB1dEEAAAAA
- echo.-----END CERTIFICATE-----
- ) > "Mouse.exe"
- if not exist "Mouse.exe" Call :Mouse_Installs
- Certutil -decode -f "Mouse.exe" "Mouse.exe" > nul
- if not exist "Mouse.exe" :Mouse_Installs
- @Exit /b
复制代码
- @echo off
- Set Var_1=%1
- Set Var_1=%Var_1:~-1%
- if /i "%Var_1%"=="i" Goto :Mouse_Installs
- if exist Mouse.exe (
- if /i "%Var_1%"=="v" Goto :Mouse_Var
- if /i "%Var_1%"=="f" Goto :Mouse_File
- )
- if /i "%Var_1%"=="h" Goto :Mouse_Help
- echo.
- echo.命令语法不正确。
- @Exit /b
- :Mouse_Help
- echo.在批处理文件或命令行窗口中进行鼠标操作。
- echo.
- echo.Mouse_Key.bat [-I] [-V] [-F] [-H]
- echo.
- echo.-I 下载Mouse.exe以初始化,并加载鼠标驱动。
- echo.
- echo.-V 将鼠标的驱动信息储存到变量中。
- echo. 以下例子可能有帮助:
- echo.
- echo. Mouse_Key.bat -V "[File]" "[Var_1]" "[Var_2]" "[Var_3]"
- echo.
- echo. File 将鼠标驱动信息储存在此文件里,在程序成功运行之后将其删除。
- echo. Var_1 将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
- echo. Var_2 将鼠标单击的行的信息储存在此变量里。
- echo. Var_3 将鼠标单击的列的信息储存在此变量里。
- echo.
- echo. 注意:
- echo. 1. 您的这三个变量以及文件名必须用引号括起来。
- echo. 2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
- echo.
- echo.-F 将鼠标的驱动信息储存到文件中。
- echo. 以下例子可能有帮助:
- echo.
- echo. Mouse_Key.bat -F "[File_1]" "[File_2]" "[File_3]" "[File_4]"
- echo.
- echo. File_1 将鼠标驱动信息储存在此文件里。
- echo. File_2 将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
- echo. File_3 将鼠标单击的行的信息储存在此文件里。
- echo. File_4 将鼠标单击的列的信息储存在此文件里。
- echo.
- echo. 注意:
- echo. 1. 您的这四个文件名必须用引号括起来。
- echo. 2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
- echo.
- echo.-H 显示帮助信息。
- echo.
- @Exit /b
- :Mouse_File
- Rem Mouse_File [File_1] [File_2] [File_3] [File_4]
- Mouse > "%~2"
- set /p Mouse=0<"%~2"
- set "Mouse=%Mouse: =/%"
- echo.%Mouse% > "%~2"
- echo.%Mouse:~0,1% > "%~3"
- for /f "usebackq delims=/ tokens=2" %%i in ("%~2") do echo.%%i > "%~4"
- for /f "usebackq delims=/ tokens=3" %%i in ("%~2") do echo.%%i > "%~5"
- Set "Mouse="
- @Exit /b
- :Mouse_Var
- Rem Mouse_Var [File] [Var_1] [Var_2] [Var_3]
- Mouse > "%~2"
- set /p Mouse=0<"%~2"
- set "Mouse=%Mouse: =/%"
- echo.%Mouse% > "%~2"
- set %~3=%Mouse:~0,1%
- for /f "usebackq delims=/ tokens=2" %%i in ("%~2") do set %~4=%%i
- for /f "usebackq delims=/ tokens=3" %%i in ("%~2") do set %~5=%%i
- if exist "%~2" del "%~2"
- Set "Mouse="
- @Exit /b
- :Mouse_Installs
- (
- echo.-----BEGIN CERTIFICATE-----
- echo.TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- echo.AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBT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F
- echo.+FCLRfxQ6JUAAADJwwAAAFWJ5YHsFAAAAJC4AAAAAIlF7LgAAAMAULgAAAEAUOh9
- echo.AAAAg8QIuAEAAABQ6HcAAACDxASNRexQuAAAAABQjUX0UI1F+FCNRfxQ6GEAAACD
- echo.xBSLRfRQi0X4UItF/FDoXf7//4PEDIlF8ItF8FDoRgAAAIPEBMnDAP8lXCBAAAAA
- echo./yV0IEAAAAD/JXggQAAAAP8lfCBAAAAA/yWAIEAAAAD/JWAgQAAAAP8lZCBAAAAA
- echo./yVoIEAAAAD/JWwgQAAAACVkICVkICVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- echo.iCAAAAAAAAAAAAAAtCAAAFwgAACgIAAAAAAAAAAAAAD9IAAAdCAAAAAAAAAAAAAA
- echo.AAAAAAAAAAAAAAAAvyAAAMggAADVIAAA5iAAAPYgAAAAAAAACiEAABkhAAAqIQAA
- echo.OyEAAAAAAAC/IAAAyCAAANUgAADmIAAA9iAAAAAAAAAKIQAAGSEAACohAAA7IQAA
- echo.AAAAAG1zdmNydC5kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
- echo.X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
- echo.dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
- echo.ZENvbnNvbGVJbnB1dEEAAAAA
- echo.-----END CERTIFICATE-----
- ) > "Mouse.exe"
- if not exist "Mouse.exe" Call :Mouse_Installs
- Certutil -decode -f "Mouse.exe" "Mouse.exe" > nul
- if not exist "Mouse.exe" :Mouse_Installs
- @Exit /b
复制代码
- if not exist "Mouse.exe" call :Mouse_Installs
复制代码
- @echo off
- Set Var_1=%1
- Set Var_1=%Var_1:~-1%
- if /i "%Var_1%"=="i" Goto :Mouse_Installs
- if exist Mouse.exe (
- if /i "%Var_1%"=="v" Goto :Mouse_Var
- if /i "%Var_1%"=="f" Goto :Mouse_File
- )
- if /i "%Var_1%"=="h" Goto :Mouse_Help
- echo(
- echo(命令语法不正确。
- @Exit /b
- :Mouse_Help
- echo(在批处理文件或命令行窗口中进行鼠标操作。
- echo(
- echo(Mouse_Key.bat [-I] [-V] [-F] [-H]
- echo(
- echo(-I 下载Mouse.exe以初始化,并加载鼠标驱动。
- echo(
- echo(-V 将鼠标的驱动信息储存到变量中。
- echo( 以下例子可能有帮助:
- echo(
- echo( Mouse_Key.bat -V "[File]" "[Var_1]" "[Var_2]" "[Var_3]"
- echo(
- echo( File 将鼠标驱动信息储存在此文件里,在程序成功运行之后将其删除。
- echo( Var_1 将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
- echo( Var_2 将鼠标单击的行的信息储存在此变量里。
- echo( Var_3 将鼠标单击的列的信息储存在此变量里。
- echo(
- echo( 注意:
- echo( 1. 您的这三个变量以及文件名必须用引号括起来。
- echo( 2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
- echo(
- echo(-F 将鼠标的驱动信息储存到文件中。
- echo( 以下例子可能有帮助:
- echo(
- echo( Mouse_Key.bat -F "[File_1]" "[File_2]" "[File_3]" "[File_4]"
- echo(
- echo( File_1 将鼠标驱动信息储存在此文件里。
- echo( File_2 将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
- echo( File_3 将鼠标单击的行的信息储存在此文件里。
- echo( File_4 将鼠标单击的列的信息储存在此文件里。
- echo(
- echo( 注意:
- echo( 1. 您的这四个文件名必须用引号括起来。
- echo( 2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
- echo(
- echo(-H 显示帮助信息。
- echo(
- @Exit /b
- :Mouse_File
- Rem Mouse_File [File_1] [File_2] [File_3] [File_4]
- Mouse > "%~2"
- set /p Mouse=0<"%~2"
- set "Mouse=%Mouse: =/%"
- echo(%Mouse% > "%~2"
- echo(%Mouse:~0,1% > "%~3"
- for /f "usebackq delims=/ tokens=2" %%i in ("%~2") do echo(%%i > "%~4"
- for /f "usebackq delims=/ tokens=3" %%i in ("%~2") do echo(%%i > "%~5"
- Set "Mouse="
- @Exit /b
- :Mouse_Var
- Rem Mouse_Var [File] [Var_1] [Var_2] [Var_3]
- Mouse > "%~2"
- set /p Mouse=0<"%~2"
- set "Mouse=%Mouse: =/%"
- echo(%Mouse% > "%~2"
- set %~3=%Mouse:~0,1%
- for /f "usebackq delims=/ tokens=2" %%i in ("%~2") do set %~4=%%i
- for /f "usebackq delims=/ tokens=3" %%i in ("%~2") do set %~5=%%i
- if exist "%~2" del "%~2"
- Set "Mouse="
- @Exit /b
- :Mouse_Installs
- (
- echo(-----BEGIN CERTIFICATE-----
- echo(TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- echo(AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
- echo(dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
- echo(AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
- echo(BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
- echo(AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- echo(AAAAAAAAAABcIAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAA
- echo(ABAAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAuZGF0YQAAAFABAAAAIAAA
- echo(UgEAAAAEAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAA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kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
- echo(X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
- echo(dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
- echo(ZENvbnNvbGVJbnB1dEEAAAAA
- echo(-----END CERTIFICATE-----
- ) > "Mouse.exe"
- if not exist "Mouse.exe" Call :Mouse_Installs
- Certutil -decode -f "Mouse.exe" "Mouse.exe" > nul
- if not exist "Mouse.exe" Call :Mouse_Installs
- @Exit /b
复制代码
- @Echo off
- For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
- If /i "%1"=="%%Ii" Goto :Mouse_Installs
- )
- If exist Mouse.exe (
- For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
- If /i "%1"=="%%Iv" Goto :Mouse_Var
- If /i "%1"=="%%If" Goto :Mouse_File
- )
- )
- For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
- If /i "%1"=="%%Ih" Goto :Mouse_Help
- )
- Echo(
- Echo(命令语法不正确。
- @Exit /b
- :Mouse_Help
- Echo(在批处理文件或命令行窗口中进行鼠标操作。
- Echo(
- Echo(Mouse_Key [-I] [-V] [-F] [-H]
- Echo(
- Echo(-I 安装Mouse.exe以初始化,并加载鼠标驱动。
- Echo(
- Echo(-V 将鼠标的驱动信息储存到变量中。
- Echo( 以下例子可能有帮助:
- Echo(
- Echo( Mouse_Key -V <Var_1> <Var_2> <Var_3>
- Echo(
- Echo( Var_1 将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
- Echo( Var_2 将鼠标单击的行的信息储存在此变量里。
- Echo( Var_3 将鼠标单击的列的信息储存在此变量里。
- Echo(
- Echo( 注意:
- Echo( 1. 您的这三个变量以及文件名必须用引号括起来。
- Echo(
- Echo(-F 将鼠标的驱动信息储存到文件中。
- Echo( 以下例子可能有帮助:
- Echo(
- Echo( Mouse_Key -F <File_1> <File_2> <File_3>
- Echo(
- Echo( File_1 将鼠标驱动信息储存在此文件里。
- Echo( File_2 将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
- Echo( File_3 将鼠标单击的行的信息储存在此文件里。
- Echo( File_4 将鼠标单击的列的信息储存在此文件里。
- Echo(
- Echo( 注意:
- Echo( 1. 您的这三个文件名必须用引号括起来。
- Echo(
- Echo(-H 显示帮助信息。
- Echo(
- @Exit /b
- :Mouse_File <File_1> <File_2> <File_3>
- For /F "usebackq tokens=1,2,3 delims= " %%I in (`Mouse`) Do (
- Echo.%%I > "%~1"
- Echo.%%J > "%~2"
- Echo.%%K > "%~3"
- )
- @Exit /b
- :Mouse_Var <Var_1> <Var_2> <Var_3>
- For /F "usebackq tokens=1,2,3 delims= " %%I in (`Mouse`) Do (
- Set "%~1=%%I"
- Set "%~2=%%J"
- Set "%~3=%%K"
- )
- @Exit /b
- :Mouse_Installs
- (
- Echo(-----BEGIN CERTIfICATE-----
- Echo(TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- Echo(AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
- Echo(dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
- Echo(AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
- Echo(BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
- Echo(AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- Echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- Echo(AAAAAAAA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AFwgAACgIAAAAAAAAAAAAAD9IAAAdCAAAAAAAAAAAAAA
- Echo(AAAAAAAAAAAAAAAAvyAAAMggAADVIAAA5iAAAPYgAAAAAAAACiEAABkhAAAqIQAA
- Echo(OyEAAAAAAAC/IAAAyCAAANUgAADmIAAA9iAAAAAAAAAKIQAAGSEAACohAAA7IQAA
- Echo(AAAAAG1zdmNydC5kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
- Echo(X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
- Echo(dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
- Echo(ZENvbnNvbGVJbnB1dEEAAAAA
- Echo(-----END CERTIfICATE-----
- ) > "Mouse.exe"
- If not exist "Mouse.exe" Call :Mouse_Installs
- Certutil -Decode -f "Mouse.exe" "Mouse.exe" > nul
- If not exist "Mouse.exe" Call :Mouse_Installs
- @Exit /b
复制代码
- @echo off
- (FOR /F "usebackq skip=5 delims=" %%i in (%0) do (@echo %%i))>"Mouse_Key.zip"
- certutil -decode -f "Mouse_Key.zip" "Mouse_Key.zip"
- start Mouse_Key.zip
- exit
- UEsDBBQAAAAIAAZUZlMdJ/wHkgYAAEcQAAANAAAATW91c2VfS2V5LmJhdK1X52/T
- QBT/TKX+D6cgJFCAjCaQsMR51ikNcYiTNICgiR3HNKPQpGlA8L8AAiFAYpUh9ihb
- gqgtU3xCiA8ghkAMscQ9O3bqpGxO8rh7v/d7v3vvfLaXs5lcCZWy2c4OrrQJzZol
- IK2IZs9DLrQGrUZr0Ra0Fa1H29BcNB8tRzPRYrQUOdG6OYgpodmdHTOELHJpyDHL
- 41i61EHcNQfiS+USWtRbqgwp64TiULk/nx/q7JjT2UGwyog2VEa6bb4yougUfxe4
- LfKwPXK8f9N0qKwdxWl5hcDmEH3/KwM5e4RuJT+os0OmZzcul75ceDnx6view6fu
- fL12fPvOz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Echo off
- For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
- If /i "%1"=="%%Ii" Goto :Mouse_Installs
- )
- If exist Mouse.exe (
- For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
- If /i "%1"=="%%Iv" Goto :Mouse_Var
- If /i "%1"=="%%If" Goto :Mouse_File
- )
- )
- For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
- If /i "%1"=="%%Ih" Goto :Mouse_Help
- )
- Echo(
- Echo(命令语法不正确。
- @Exit /b
- :Mouse_Help
- Echo(在批处理文件或命令行窗口中进行鼠标操作。
- Echo(
- Echo(Mouse_Key [-I] [-V] [-F] [-H]
- Echo(
- Echo(-I 安装Mouse.exe以初始化,并加载鼠标驱动。
- Echo(
- Echo(-V 将鼠标的驱动信息储存到变量中。
- Echo( 以下例子可能有帮助:
- Echo(
- Echo( Mouse_Key -V <Var_1> <Var_2> <Var_3>
- Echo(
- Echo( Var_1 将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
- Echo( Var_2 将鼠标单击的行的信息储存在此变量里。
- Echo( Var_3 将鼠标单击的列的信息储存在此变量里。
- Echo(
- Echo( 注意:
- Echo( 1. 您的这三个变量以及文件名必须用引号括起来。
- Echo(
- Echo(-F 将鼠标的驱动信息储存到文件中。
- Echo( 以下例子可能有帮助:
- Echo(
- Echo( Mouse_Key -F <File_1> <File_2> <File_3>
- Echo(
- Echo( File_1 将鼠标驱动信息储存在此文件里。
- Echo( File_2 将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
- Echo( File_3 将鼠标单击的行的信息储存在此文件里。
- Echo( File_4 将鼠标单击的列的信息储存在此文件里。
- Echo(
- Echo( 注意:
- Echo( 1. 您的这三个文件名必须用引号括起来。
- Echo(
- Echo(-H 显示帮助信息。
- Echo(
- @Exit /b
- :Mouse_File <File_1> <File_2> <File_3>
- For /F "usebackq tokens=1,2,3 delims= " %%I in (`Mouse`) Do (
- Echo.%%I > "%~2"
- Echo.%%J > "%~3"
- Echo.%%K > "%~4"
- )
- @Exit /b
- :Mouse_Var <Var_1> <Var_2> <Var_3>
- For /F "usebackq tokens=1,2,3 delims= " %%I in (`Mouse`) Do (
- Set "%~2=%%I"
- Set "%~3=%%J"
- Set "%~4=%%K"
- )
- @Exit /b
- :Mouse_Installs
- (
- Echo(-----BEGIN CERTIfICATE-----
- Echo(TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- Echo(AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
- Echo(dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
- Echo(AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
- Echo(BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
- Echo(AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- Echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- Echo(AAAAAAAAAABcIAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAA
- Echo(ABAAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAuZGF0YQAAAFABAAAAIAAA
- Echo(UgEAAAAEAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- Echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVieWB7AgAAACQjUX6UOgs
- Echo(AAAAg8QED79F/FAPv0X+UA++RfpQuAAgQABQ6IgBAACDxBC4AAAAAOkAAAAAycNV
- Echo(ieWB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xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
- Echo(ZENvbnNvbGVJbnB1dEEAAAAA
- Echo(-----END CERTIfICATE-----
- ) > "Mouse.exe"
- If not exist "Mouse.exe" Call :Mouse_Installs
- Certutil -Decode -f "Mouse.exe" "Mouse.exe" > nul
- If not exist "Mouse.exe" Call :Mouse_Installs
- @Exit /b
复制代码
- mouse > ReturnKey.ini
- set /p Mouse=<ReturnKey.ini
- rem Click是按键,Nr是行,Nl是列
- 棋盘第一格相对0,0坐标偏移了,3行,9列
- for /f "tokens=1,2,3" %%i in ("!Mouse!") do set/a Click=%%i, Nr=%%j-3, Nl=%%k-9
- rem 一个汉字2个字节位置,所以要处理一下
- set /a Nl_2=ni+2
- set /a Nl/=2
欢迎光临 批处理之家 (http://bathome.net./) | Powered by Discuz! 7.2 |