Board logo

标题: [其他] [来自Dostips][改进]鼠标第三方及处理工具 [打印本页]

作者: HOPE2021    时间: 2021-8-16 19:14     标题: [来自Dostips][改进]鼠标第三方及处理工具

本帖最后由 HOPE2021 于 2021-11-6 11:07 编辑

Mouse.exe官网下载:http://www.mediafire.com/file/96p9tqu4d500fli/bin.zip
直接下载:http://download1583.mediafire.com/pbfkrfaqggbg/96p9tqu4d500fli/bin.zip
处理工具:请将下面代码另存为Mouse_Key.bat,键入Mouse_Key.bat -h查看帮助。
代码似乎有Bug,亟待改进
  1. @echo off
  2. Set Var_1=%1
  3. Set Var_1=%Var_1:~-1%
  4. if "%Var_1%"=="i" Goto :Mouse_Installs
  5. if exist Mouse.exe (
  6. if "%Var_1%"=="v" Goto :Mouse_Var
  7. if "%Var_1%"=="f" Goto :Mouse_File
  8. if "%Var_1%"=="h" Goto :Mouse_Help
  9. )
  10. echo.
  11. echo.命令语法不正确。
  12. @Exit /b
  13. :Mouse_Help
  14. echo.在批处理文件或命令行窗口中进行鼠标操作。
  15. echo.
  16. echo.Mouse_Key.bat [-I] [-V] [-F] [-H]
  17. echo.
  18. echo.-I    下载Mouse.exe以初始化,并加载鼠标驱动。
  19. echo.
  20. echo.-V    将鼠标的驱动信息储存到变量中。
  21. echo.      以下例子可能有帮助:
  22. echo.
  23. echo.      Mouse_Key.bat -V "[File]" "[Var_1]" "[Var_2]" "[Var_3]"
  24. echo.
  25. echo.      File    将鼠标驱动信息储存在此文件里,在程序成功运行之后将其删除。
  26. echo.      Var_1   将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
  27. echo.      Var_2   将鼠标单击的行的信息储存在此变量里。
  28. echo.      Var_3   将鼠标单击的列的信息储存在此变量里。
  29. echo.
  30. echo.      注意:
  31. echo.      1. 您的这三个变量以及文件名必须用引号括起来。
  32. echo.      2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
  33. echo.
  34. echo.-F    将鼠标的驱动信息储存到文件中。
  35. echo.      以下例子可能有帮助:
  36. echo.
  37. echo.      Mouse_Key.bat -F "[File_1]" "[File_2]" "[File_3]" "[File_4]"
  38. echo.
  39. echo.      File_1  将鼠标驱动信息储存在此文件里。
  40. echo.      File_2  将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
  41. echo.      File_3  将鼠标单击的行的信息储存在此文件里。
  42. echo.      File_4  将鼠标单击的列的信息储存在此文件里。
  43. echo.
  44. echo.      注意:
  45. echo.      1. 您的这四个文件名必须用引号括起来。
  46. echo.      2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
  47. echo.
  48. echo.-H    显示帮助信息。
  49. echo.
  50. @Exit /b
  51. :Mouse_File
  52. Rem Mouse_File [File_1] [File_2] [File_3] [File_4]
  53. Mouse > "%~2"
  54. set /p Mouse=0<"%~2"
  55. set "Mouse=%Mouse: =/%"
  56. echo.%Mouse% > "%~2"
  57. echo.%Mouse:~0,1% > "%~3"
  58. for /f  "usebackq delims=/ tokens=2" %%i in ("%~2") do echo.%%i > "%~4"
  59. for /f  "usebackq delims=/ tokens=3" %%i in ("%~2") do echo.%%i > "%~5"
  60. Set "Mouse="
  61. @Exit /b
  62. :Mouse_Var
  63. Rem Mouse_Var [File] [Var_1] [Var_2] [Var_3]
  64. Mouse > "%~2"
  65. set /p Mouse=0<"%~2"
  66. set "Mouse=%Mouse: =/%"
  67. echo.%Mouse% > "%~2"
  68. set %~3=%Mouse:~0,1%
  69. for /f  "usebackq delims=/ tokens=2" %%i in ("%~2") do set %~4=%%i
  70. for /f  "usebackq delims=/ tokens=3" %%i in ("%~2") do set %~5=%%i
  71. if exist "%~2" del "%~2"
  72. Set "Mouse="
  73. @Exit /b
  74. :Mouse_Installs
  75. (
  76. echo.-----BEGIN CERTIFICATE-----
  77. echo.TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  78. echo.AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
  79. echo.dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
  80. echo.AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
  81. echo.BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
  82. echo.AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  83. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  84. echo.AAAAAAAAAABcIAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAA
  85. echo.ABAAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAuZGF0YQAAAFABAAAAIAAA
  86. echo.UgEAAAAEAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  87. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVieWB7AgAAACQjUX6UOgs
  88. echo.AAAAg8QED79F/FAPv0X+UA++RfpQuAAgQABQ6IgBAACDxBC4AAAAAOkAAAAAycNV
  89. echo.ieWB7CQAAACQuPb///9Q6GwBAACJRfy4AAAAAIlF3I1F+FCLRfxQ6FwBAACLRfiD
  90. echo.yBCD4L+D4N9Qi0X8UOhOAQAAi0XchcAPhAUAAADpnAAAAI1F9FC4AQAAAFCNReBQ
  91. echo.i0X8UOgvAQAAD7dF4IP4Ag+FcwAAAItF6IP4AbgAAAAAD5TAiUXchcAPhA8AAACL
  92. echo.RQi5AQAAAIgI6SMAAACLReiD+AK4AAAAAA+UwIlF3IXAD4QKAAAAi0UIuQIAAACI
  93. echo.CItF3IXAD4QdAAAAi0UIg8ACD79N5GaJCItFCIPAAoPAAg+/TeZmiQjpVP///4tF
  94. echo.+FCLRfxQ6JUAAADJwwAAAFWJ5YHsFAAAAJC4AAAAAIlF7LgAAAMAULgAAAEAUOh9
  95. echo.AAAAg8QIuAEAAABQ6HcAAACDxASNRexQuAAAAABQjUX0UI1F+FCNRfxQ6GEAAACD
  96. echo.xBSLRfRQi0X4UItF/FDoXf7//4PEDIlF8ItF8FDoRgAAAIPEBMnDAP8lXCBAAAAA
  97. echo./yV0IEAAAAD/JXggQAAAAP8lfCBAAAAA/yWAIEAAAAD/JWAgQAAAAP8lZCBAAAAA
  98. echo./yVoIEAAAAD/JWwgQAAAACVkICVkICVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  99. echo.iCAAAAAAAAAAAAAAtCAAAFwgAACgIAAAAAAAAAAAAAD9IAAAdCAAAAAAAAAAAAAA
  100. echo.AAAAAAAAAAAAAAAAvyAAAMggAADVIAAA5iAAAPYgAAAAAAAACiEAABkhAAAqIQAA
  101. echo.OyEAAAAAAAC/IAAAyCAAANUgAADmIAAA9iAAAAAAAAAKIQAAGSEAACohAAA7IQAA
  102. echo.AAAAAG1zdmNydC5kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
  103. echo.X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
  104. echo.dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
  105. echo.ZENvbnNvbGVJbnB1dEEAAAAA
  106. echo.-----END CERTIFICATE-----
  107. ) > "Mouse.exe"
  108. if not exist "Mouse.exe" Call :Mouse_Installs
  109. Certutil -decode -f "Mouse.exe" "Mouse.exe" > nul
  110. if not exist "Mouse.exe" :Mouse_Installs
  111. @Exit /b
复制代码

作者: HOPE2021    时间: 2021-8-17 14:01

回复 1# HOPE2021
2.0版本
  1. @echo off
  2. Set Var_1=%1
  3. Set Var_1=%Var_1:~-1%
  4. if /i "%Var_1%"=="i" Goto :Mouse_Installs
  5. if exist Mouse.exe (
  6. if /i "%Var_1%"=="v" Goto :Mouse_Var
  7. if /i "%Var_1%"=="f" Goto :Mouse_File
  8. )
  9. if /i "%Var_1%"=="h" Goto :Mouse_Help
  10. echo.
  11. echo.命令语法不正确。
  12. @Exit /b
  13. :Mouse_Help
  14. echo.在批处理文件或命令行窗口中进行鼠标操作。
  15. echo.
  16. echo.Mouse_Key.bat [-I] [-V] [-F] [-H]
  17. echo.
  18. echo.-I    下载Mouse.exe以初始化,并加载鼠标驱动。
  19. echo.
  20. echo.-V    将鼠标的驱动信息储存到变量中。
  21. echo.      以下例子可能有帮助:
  22. echo.
  23. echo.      Mouse_Key.bat -V "[File]" "[Var_1]" "[Var_2]" "[Var_3]"
  24. echo.
  25. echo.      File    将鼠标驱动信息储存在此文件里,在程序成功运行之后将其删除。
  26. echo.      Var_1   将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
  27. echo.      Var_2   将鼠标单击的行的信息储存在此变量里。
  28. echo.      Var_3   将鼠标单击的列的信息储存在此变量里。
  29. echo.
  30. echo.      注意:
  31. echo.      1. 您的这三个变量以及文件名必须用引号括起来。
  32. echo.      2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
  33. echo.
  34. echo.-F    将鼠标的驱动信息储存到文件中。
  35. echo.      以下例子可能有帮助:
  36. echo.
  37. echo.      Mouse_Key.bat -F "[File_1]" "[File_2]" "[File_3]" "[File_4]"
  38. echo.
  39. echo.      File_1  将鼠标驱动信息储存在此文件里。
  40. echo.      File_2  将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
  41. echo.      File_3  将鼠标单击的行的信息储存在此文件里。
  42. echo.      File_4  将鼠标单击的列的信息储存在此文件里。
  43. echo.
  44. echo.      注意:
  45. echo.      1. 您的这四个文件名必须用引号括起来。
  46. echo.      2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
  47. echo.
  48. echo.-H    显示帮助信息。
  49. echo.
  50. @Exit /b
  51. :Mouse_File
  52. Rem Mouse_File [File_1] [File_2] [File_3] [File_4]
  53. Mouse > "%~2"
  54. set /p Mouse=0<"%~2"
  55. set "Mouse=%Mouse: =/%"
  56. echo.%Mouse% > "%~2"
  57. echo.%Mouse:~0,1% > "%~3"
  58. for /f  "usebackq delims=/ tokens=2" %%i in ("%~2") do echo.%%i > "%~4"
  59. for /f  "usebackq delims=/ tokens=3" %%i in ("%~2") do echo.%%i > "%~5"
  60. Set "Mouse="
  61. @Exit /b
  62. :Mouse_Var
  63. Rem Mouse_Var [File] [Var_1] [Var_2] [Var_3]
  64. Mouse > "%~2"
  65. set /p Mouse=0<"%~2"
  66. set "Mouse=%Mouse: =/%"
  67. echo.%Mouse% > "%~2"
  68. set %~3=%Mouse:~0,1%
  69. for /f  "usebackq delims=/ tokens=2" %%i in ("%~2") do set %~4=%%i
  70. for /f  "usebackq delims=/ tokens=3" %%i in ("%~2") do set %~5=%%i
  71. if exist "%~2" del "%~2"
  72. Set "Mouse="
  73. @Exit /b
  74. :Mouse_Installs
  75. (
  76. echo.-----BEGIN CERTIFICATE-----
  77. echo.TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  78. echo.AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
  79. echo.dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
  80. echo.AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
  81. echo.BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
  82. echo.AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  83. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  84. echo.AAAAAAAAAABcIAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAA
  85. echo.ABAAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAuZGF0YQAAAFABAAAAIAAA
  86. echo.UgEAAAAEAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  87. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVieWB7AgAAACQjUX6UOgs
  88. echo.AAAAg8QED79F/FAPv0X+UA++RfpQuAAgQABQ6IgBAACDxBC4AAAAAOkAAAAAycNV
  89. echo.ieWB7CQAAACQuPb///9Q6GwBAACJRfy4AAAAAIlF3I1F+FCLRfxQ6FwBAACLRfiD
  90. echo.yBCD4L+D4N9Qi0X8UOhOAQAAi0XchcAPhAUAAADpnAAAAI1F9FC4AQAAAFCNReBQ
  91. echo.i0X8UOgvAQAAD7dF4IP4Ag+FcwAAAItF6IP4AbgAAAAAD5TAiUXchcAPhA8AAACL
  92. echo.RQi5AQAAAIgI6SMAAACLReiD+AK4AAAAAA+UwIlF3IXAD4QKAAAAi0UIuQIAAACI
  93. echo.CItF3IXAD4QdAAAAi0UIg8ACD79N5GaJCItFCIPAAoPAAg+/TeZmiQjpVP///4tF
  94. echo.+FCLRfxQ6JUAAADJwwAAAFWJ5YHsFAAAAJC4AAAAAIlF7LgAAAMAULgAAAEAUOh9
  95. echo.AAAAg8QIuAEAAABQ6HcAAACDxASNRexQuAAAAABQjUX0UI1F+FCNRfxQ6GEAAACD
  96. echo.xBSLRfRQi0X4UItF/FDoXf7//4PEDIlF8ItF8FDoRgAAAIPEBMnDAP8lXCBAAAAA
  97. echo./yV0IEAAAAD/JXggQAAAAP8lfCBAAAAA/yWAIEAAAAD/JWAgQAAAAP8lZCBAAAAA
  98. echo./yVoIEAAAAD/JWwgQAAAACVkICVkICVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  99. echo.iCAAAAAAAAAAAAAAtCAAAFwgAACgIAAAAAAAAAAAAAD9IAAAdCAAAAAAAAAAAAAA
  100. echo.AAAAAAAAAAAAAAAAvyAAAMggAADVIAAA5iAAAPYgAAAAAAAACiEAABkhAAAqIQAA
  101. echo.OyEAAAAAAAC/IAAAyCAAANUgAADmIAAA9iAAAAAAAAAKIQAAGSEAACohAAA7IQAA
  102. echo.AAAAAG1zdmNydC5kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
  103. echo.X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
  104. echo.dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
  105. echo.ZENvbnNvbGVJbnB1dEEAAAAA
  106. echo.-----END CERTIFICATE-----
  107. ) > "Mouse.exe"
  108. if not exist "Mouse.exe" Call :Mouse_Installs
  109. Certutil -decode -f "Mouse.exe" "Mouse.exe" > nul
  110. if not exist "Mouse.exe" :Mouse_Installs
  111. @Exit /b
复制代码

作者: cmd1152    时间: 2021-8-21 18:37

114行应该是
  1. if not exist "Mouse.exe" call :Mouse_Installs
复制代码

作者: HOPE2021    时间: 2021-8-21 19:08

回复 3# cmd1152
好的
作者: cmd1152    时间: 2021-8-21 19:12

echo.-----BEGIN CERTIFICATE----- 和 echo.-----END CERTIFICATE----- 可以去掉,个人测试过可行
作者: cmd1152    时间: 2021-8-21 19:13

不建议用echo.,echo.的比其他的慢,除了本来就想延迟写入速度
作者: HOPE2021    时间: 2021-8-21 19:18

回复 6# cmd1152
是的,据说echo(最快,但我不喜欢
作者: HOPE2021    时间: 2021-8-21 19:19

3.0版本
  1. @echo off
  2. Set Var_1=%1
  3. Set Var_1=%Var_1:~-1%
  4. if /i "%Var_1%"=="i" Goto :Mouse_Installs
  5. if exist Mouse.exe (
  6. if /i "%Var_1%"=="v" Goto :Mouse_Var
  7. if /i "%Var_1%"=="f" Goto :Mouse_File
  8. )
  9. if /i "%Var_1%"=="h" Goto :Mouse_Help
  10. echo(
  11. echo(命令语法不正确。
  12. @Exit /b
  13. :Mouse_Help
  14. echo(在批处理文件或命令行窗口中进行鼠标操作。
  15. echo(
  16. echo(Mouse_Key.bat [-I] [-V] [-F] [-H]
  17. echo(
  18. echo(-I    下载Mouse.exe以初始化,并加载鼠标驱动。
  19. echo(
  20. echo(-V    将鼠标的驱动信息储存到变量中。
  21. echo(      以下例子可能有帮助:
  22. echo(
  23. echo(      Mouse_Key.bat -V "[File]" "[Var_1]" "[Var_2]" "[Var_3]"
  24. echo(
  25. echo(      File    将鼠标驱动信息储存在此文件里,在程序成功运行之后将其删除。
  26. echo(      Var_1   将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
  27. echo(      Var_2   将鼠标单击的行的信息储存在此变量里。
  28. echo(      Var_3   将鼠标单击的列的信息储存在此变量里。
  29. echo(
  30. echo(      注意:
  31. echo(      1. 您的这三个变量以及文件名必须用引号括起来。
  32. echo(      2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
  33. echo(
  34. echo(-F    将鼠标的驱动信息储存到文件中。
  35. echo(      以下例子可能有帮助:
  36. echo(
  37. echo(      Mouse_Key.bat -F "[File_1]" "[File_2]" "[File_3]" "[File_4]"
  38. echo(
  39. echo(      File_1  将鼠标驱动信息储存在此文件里。
  40. echo(      File_2  将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
  41. echo(      File_3  将鼠标单击的行的信息储存在此文件里。
  42. echo(      File_4  将鼠标单击的列的信息储存在此文件里。
  43. echo(
  44. echo(      注意:
  45. echo(      1. 您的这四个文件名必须用引号括起来。
  46. echo(      2. 此程序在运行时会初始化一个名为Mouse的变量,请不要在您的文件中使用它们。
  47. echo(
  48. echo(-H    显示帮助信息。
  49. echo(
  50. @Exit /b
  51. :Mouse_File
  52. Rem Mouse_File [File_1] [File_2] [File_3] [File_4]
  53. Mouse > "%~2"
  54. set /p Mouse=0<"%~2"
  55. set "Mouse=%Mouse: =/%"
  56. echo(%Mouse% > "%~2"
  57. echo(%Mouse:~0,1% > "%~3"
  58. for /f  "usebackq delims=/ tokens=2" %%i in ("%~2") do echo(%%i > "%~4"
  59. for /f  "usebackq delims=/ tokens=3" %%i in ("%~2") do echo(%%i > "%~5"
  60. Set "Mouse="
  61. @Exit /b
  62. :Mouse_Var
  63. Rem Mouse_Var [File] [Var_1] [Var_2] [Var_3]
  64. Mouse > "%~2"
  65. set /p Mouse=0<"%~2"
  66. set "Mouse=%Mouse: =/%"
  67. echo(%Mouse% > "%~2"
  68. set %~3=%Mouse:~0,1%
  69. for /f  "usebackq delims=/ tokens=2" %%i in ("%~2") do set %~4=%%i
  70. for /f  "usebackq delims=/ tokens=3" %%i in ("%~2") do set %~5=%%i
  71. if exist "%~2" del "%~2"
  72. Set "Mouse="
  73. @Exit /b
  74. :Mouse_Installs
  75. (
  76. echo(-----BEGIN CERTIFICATE-----
  77. echo(TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  78. echo(AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
  79. echo(dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
  80. echo(AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
  81. echo(BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
  82. echo(AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  83. echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  84. echo(AAAAAAAAAABcIAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAA
  85. echo(ABAAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAuZGF0YQAAAFABAAAAIAAA
  86. echo(UgEAAAAEAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  87. echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVieWB7AgAAACQjUX6UOgs
  88. echo(AAAAg8QED79F/FAPv0X+UA++RfpQuAAgQABQ6IgBAACDxBC4AAAAAOkAAAAAycNV
  89. echo(ieWB7CQAAACQuPb///9Q6GwBAACJRfy4AAAAAIlF3I1F+FCLRfxQ6FwBAACLRfiD
  90. echo(yBCD4L+D4N9Qi0X8UOhOAQAAi0XchcAPhAUAAADpnAAAAI1F9FC4AQAAAFCNReBQ
  91. echo(i0X8UOgvAQAAD7dF4IP4Ag+FcwAAAItF6IP4AbgAAAAAD5TAiUXchcAPhA8AAACL
  92. echo(RQi5AQAAAIgI6SMAAACLReiD+AK4AAAAAA+UwIlF3IXAD4QKAAAAi0UIuQIAAACI
  93. echo(CItF3IXAD4QdAAAAi0UIg8ACD79N5GaJCItFCIPAAoPAAg+/TeZmiQjpVP///4tF
  94. echo(+FCLRfxQ6JUAAADJwwAAAFWJ5YHsFAAAAJC4AAAAAIlF7LgAAAMAULgAAAEAUOh9
  95. echo(AAAAg8QIuAEAAABQ6HcAAACDxASNRexQuAAAAABQjUX0UI1F+FCNRfxQ6GEAAACD
  96. echo(xBSLRfRQi0X4UItF/FDoXf7//4PEDIlF8ItF8FDoRgAAAIPEBMnDAP8lXCBAAAAA
  97. echo(/yV0IEAAAAD/JXggQAAAAP8lfCBAAAAA/yWAIEAAAAD/JWAgQAAAAP8lZCBAAAAA
  98. echo(/yVoIEAAAAD/JWwgQAAAACVkICVkICVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  99. echo(iCAAAAAAAAAAAAAAtCAAAFwgAACgIAAAAAAAAAAAAAD9IAAAdCAAAAAAAAAAAAAA
  100. echo(AAAAAAAAAAAAAAAAvyAAAMggAADVIAAA5iAAAPYgAAAAAAAACiEAABkhAAAqIQAA
  101. echo(OyEAAAAAAAC/IAAAyCAAANUgAADmIAAA9iAAAAAAAAAKIQAAGSEAACohAAA7IQAA
  102. echo(AAAAAG1zdmNydC5kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
  103. echo(X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
  104. echo(dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
  105. echo(ZENvbnNvbGVJbnB1dEEAAAAA
  106. echo(-----END CERTIFICATE-----
  107. ) > "Mouse.exe"
  108. if not exist "Mouse.exe" Call :Mouse_Installs
  109. Certutil -decode -f "Mouse.exe" "Mouse.exe" > nul
  110. if not exist "Mouse.exe" Call :Mouse_Installs
  111. @Exit /b
复制代码

作者: HOPE2021    时间: 2021-8-21 19:19

回复 6# cmd1152
新版本怎样?
作者: cmd1152    时间: 2021-8-21 19:49

回复 7# HOPE2021


    我个人喜欢echo;
作者: cmd1152    时间: 2021-8-21 19:50

回复 9# HOPE2021


    echo(在某些场景会和)冲突
作者: cmd1152    时间: 2021-8-21 19:50

回复 7# HOPE2021


    我也不喜欢echo(,除了一些必要的场景
作者: HOPE2021    时间: 2021-11-5 21:13

回复 12# cmd1152
4.0版本
  1. @Echo off
  2. For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
  3. If /i "%1"=="%%Ii" Goto :Mouse_Installs
  4. )
  5. If exist Mouse.exe (
  6. For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
  7. If /i "%1"=="%%Iv" Goto :Mouse_Var
  8. If /i "%1"=="%%If" Goto :Mouse_File
  9. )
  10. )
  11. For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
  12. If /i "%1"=="%%Ih" Goto :Mouse_Help
  13. )
  14. Echo(
  15. Echo(命令语法不正确。
  16. @Exit /b
  17. :Mouse_Help
  18. Echo(在批处理文件或命令行窗口中进行鼠标操作。
  19. Echo(
  20. Echo(Mouse_Key [-I] [-V] [-F] [-H]
  21. Echo(
  22. Echo(-I    安装Mouse.exe以初始化,并加载鼠标驱动。
  23. Echo(
  24. Echo(-V    将鼠标的驱动信息储存到变量中。
  25. Echo(      以下例子可能有帮助:
  26. Echo(
  27. Echo(      Mouse_Key -V <Var_1> <Var_2> <Var_3>
  28. Echo(
  29. Echo(      Var_1   将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
  30. Echo(      Var_2   将鼠标单击的行的信息储存在此变量里。
  31. Echo(      Var_3   将鼠标单击的列的信息储存在此变量里。
  32. Echo(
  33. Echo(      注意:
  34. Echo(      1. 您的这三个变量以及文件名必须用引号括起来。
  35. Echo(
  36. Echo(-F    将鼠标的驱动信息储存到文件中。
  37. Echo(      以下例子可能有帮助:
  38. Echo(
  39. Echo(      Mouse_Key -F <File_1> <File_2> <File_3>
  40. Echo(
  41. Echo(      File_1  将鼠标驱动信息储存在此文件里。
  42. Echo(      File_2  将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
  43. Echo(      File_3  将鼠标单击的行的信息储存在此文件里。
  44. Echo(      File_4  将鼠标单击的列的信息储存在此文件里。
  45. Echo(
  46. Echo(      注意:
  47. Echo(      1. 您的这三个文件名必须用引号括起来。
  48. Echo(
  49. Echo(-H    显示帮助信息。
  50. Echo(
  51. @Exit /b
  52. :Mouse_File <File_1> <File_2> <File_3>
  53. For /F  "usebackq tokens=1,2,3 delims= " %%I in (`Mouse`) Do (
  54. Echo.%%I > "%~1"
  55. Echo.%%J > "%~2"
  56. Echo.%%K > "%~3"
  57. )
  58. @Exit /b
  59. :Mouse_Var <Var_1> <Var_2> <Var_3>
  60. For /F  "usebackq tokens=1,2,3 delims= " %%I in (`Mouse`) Do (
  61. Set "%~1=%%I"
  62. Set "%~2=%%J"
  63. Set "%~3=%%K"
  64. )
  65. @Exit /b
  66. :Mouse_Installs
  67. (
  68. Echo(-----BEGIN CERTIfICATE-----
  69. Echo(TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  70. Echo(AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
  71. Echo(dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
  72. Echo(AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
  73. Echo(BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
  74. Echo(AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  75. Echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  76. Echo(AAAAAAAAAABcIAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAA
  77. Echo(ABAAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAuZGF0YQAAAFABAAAAIAAA
  78. Echo(UgEAAAAEAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  79. Echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVieWB7AgAAACQjUX6UOgs
  80. Echo(AAAAg8QED79F/FAPv0X+UA++RfpQuAAgQABQ6IgBAACDxBC4AAAAAOkAAAAAycNV
  81. Echo(ieWB7CQAAACQuPb///9Q6GwBAACJRfy4AAAAAIlF3I1F+FCLRfxQ6FwBAACLRfiD
  82. Echo(yBCD4L+D4N9Qi0X8UOhOAQAAi0XchcAPhAUAAADpnAAAAI1F9FC4AQAAAFCNReBQ
  83. Echo(i0X8UOgvAQAAD7dF4IP4Ag+FcwAAAItF6IP4AbgAAAAAD5TAiUXchcAPhA8AAACL
  84. Echo(RQi5AQAAAIgI6SMAAACLReiD+AK4AAAAAA+UwIlF3IXAD4QKAAAAi0UIuQIAAACI
  85. Echo(CItF3IXAD4QdAAAAi0UIg8ACD79N5GaJCItFCIPAAoPAAg+/TeZmiQjpVP///4tF
  86. Echo(+FCLRfxQ6JUAAADJwwAAAFWJ5YHsFAAAAJC4AAAAAIlF7LgAAAMAULgAAAEAUOh9
  87. Echo(AAAAg8QIuAEAAABQ6HcAAACDxASNRexQuAAAAABQjUX0UI1F+FCNRfxQ6GEAAACD
  88. Echo(xBSLRfRQi0X4UItF/FDoXf7//4PEDIlF8ItF8FDoRgAAAIPEBMnDAP8lXCBAAAAA
  89. Echo(/yV0IEAAAAD/JXggQAAAAP8lfCBAAAAA/yWAIEAAAAD/JWAgQAAAAP8lZCBAAAAA
  90. Echo(/yVoIEAAAAD/JWwgQAAAACVkICVkICVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  91. Echo(iCAAAAAAAAAAAAAAtCAAAFwgAACgIAAAAAAAAAAAAAD9IAAAdCAAAAAAAAAAAAAA
  92. Echo(AAAAAAAAAAAAAAAAvyAAAMggAADVIAAA5iAAAPYgAAAAAAAACiEAABkhAAAqIQAA
  93. Echo(OyEAAAAAAAC/IAAAyCAAANUgAADmIAAA9iAAAAAAAAAKIQAAGSEAACohAAA7IQAA
  94. Echo(AAAAAG1zdmNydC5kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
  95. Echo(X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
  96. Echo(dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
  97. Echo(ZENvbnNvbGVJbnB1dEEAAAAA
  98. Echo(-----END CERTIfICATE-----
  99. ) > "Mouse.exe"
  100. If not exist "Mouse.exe" Call :Mouse_Installs
  101. Certutil -Decode -f "Mouse.exe" "Mouse.exe" > nul
  102. If not exist "Mouse.exe" Call :Mouse_Installs
  103. @Exit /b
复制代码

作者: cmd1152    时间: 2021-11-6 10:30

本帖最后由 cmd1152 于 2021-11-6 10:36 编辑

回复 13# HOPE2021


    用 文件工程 压缩的代码:
  1. @echo off
  2. (FOR /F "usebackq skip=5 delims=" %%i in (%0) do (@echo %%i))>"Mouse_Key.zip"
  3. certutil -decode -f "Mouse_Key.zip" "Mouse_Key.zip"
  4. start Mouse_Key.zip
  5. exit
  6. UEsDBBQAAAAIAAZUZlMdJ/wHkgYAAEcQAAANAAAATW91c2VfS2V5LmJhdK1X52/T
  7. QBT/TKX+D6cgJFCAjCaQsMR51ikNcYiTNICgiR3HNKPQpGlA8L8AAiFAYpUh9ihb
  8. gqgtU3xCiA8ghkAMscQ9O3bqpGxO8rh7v/d7v3vvfLaXs5lcCZWy2c4OrrQJzZol
  9. IK2IZs9DLrQGrUZr0Ra0Fa1H29BcNB8tRzPRYrQUOdG6OYgpodmdHTOELHJpyDHL
  10. 41i61EHcNQfiS+USWtRbqgwp64TiULk/nx/q7JjT2UGwyog2VEa6bb4yougUfxe4
  11. LfKwPXK8f9N0qKwdxWl5hcDmEH3/KwM5e4RuJT+os0OmZzcul75ceDnx6view6fu
  12. fL12fPvOzo7l7IhWRq50Z0dnxxTPBn7y4eVPo7vPv7g1dvrbqTfgXa+PHjz38G79
  13. zMd6/cbbQ88OP7j3gfDYohg0PUoNrZ4nrCWnOJw4OHWvtUPnCYi0g4fvHbRqMz55
  14. 5N2N06cOzD284/TE5H0IcvXrsQOtQebFwfPMPrAfHQNE/fLtHaM7Rp8ePXPoyYVz
  15. d+uWB9Lb+OTti+e/3ps4d33s0UT94Ku7n3aebABsuKZ6EmIJKec6zzLj6m1cu5ZN
  16. 56cjm5J2nfpwdMyUNPlw9CaIOv9q537kQbf23nt7+gtASNdLuhPjRrdFsh60lbI+
  17. He00jl0tjhd+7mjzv7dj/PHOk7Yhz3w09uno2J3H176eeA++45OnD8K6uPT50P36
  18. 84lL419PXj6/58rr86NtpeJ+XCpg+B+l4tASeKZIrRo33sbND6plgE1VhqZmbkBV
  19. W1INWntSW53+sMCGwPYC/54WX2uB2x3/tsC/WdhucLw9eeMs1AhiW4hpdxZQ/ZM6
  20. GTuhi6wWB0Gn+zMDG1G5NKAUh5Z65nrndiFZyWuFoaXIYW2X63Xi9damCLHng3EZ
  21. 2Rm3eRzNoZAx5J0y1GMMdZGhOXa9zb182h3g/2hdpZR1kUsJwNHse0k/NKXfRfo9
  22. 7RLbXnSzkVkVaBTLC2FEs9GYkBVoHGP1URMSi28UMe7FpLFwcrkCGK9QsdmI8afN
  23. 5GkdNxh82Yrqw2VcDAtplYr1unNxPjeYqVHVTCFYzBS4ssCHc+mCf9jkkWlKS62i
  24. anLCp/aTI8oGYwLvGU7xUoUR3T0hKwIlRom4GGbpH+pZiTFT7V2Bxb423SLFWtMT
  25. DL7mdNUmD9V0Ya07DucauEbrbUiCowlmbXosW7PROkMA/0azeP6xtfNQGZj/Cvwb
  26. jfa7U8mceyoPzKmZNyOb7X7k4HElxXPuPkByhpcwhUdSWSNtrU2HMj+V9Xf5oeKa
  27. kqAW6qJpcYOUXCCtVIem8qgBkWUWBjkXhyPD7qRTwk5nNDsoVohJJOtvgaBSxJcZ
  28. oWifTrlyQL/UMuG4yaPHoEU9RiWSdrlcQXEBXwW/UDRbM/yEPNcleDgnR6+IZkfE
  29. BRzY4V5jTJ4aRTO+FU7GFw6KmjsZkFbmVkLWyX0ml8GRHJYgT4NF4CNcQY5o0nNN
  30. h6MKJZo8hq86DDZmocz5hIgPq04uUwW/MrcA+mljYTP+GNYkkz+AQZPJExU1v84v
  31. qMKCVb26LapojBP3GHPCTqmqzyuJGZ/YQwaIVkmoiAJgBZOHJjEbGNnEqAFMk7yH
  32. /Xx/COy0EMG4RA7V6YopqYImbhiMR0gqfWXO5LFyF9LzEKpWYe6JkL+ve4gD4hBt
  33. 5XrhClV/ZiX9ymKSy2BL3YUKLEWocXcG6zXGq0geR6D2MA7rxS0ZNQvrcXlWx5k8
  34. I9QqoicKtfJJZA4ujiklswuJ5gjLEA0BMhYgY1EVNEVYqrfI4Eggn6SNB8rkcdXi
  35. boHVq+EKJVUVUg64bAPnqiWwZU9gy55q5yk1cVUDR8cHhMaBf9Gs9UPbx8vQ56oq
  36. IVPtTz4ThL5sw//4OR2uQUlUlfjFwc+vwTz6rB2W1oh4agD23Y2C2ORZWWNNhAv8
  37. ahAvLAFPAfpBzQrRA378KpZAS8CzkPTtenjPZrkQrsm0fyDNwwKC91S+IvN9cJ/t
  38. 8wYrcndoOM2nwIiTnuDmVDKa7UtSVZMn2RX1Z3hJxye9cl7mPbn+hD+XKcibwYfs
  39. n4MypjalkqFKKlHd3KtZsboJV8x6D/JRoS8BNsm0MWmvf3PaO5KPJYIDKf3ZDudl
  40. NjycLpKDj4fT3mgeYkiFeM7kSTXtoXSR8siskS/bJwIbZqb7QJgDX0XW35gD6f/P
  41. xVLZ+Ie2mWjy5dH+x00rm8qVspZH8xglU5IVNC871WvqPQlVrOT/PIT5IfQdUEsB
  42. Aj8AFAAAAAgABlRmUx0n/AeSBgAARxAAAA0AJAAAAAAAAAAgAAAAAAAAAE1vdXNl
  43. X0tleS5iYXQKACAAAAAAAAEAGAC8yvl/ttLXATcLnnm20tcBNwueebbS1wFQSwUG
  44. AAAAAAEAAQBfAAAAvQYAAAAA
复制代码

作者: HOPE2021    时间: 2021-11-6 11:07

4.0版本有严重Bug,现已改进成5.0版本
  1. @Echo off
  2. For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
  3. If /i "%1"=="%%Ii" Goto :Mouse_Installs
  4. )
  5. If exist Mouse.exe (
  6. For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
  7. If /i "%1"=="%%Iv" Goto :Mouse_Var
  8. If /i "%1"=="%%If" Goto :Mouse_File
  9. )
  10. )
  11. For %%I in (- / \ [ ] { } ` ~ , . @ # ; = + _) Do (
  12. If /i "%1"=="%%Ih" Goto :Mouse_Help
  13. )
  14. Echo(
  15. Echo(命令语法不正确。
  16. @Exit /b
  17. :Mouse_Help
  18. Echo(在批处理文件或命令行窗口中进行鼠标操作。
  19. Echo(
  20. Echo(Mouse_Key [-I] [-V] [-F] [-H]
  21. Echo(
  22. Echo(-I    安装Mouse.exe以初始化,并加载鼠标驱动。
  23. Echo(
  24. Echo(-V    将鼠标的驱动信息储存到变量中。
  25. Echo(      以下例子可能有帮助:
  26. Echo(
  27. Echo(      Mouse_Key -V <Var_1> <Var_2> <Var_3>
  28. Echo(
  29. Echo(      Var_1   将鼠标单击的信息储存在此变量里, 1 为左键单击, 2 为右键单击。
  30. Echo(      Var_2   将鼠标单击的行的信息储存在此变量里。
  31. Echo(      Var_3   将鼠标单击的列的信息储存在此变量里。
  32. Echo(
  33. Echo(      注意:
  34. Echo(      1. 您的这三个变量以及文件名必须用引号括起来。
  35. Echo(
  36. Echo(-F    将鼠标的驱动信息储存到文件中。
  37. Echo(      以下例子可能有帮助:
  38. Echo(
  39. Echo(      Mouse_Key -F <File_1> <File_2> <File_3>
  40. Echo(
  41. Echo(      File_1  将鼠标驱动信息储存在此文件里。
  42. Echo(      File_2  将鼠标单击的信息储存在此文件里, 1 为左键单击, 2 为右键单击。
  43. Echo(      File_3  将鼠标单击的行的信息储存在此文件里。
  44. Echo(      File_4  将鼠标单击的列的信息储存在此文件里。
  45. Echo(
  46. Echo(      注意:
  47. Echo(      1. 您的这三个文件名必须用引号括起来。
  48. Echo(
  49. Echo(-H    显示帮助信息。
  50. Echo(
  51. @Exit /b
  52. :Mouse_File <File_1> <File_2> <File_3>
  53. For /F  "usebackq tokens=1,2,3 delims= " %%I in (`Mouse`) Do (
  54. Echo.%%I > "%~2"
  55. Echo.%%J > "%~3"
  56. Echo.%%K > "%~4"
  57. )
  58. @Exit /b
  59. :Mouse_Var <Var_1> <Var_2> <Var_3>
  60. For /F  "usebackq tokens=1,2,3 delims= " %%I in (`Mouse`) Do (
  61. Set "%~2=%%I"
  62. Set "%~3=%%J"
  63. Set "%~4=%%K"
  64. )
  65. @Exit /b
  66. :Mouse_Installs
  67. (
  68. Echo(-----BEGIN CERTIfICATE-----
  69. Echo(TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  70. Echo(AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
  71. Echo(dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
  72. Echo(AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
  73. Echo(BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
  74. Echo(AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  75. Echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  76. Echo(AAAAAAAAAABcIAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAA
  77. Echo(ABAAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAuZGF0YQAAAFABAAAAIAAA
  78. Echo(UgEAAAAEAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  79. Echo(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVieWB7AgAAACQjUX6UOgs
  80. Echo(AAAAg8QED79F/FAPv0X+UA++RfpQuAAgQABQ6IgBAACDxBC4AAAAAOkAAAAAycNV
  81. Echo(ieWB7CQAAACQuPb///9Q6GwBAACJRfy4AAAAAIlF3I1F+FCLRfxQ6FwBAACLRfiD
  82. Echo(yBCD4L+D4N9Qi0X8UOhOAQAAi0XchcAPhAUAAADpnAAAAI1F9FC4AQAAAFCNReBQ
  83. Echo(i0X8UOgvAQAAD7dF4IP4Ag+FcwAAAItF6IP4AbgAAAAAD5TAiUXchcAPhA8AAACL
  84. Echo(RQi5AQAAAIgI6SMAAACLReiD+AK4AAAAAA+UwIlF3IXAD4QKAAAAi0UIuQIAAACI
  85. Echo(CItF3IXAD4QdAAAAi0UIg8ACD79N5GaJCItFCIPAAoPAAg+/TeZmiQjpVP///4tF
  86. Echo(+FCLRfxQ6JUAAADJwwAAAFWJ5YHsFAAAAJC4AAAAAIlF7LgAAAMAULgAAAEAUOh9
  87. Echo(AAAAg8QIuAEAAABQ6HcAAACDxASNRexQuAAAAABQjUX0UI1F+FCNRfxQ6GEAAACD
  88. Echo(xBSLRfRQi0X4UItF/FDoXf7//4PEDIlF8ItF8FDoRgAAAIPEBMnDAP8lXCBAAAAA
  89. Echo(/yV0IEAAAAD/JXggQAAAAP8lfCBAAAAA/yWAIEAAAAD/JWAgQAAAAP8lZCBAAAAA
  90. Echo(/yVoIEAAAAD/JWwgQAAAACVkICVkICVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  91. Echo(iCAAAAAAAAAAAAAAtCAAAFwgAACgIAAAAAAAAAAAAAD9IAAAdCAAAAAAAAAAAAAA
  92. Echo(AAAAAAAAAAAAAAAAvyAAAMggAADVIAAA5iAAAPYgAAAAAAAACiEAABkhAAAqIQAA
  93. Echo(OyEAAAAAAAC/IAAAyCAAANUgAADmIAAA9iAAAAAAAAAKIQAAGSEAACohAAA7IQAA
  94. Echo(AAAAAG1zdmNydC5kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
  95. Echo(X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
  96. Echo(dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
  97. Echo(ZENvbnNvbGVJbnB1dEEAAAAA
  98. Echo(-----END CERTIfICATE-----
  99. ) > "Mouse.exe"
  100. If not exist "Mouse.exe" Call :Mouse_Installs
  101. Certutil -Decode -f "Mouse.exe" "Mouse.exe" > nul
  102. If not exist "Mouse.exe" Call :Mouse_Installs
  103. @Exit /b
复制代码

作者: netbenton    时间: 2021-11-7 00:29

用起来很简单,使用说明有点复杂
  1. mouse > ReturnKey.ini
  2. set /p Mouse=<ReturnKey.ini
  3. rem Click是按键,Nr是行,Nl是列
  4. 棋盘第一格相对0,0坐标偏移了,3行,9列
  5. for /f "tokens=1,2,3" %%i in ("!Mouse!") do set/a Click=%%i, Nr=%%j-3, Nl=%%k-9
  6. rem 一个汉字2个字节位置,所以要处理一下
  7. set /a Nl_2=ni+2
  8. set /a Nl/=2
复制代码





欢迎光临 批处理之家 (http://bathome.net./) Powered by Discuz! 7.2