无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
查看: 2677|回复: 12
打印 上一主题 下一主题

这个鼠标点击第三方有没有用过的?

[复制链接]
跳转到指定楼层
1#
发表于 2022-11-23 08:50:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
用过的给来个示例?这东西没有帮助,不知道咋用。
mouseexe.rar (1.05 KB, 下载次数: 13)
  1. @echo off
  2. (
  3. echo.-----BEGIN CERTIFICATE-----
  4. echo.TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  5. echo.AAAAAAAAAAAAAAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5v
  6. echo.dCBiZSBydW4gaW4gRE9TIG1vZGUuDQ0KJAAAAAAAAABQRQAATAECAAAAAAAAAAAA
  7. echo.AAAAAOAADwMLAQYAAAAAAAAAAAAAAAAAQBEAAAAQAAAAIAAAAABAAAAQAAAAAgAA
  8. echo.BAAAAAAAAAAEAAAAAAAAAFAhAAAAAgAAAAAAAAMAAAAAABAAABAAAAAAEAAAEAAA
  9. echo.AAAAABAAAAAAAAAAAAAAACAgAAA8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  10. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  11. echo.AAAAAAAAAABcIAAALAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAC50ZXh0AAAA
  12. echo.ABAAAAAQAAAAAgAAAAIAAAAAAAAAAAAAAAAAACAAAGAuZGF0YQAAAFABAAAAIAAA
  13. echo.UgEAAAAEAAAAAAAAAAAAAAAAAABAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  14. echo.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABVieWB7AgAAACQjUX6UOgs
  15. echo.AAAAg8QED79F/FAPv0X+UA++RfpQuAAgQABQ6IgBAACDxBC4AAAAAOkAAAAAycNV
  16. echo.ieWB7CQAAACQuPb///9Q6GwBAACJRfy4AAAAAIlF3I1F+FCLRfxQ6FwBAACLRfiD
  17. echo.yBCD4L+D4N9Qi0X8UOhOAQAAi0XchcAPhAUAAADpnAAAAI1F9FC4AQAAAFCNReBQ
  18. echo.i0X8UOgvAQAAD7dF4IP4Ag+FcwAAAItF6IP4AbgAAAAAD5TAiUXchcAPhA8AAACL
  19. echo.RQi5AQAAAIgI6SMAAACLReiD+AK4AAAAAA+UwIlF3IXAD4QKAAAAi0UIuQIAAACI
  20. echo.CItF3IXAD4QdAAAAi0UIg8ACD79N5GaJCItFCIPAAoPAAg+/TeZmiQjpVP///4tF
  21. echo.+FCLRfxQ6JUAAADJwwAAAFWJ5YHsFAAAAJC4AAAAAIlF7LgAAAMAULgAAAEAUOh9
  22. echo.AAAAg8QIuAEAAABQ6HcAAACDxASNRexQuAAAAABQjUX0UI1F+FCNRfxQ6GEAAACD
  23. echo.xBSLRfRQi0X4UItF/FDoXf7//4PEDIlF8ItF8FDoRgAAAIPEBMnDAP8lXCBAAAAA
  24. echo./yV0IEAAAAD/JXggQAAAAP8lfCBAAAAA/yWAIEAAAAD/JWAgQAAAAP8lZCBAAAAA
  25. echo./yVoIEAAAAD/JWwgQAAAACVkICVkICVkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
  26. echo.iCAAAAAAAAAAAAAAtCAAAFwgAACgIAAAAAAAAAAAAAD9IAAAdCAAAAAAAAAAAAAA
  27. echo.AAAAAAAAAAAAAAAAvyAAAMggAADVIAAA5iAAAPYgAAAAAAAACiEAABkhAAAqIQAA
  28. echo.OyEAAAAAAAC/IAAAyCAAANUgAADmIAAA9iAAAAAAAAAKIQAAGSEAACohAAA7IQAA
  29. echo.AAAAAG1zdmNydC5kbGwAAABwcmludGYAAABfY29udHJvbGZwAAAAX19zZXRfYXBw
  30. echo.X3R5cGUAAABfX2dldG1haW5hcmdzAAAAZXhpdABrZXJuZWwzMi5kbGwAAABHZXRT
  31. echo.dGRIYW5kbGUAAABHZXRDb25zb2xlTW9kZQAAAFNldENvbnNvbGVNb2RlAAAAUmVh
  32. echo.ZENvbnNvbGVJbnB1dEEAAAAA
  33. echo.-----END CERTIFICATE-----
  34. ) > "Mouse.exe"
  35. if not exist "Mouse.exe" %0
  36. Certutil -decode -f "Mouse.exe" "Mouse.exe" > nul
  37. if not exist "Mouse.exe" %0
  38. exit
复制代码


2#
发表于 2022-11-23 10:07:08 | 只看该作者
本帖最后由 plusv 于 2022-11-23 10:20 编辑

[原创] 新鲜出炉:UPX_CMD_Shell

Mouse 1 9 51 -> 键 X=9 Y=51
Mouse 2 9 51 -> 键 X=9 Y=51



TEST1.rar

2.41 KB, 下载次数: 11

回复

使用道具 举报

3#
 楼主| 发表于 2022-11-23 10:22:29 来自手机 | 只看该作者
好的,我看看咋用的。
回复

使用道具 举报

4#
发表于 2022-11-23 11:10:41 | 只看该作者
感谢分享
回复

使用道具 举报

5#
发表于 2022-11-23 11:25:40 | 只看该作者
这个小工具不错,刚好前些时候发现用VBS调用Excel的Mouse功能在严格环境下会失效,这么看来还不如直接生成一个mouse.exe来调用了
回复

使用道具 举报

6#
 楼主| 发表于 2022-11-23 14:15:32 | 只看该作者
本帖最后由 窄口牛 于 2022-11-23 14:20 编辑

有了这个范例,基本俩接到了。不过这个点击应该限制在那四个点位,其次按任意键继续应该改为点右键继续,既然鼠标了,就尽可能没有键盘参与。
回复

使用道具 举报

7#
发表于 2022-11-23 18:03:55 | 只看该作者
配合加上nircmd不是更厉害?
回复

使用道具 举报

8#
发表于 2022-11-23 18:45:02 来自手机 | 只看该作者
谢谢分享,CMD应用以脚本为主,习惯不用鼠标了。
回复

使用道具 举报

9#
发表于 2022-11-23 21:17:31 | 只看该作者
没看懂, 这个是模拟鼠标用的吗?
回复

使用道具 举报

10#
发表于 2022-11-30 12:36:46 | 只看该作者
本帖最后由 fengwhen 于 2022-11-30 12:40 编辑

看起来好像是鼠标点击监控器,不是自动点击器
回复

使用道具 举报

11#
发表于 2022-12-1 15:00:22 | 只看该作者
只能在窗口里使用就不太方便了,有没试过这个程序:
https://blog.csdn.net/u010680194/article/details/117431583

  1. // 2>nul||@goto :batch
  2. /*
  3. :batch
  4. @echo off
  5. setlocal

  6. :: find csc.exe
  7. set "csc="
  8. for /r "%SystemRoot%\Microsoft.NET\Framework" %%# in ("*csc.exe") do  set "csc=%%#"

  9. if not exist "%csc%" (
  10.    echo no .net framework installed
  11.    exit /b 10
  12. )

  13. if not exist "%~n0.exe" (
  14.    call %csc% /nologo /warn:0 /out:"%~n0.exe" "%~dpsfnx0" || (
  15.       exit /b %errorlevel%
  16.    )
  17. )
  18. %~n0.exe %*
  19. endlocal & exit /b %errorlevel%

  20. */

  21. // To create this I've stole code from :
  22. // [url]http://inputsimulator.codeplex.com/[/url]
  23. // [url]https://stackoverflow.com/a/8022534/388389[/url]

  24. using System;
  25. using System.Runtime.InteropServices;

  26. namespace MouseMover
  27. {
  28.     public class MouseSimulator
  29.     {
  30.         [DllImport("user32.dll", SetLastError = true)]
  31.         static extern uint SendInput(uint nInputs, ref INPUT pInputs, int cbSize);
  32.         [DllImport("user32.dll")]
  33.         public static extern int SetCursorPos(int x, int y);
  34.         [DllImport("user32.dll")]
  35.         [return: MarshalAs(UnmanagedType.Bool)]
  36.         public static extern bool GetCursorPos(out POINT lpPoint);
  37.         //----//
  38.         [DllImport("user32.dll")]
  39.         public static extern bool ClientToScreen(IntPtr hWnd, ref POINT lpPoint);
  40.         [DllImport("user32.dll")]
  41.         static extern void ClipCursor(ref Rect rect);
  42.         [DllImport("user32.dll")]
  43.         static extern void ClipCursor(IntPtr rect);
  44.         [DllImport("user32.dll", SetLastError = true)]
  45.         static extern IntPtr CopyImage(IntPtr hImage, uint uType, int cxDesired, int cyDesired, uint fuFlags);
  46.         [DllImport("user32.dll")]
  47.         static extern bool CopyRect(out Rect lprcDst, [In] ref Rect lprcSrc);
  48.         [DllImport("user32.dll")]
  49.         static extern int GetSystemMetrics(SystemMetric smIndex);


  50.         [StructLayout(LayoutKind.Sequential)]
  51.         struct INPUT
  52.         {
  53.             public SendInputEventType type;
  54.             public MouseKeybdhardwareInputUnion mkhi;
  55.         }
  56.         [StructLayout(LayoutKind.Explicit)]
  57.         struct MouseKeybdhardwareInputUnion
  58.         {
  59.             [FieldOffset(0)]
  60.             public MouseInputData mi;

  61.             [FieldOffset(0)]
  62.             public KEYBDINPUT ki;

  63.             [FieldOffset(0)]
  64.             public HARDWAREINPUT hi;
  65.         }
  66.         [StructLayout(LayoutKind.Sequential)]
  67.         struct KEYBDINPUT
  68.         {
  69.             public ushort wVk;
  70.             public ushort wScan;
  71.             public uint dwFlags;
  72.             public uint time;
  73.             public IntPtr dwExtraInfo;
  74.         }
  75.         [StructLayout(LayoutKind.Sequential)]
  76.         struct HARDWAREINPUT
  77.         {
  78.             public int uMsg;
  79.             public short wParamL;
  80.             public short wParamH;
  81.         }
  82.         [StructLayout(LayoutKind.Sequential)]
  83.         public struct POINT
  84.         {
  85.             public int X;
  86.             public int Y;

  87.             public POINT(int x, int y)
  88.             {
  89.                 this.X = x;
  90.                 this.Y = y;
  91.             }
  92.         }
  93.         struct MouseInputData
  94.         {
  95.             public int dx;
  96.             public int dy;
  97.             public uint mouseData;
  98.             public MouseEventFlags dwFlags;
  99.             public uint time;
  100.             public IntPtr dwExtraInfo;
  101.         }
  102.         struct Rect
  103.         {
  104.             public long left;
  105.             public long top;
  106.             public long right;
  107.             public long bottom;

  108.             public Rect(long left,long top,long right , long bottom)
  109.             {
  110.                 this.left = left;
  111.                 this.top = top;
  112.                 this.right = right;
  113.                 this.bottom = bottom;
  114.             }
  115.         }

  116.         [Flags]
  117.         enum MouseEventFlags : uint
  118.         {
  119.             MOUSEEVENTF_MOVE = 0x0001,
  120.             MOUSEEVENTF_LEFTDOWN = 0x0002,
  121.             MOUSEEVENTF_LEFTUP = 0x0004,
  122.             MOUSEEVENTF_RIGHTDOWN = 0x0008,
  123.             MOUSEEVENTF_RIGHTUP = 0x0010,
  124.             MOUSEEVENTF_MIDDLEDOWN = 0x0020,
  125.             MOUSEEVENTF_MIDDLEUP = 0x0040,
  126.             MOUSEEVENTF_XDOWN = 0x0080,
  127.             MOUSEEVENTF_XUP = 0x0100,
  128.             MOUSEEVENTF_WHEEL = 0x0800,
  129.             MOUSEEVENTF_VIRTUALDESK = 0x4000,
  130.             MOUSEEVENTF_ABSOLUTE = 0x8000
  131.         }
  132.         enum SendInputEventType : int
  133.         {
  134.             InputMouse,
  135.             InputKeyboard,
  136.             InputHardware
  137.         }
  138.         
  139.         enum SystemMetric
  140.         {
  141.           SM_CXSCREEN = 0,
  142.           SM_CYSCREEN = 1,
  143.         }
  144.         
  145.         static int CalculateAbsoluteCoordinateX(int x)
  146.         {
  147.           return (x * 65536) / GetSystemMetrics(SystemMetric.SM_CXSCREEN);
  148.         }

  149.         static int CalculateAbsoluteCoordinateY(int y)
  150.         {
  151.           return (y * 65536) / GetSystemMetrics(SystemMetric.SM_CYSCREEN);
  152.         }

  153.         static void DoubleClick()
  154.         {
  155.             ClickLeftMouseButton();
  156.             //System.Threading.Thread.Sleep(100);
  157.             ClickLeftMouseButton();
  158.         }

  159.         static void MoveMouseBy(int x, int y) {
  160.             INPUT mouseInput = new INPUT();
  161.             mouseInput.type = SendInputEventType.InputMouse;
  162.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_MOVE;
  163.             mouseInput.mkhi.mi.dx = x;
  164.             mouseInput.mkhi.mi.dy = y;
  165.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));
  166.         }

  167.         static void MoveMouseTo(int x, int y) {
  168.             INPUT mouseInput = new INPUT();
  169.             mouseInput.type = SendInputEventType.InputMouse;
  170.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_MOVE|MouseEventFlags.MOUSEEVENTF_ABSOLUTE;
  171.             mouseInput.mkhi.mi.dx = CalculateAbsoluteCoordinateX(x);
  172.             mouseInput.mkhi.mi.dy = CalculateAbsoluteCoordinateY(y);
  173.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  174.         }
  175.         static void DragMouseBy(int x, int y) {

  176.             INPUT mouseInput = new INPUT();
  177.             mouseInput.type = SendInputEventType.InputMouse;
  178.             mouseInput.mkhi.mi.dwFlags =  MouseEventFlags.MOUSEEVENTF_LEFTDOWN;
  179.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  180.             //does not work with MouseEventFlags.MOUSEEVENTF_MOVE | MouseEventFlags.MOUSEEVENTF_LEFTDOWN
  181.             // so two consec. send inputs
  182.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_MOVE;
  183.             mouseInput.mkhi.mi.dx = CalculateAbsoluteCoordinateX(x);
  184.             mouseInput.mkhi.mi.dy = CalculateAbsoluteCoordinateY(y);
  185.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  186.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_LEFTUP;
  187.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  188.         }
  189.         static void DragMouseTo(int x, int y) {
  190.             INPUT mouseInput = new INPUT();
  191.             mouseInput.type = SendInputEventType.InputMouse;
  192.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_LEFTDOWN;
  193.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  194.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_MOVE|MouseEventFlags.MOUSEEVENTF_ABSOLUTE;
  195.             mouseInput.mkhi.mi.dx = x;
  196.             mouseInput.mkhi.mi.dy = y;
  197.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  198.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_LEFTUP;
  199.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));
  200.         }
  201.         

  202.         //There's conflict between negative DWOR values and UInt32 so there are two methods
  203.         // for scrolling
  204.         static void ScrollUp(int amount) {
  205.             INPUT mouseInput = new INPUT();
  206.             mouseInput.type = SendInputEventType.InputMouse;
  207.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_WHEEL;
  208.             mouseInput.mkhi.mi.mouseData = (UInt32)amount;
  209.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));
  210.         }

  211.         static void ScrollDown(int amount)
  212.         {
  213.             INPUT mouseInput = new INPUT();
  214.             mouseInput.type = SendInputEventType.InputMouse;
  215.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_WHEEL;
  216.             mouseInput.mkhi.mi.mouseData = 0-(UInt32)amount;
  217.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));
  218.         }


  219.         static void ClickLeftMouseButton()
  220.         {

  221.             INPUT mouseInput = new INPUT();

  222.             mouseInput.type = SendInputEventType.InputMouse;
  223.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_LEFTDOWN;
  224.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  225.             //mouseInput.type = SendInputEventType.InputMouse;
  226.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_LEFTUP;
  227.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  228.         }
  229.         static void ClickRightMouseButton()
  230.         {
  231.             INPUT mouseInput = new INPUT();

  232.             mouseInput.type = SendInputEventType.InputMouse;
  233.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_RIGHTDOWN;
  234.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  235.             //mouseInput.type = SendInputEventType.InputMouse;
  236.             mouseInput.mkhi.mi.dwFlags = MouseEventFlags.MOUSEEVENTF_RIGHTUP;
  237.             SendInput(1, ref mouseInput, Marshal.SizeOf(mouseInput));

  238.         }


  239.         static void getCursorPos()
  240.         {
  241.             POINT p;
  242.             if (GetCursorPos(out p))
  243.             {
  244.                 Console.WriteLine(Convert.ToString(p.X) + "x" + Convert.ToString(p.Y));
  245.             }
  246.             else
  247.             {
  248.                 Console.WriteLine("unknown");
  249.             }
  250.         }

  251.         static void ScrollCaller(string ammountStr,Boolean up)
  252.         {
  253.             try
  254.             {
  255.                 int ammount = int.Parse(ammountStr);
  256.                 if (ammount < 0)
  257.                 {
  258.                     Console.WriteLine("Scroll ammount must be positive number");
  259.                     System.Environment.Exit(3);
  260.                 }
  261.                 if (up)
  262.                 {
  263.                     ScrollUp(ammount);
  264.                 }
  265.                 else
  266.                 {
  267.                     ScrollDown(ammount);
  268.                 }
  269.             }
  270.             catch (Exception)
  271.             {
  272.                 Console.WriteLine("Number parsing error");
  273.                 System.Environment.Exit(2);
  274.             }

  275.         }

  276.         static int[] parser(String arg) {
  277.             string[] sDim= arg.Split('x');
  278.             if (sDim.Length == 1) {
  279.                 Console.WriteLine("Invalid arguments - dimmensions cannot be aquired");
  280.                 System.Environment.Exit(6);
  281.             }
  282.             try
  283.             {
  284.                 int x = int.Parse(sDim[0]);
  285.                 int y = int.Parse(sDim[1]);
  286.                 return new int[]{x,y};
  287.             }
  288.             catch (Exception e) {
  289.                 Console.WriteLine("Error while parsing dimensions");
  290.                 System.Environment.Exit(7);
  291.             }
  292.             return null;

  293.         }

  294.         static void CheckArgs(String[] args) {
  295.             if (args.Length == 1)
  296.             {
  297.                 Console.WriteLine("Not enough arguments");
  298.                 System.Environment.Exit(1);
  299.             }
  300.         }

  301.        static void PrintHelp() {
  302.             String filename = Environment.GetCommandLineArgs()[0];
  303.             filename = filename.Substring(0, filename.Length);

  304.             Console.WriteLine(filename+" controls the mouse cursor through command line ");
  305.             Console.WriteLine("Usage:");
  306.             Console.WriteLine("");
  307.             Console.WriteLine(filename+" action [arguments]");
  308.             Console.WriteLine("Actions:");
  309.             Console.WriteLine("doubleClick  - double clicks at the current position");
  310.             Console.WriteLine("click - clicks at the current position");
  311.             Console.WriteLine("rightClick - clicks with the right mouse button at the current position");
  312.             Console.WriteLine("position - prints the mouse cursor position");
  313.             Console.WriteLine("scrollUp N - scrolls up the mouse wheel.Requires a number for the scroll ammount");
  314.             Console.WriteLine("scrollDown N - scrolls down the mouse wheel.Requires a number for the scroll ammount");
  315.             Console.WriteLine("moveBy NxM - moves the mouse curosor to relative coordinates.Requires two numbers separated by low case 'x' .");
  316.             Console.WriteLine("moveTo NxM - moves the mouse curosor to absolute coordinates.Requires two numbers separated by low case 'x' .");
  317.             Console.WriteLine("dragBy NxM - drags the mouse curosor to relative coordinates.Requires two numbers separated by low case 'x' .");
  318.             Console.WriteLine("dragTo NxM - drags the mouse curosor to absolute coordinates.Requires two numbers separated by low case 'x' .");
  319.             Console.WriteLine("");
  320.             Console.WriteLine("Consider using only " +filename+" (without extensions) to prevent print of the errormessages after the first start");
  321.             Console.WriteLine("  in case you are using batch-wrapped script.");

  322.         }

  323.         public static void Main(String[] args) {
  324.             if (args.Length == 0) {
  325.                 PrintHelp();
  326.                 System.Environment.Exit(0);
  327.             }
  328.             if (args[0].ToLower() == "-help" || args[0].ToLower() == "-h") {
  329.                 PrintHelp();
  330.                 System.Environment.Exit(0);
  331.             }

  332.             if (args[0].ToLower() == "doubleclick")
  333.             {
  334.                 DoubleClick();
  335.             }
  336.             else if (args[0].ToLower() == "click" || args[0].ToLower() == "leftclick")
  337.             {
  338.                 ClickLeftMouseButton();
  339.             }
  340.             else if (args[0].ToLower() == "position")
  341.             {
  342.                 getCursorPos();
  343.             }
  344.             else if (args[0].ToLower() == "rightclick")
  345.             {
  346.                 ClickRightMouseButton();
  347.             }
  348.             else if (args[0].ToLower() == "scrollup")
  349.             {
  350.                 CheckArgs(args);
  351.                 ScrollCaller(args[1], true);

  352.             }
  353.             else if (args[0].ToLower() == "scrolldown")
  354.             {
  355.                 CheckArgs(args);
  356.                 ScrollCaller(args[1], false);

  357.             }
  358.             else if (args[0].ToLower() == "moveto")
  359.             {
  360.                 CheckArgs(args);
  361.                 int[] xy = parser(args[1]);
  362.                 MoveMouseTo(xy[0], xy[1]);
  363.             }
  364.             else if (args[0].ToLower() == "moveby")
  365.             {
  366.                 CheckArgs(args);
  367.                 int[] xy = parser(args[1]);
  368.                 MoveMouseBy(xy[0], xy[1]);
  369.             }
  370.             else if (args[0].ToLower() == "dragto")
  371.             {
  372.                 CheckArgs(args);
  373.                 int[] xy = parser(args[1]);
  374.                 DragMouseTo(xy[0], xy[1]);
  375.             }
  376.             else if (args[0].ToLower() == "dragby")
  377.             {
  378.                 CheckArgs(args);
  379.                 int[] xy = parser(args[1]);
  380.                 DragMouseBy(xy[0], xy[1]);
  381.             }
  382.             else
  383.             {
  384.                 Console.WriteLine("Invalid action : " + args[0]);
  385.                 System.Environment.Exit(10);
  386.             }
  387.         }


  388.     }
  389. }


复制代码


点评

我看起来也是天书,尝试学点儿其它正儿八经的编程语言?  详情 回复 发表于 2022-12-1 16:13
回复

使用道具 举报

12#
 楼主| 发表于 2022-12-1 15:58:45 | 只看该作者
搜到它了,一样也是不会用,比那个更复杂了许多。
回复

使用道具 举报

13#
发表于 2023-12-2 01:07:30 | 只看该作者
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-5 10:02

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表