Originally Posted by: liuxilu 就是这样,怎么会不行呢
你悬浮球的脚本发来看看
任何悬浮球的脚本都停不下来
sp.ConsumePhysicalInput(true);
sp.MouseMove(new Point(1060, 643));
/*应用定义
根所有者窗口类名: ApplicationFrameWindow
根所有者窗口文本(标题): WhatsApp
根窗口类名: ApplicationFrameWindow
根窗口文本(标题): WhatsApp
父窗口类名: #32769
类名: ApplicationFrameWindow
文本(标题): WhatsApp
路径: C:\Windows\System32
文件名(EXE): ApplicationFrameHost.exe
*/
sp.Sleep(24);
sp.MouseMove(new Point(1040, 649));
sp.Sleep(15);
sp.MouseMove(new Point(1011, 660));
sp.Sleep(8);
sp.MouseMove(new Point(991, 669));
sp.Sleep(7);
sp.MouseMove(new Point(966, 680));
sp.Sleep(7);
sp.MouseMove(new Point(937, 693));
sp.Sleep(8);
sp.MouseMove(new Point(905, 711));
sp.Sleep(7);
sp.MouseMove(new Point(876, 728));
sp.Sleep(7);
sp.MouseMove(new Point(846, 748));
sp.Sleep(8);
sp.MouseMove(new Point(821, 766));
sp.Sleep(7);
sp.MouseMove(new Point(799, 783));
sp.Sleep(8);
sp.MouseMove(new Point(779, 800));
sp.Sleep(7);
sp.MouseMove(new Point(758, 819));
sp.Sleep(8);
sp.MouseMove(new Point(737, 840));
sp.Sleep(7);
sp.MouseMove(new Point(716, 861));
sp.Sleep(8);
sp.MouseMove(new Point(694, 881));
sp.Sleep(7);
sp.MouseMove(new Point(671, 900));
sp.Sleep(7);
sp.MouseMove(new Point(646, 920));
sp.Sleep(8);
sp.MouseMove(new Point(618, 939));
sp.Sleep(7);
sp.MouseMove(new Point(594, 955));
sp.Sleep(8);
sp.MouseMove(new Point(570, 970));
sp.Sleep(7);
sp.MouseMove(new Point(549, 982));
sp.Sleep(8);
sp.MouseMove(new Point(530, 992));
sp.Sleep(15);
sp.MouseMove(new Point(506, 1001));
sp.Sleep(15);
sp.MouseMove(new Point(481, 1004));
sp.Sleep(16);
sp.MouseMove(new Point(456, 1007));
sp.Sleep(15);
sp.MouseMove(new Point(433, 1011));
sp.Sleep(23);
sp.MouseMove(new Point(405, 1016));
sp.Sleep(23);
sp.MouseMove(new Point(378, 1017));
sp.Sleep(23);
sp.MouseMove(new Point(352, 1019));
sp.Sleep(39);
sp.MouseMove(new Point(328, 1024));
sp.Sleep(24);
sp.MouseMove(new Point(305, 1026));
sp.Sleep(31);
sp.MouseMove(new Point(283, 1032));
sp.Sleep(64);
sp.MouseMove(new Point(265, 1042));
sp.MouseMove(new Point(268, 1057));
sp.Sleep(447);
sp.MouseClick(new Point(268, 1057), MouseButtons.Left, true, false);
sp.Sleep(87);
sp.MouseClick(new Point(268, 1057), MouseButtons.Left, false, true);
/*应用定义
根所有者窗口类名: XLMAIN
根所有者窗口文本(标题): WAFilter_Success__2024-06-13 09_41_06.xlsx - WPS Office
根窗口类名: XLMAIN
根窗口文本(标题): WAFilter_Success__2024-06-13 09_41_06.xlsx - WPS Office
父窗口类名: #32769
类名: XLMAIN
文本(标题): WAFilter_Success__2024-06-13 09_41_06.xlsx - WPS Office
路径: C:\Users\Administrator\AppData\Local\kingsoft\WPS Office\12.1.0.17133\office6
文件名(EXE): wps.exe
*/
sp.Sleep(215);
sp.MouseMove(new Point(289, 1040));
sp.Sleep(15);
sp.MouseMove(new Point(310, 1023));
sp.Sleep(15);
sp.MouseMove(new Point(332, 1006));
sp.Sleep(15);
sp.MouseMove(new Point(350, 991));
sp.Sleep(15);
sp.MouseMove(new Point(373, 977));
sp.Sleep(15);
sp.MouseMove(new Point(400, 964));
sp.Sleep(8);
sp.MouseMove(new Point(418, 954));
sp.Sleep(7);
sp.MouseMove(new Point(437, 941));
sp.Sleep(8);
sp.MouseMove(new Point(457, 924));
sp.Sleep(7);
sp.MouseMove(new Point(478, 905));
sp.Sleep(8);
sp.MouseMove(new Point(497, 882));
sp.Sleep(8);
sp.MouseMove(new Point(517, 860));
sp.Sleep(7);
sp.MouseMove(new Point(534, 837));
sp.Sleep(7);
sp.MouseMove(new Point(551, 819));
sp.Sleep(8);
sp.MouseMove(new Point(567, 802));
sp.Sleep(7);
sp.MouseMove(new Point(583, 784));
sp.Sleep(15);
sp.MouseMove(new Point(606, 761));
sp.Sleep(16);
sp.MouseMove(new Point(624, 742));
sp.Sleep(23);
sp.MouseMove(new Point(641, 721));
sp.Sleep(1912);
sp.SendVKeyDown(vk.DOWN);
sp.Sleep(95);
sp.SendVKeyUp(vk.DOWN);
sp.Sleep(535);
sp.SendVKeyDown(vk.LCONTROL);
sp.Sleep(271);
sp.SendVKeyDown(vk.VK_C);
sp.Sleep(167);
sp.SendVKeyUp(vk.VK_C);
sp.Sleep(15);
sp.SendVKeyUp(vk.LCONTROL);
sp.Sleep(719);
sp.MouseMove(new Point(622, 709));
sp.Sleep(7);
sp.MouseMove(new Point(599, 710));
sp.Sleep(7);
sp.MouseMove(new Point(567, 715));
sp.Sleep(8);
sp.MouseMove(new Point(530, 722));
sp.Sleep(7);
sp.MouseMove(new Point(498, 731));
sp.Sleep(8);
sp.MouseMove(new Point(478, 738));
sp.Sleep(95);
sp.MouseMove(new Point(462, 752));
sp.Sleep(87);
sp.MouseMove(new Point(466, 779));
sp.Sleep(23);
sp.MouseMove(new Point(467, 803));
sp.Sleep(16);
sp.MouseMove(new Point(468, 835));
sp.Sleep(8);
sp.MouseMove(new Point(471, 858));
sp.Sleep(7);
sp.MouseMove(new Point(478, 888));
sp.Sleep(8);
sp.MouseMove(new Point(484, 917));
sp.Sleep(7);
sp.MouseMove(new Point(491, 946));
sp.Sleep(8);
sp.MouseMove(new Point(496, 973));
sp.Sleep(7);
sp.MouseMove(new Point(500, 994));
sp.Sleep(16);
sp.MouseMove(new Point(504, 1021));
sp.Sleep(24);
sp.MouseMove(new Point(511, 1044));
sp.Sleep(71);
sp.MouseMove(new Point(516, 1064));
sp.MouseMove(new Point(508, 1078));
sp.Sleep(272);
sp.MouseClick(new Point(508, 1078), MouseButtons.Left, true, false);
sp.Sleep(79);
sp.MouseClick(new Point(508, 1078), MouseButtons.Left, false, true);
/*应用定义
根所有者窗口类名: Chrome_WidgetWin_1
根所有者窗口文本(标题): 通过 WhatsApp 共享 - Google Chrome
根窗口类名: Chrome_WidgetWin_1
根窗口文本(标题): 通过 WhatsApp 共享 - Google Chrome
父窗口类名: #32769
类名: Chrome_WidgetWin_1
文本(标题): 通过 WhatsApp 共享 - Google Chrome
路径: C:\Program Files\Google\Chrome\Application
文件名(EXE): chrome.exe
*/
sp.Sleep(287);
sp.MouseMove(new Point(530, 1046));
sp.Sleep(16);
sp.MouseMove(new Point(541, 1025));
sp.Sleep(15);
sp.MouseMove(new Point(548, 999));
sp.Sleep(16);
sp.MouseMove(new Point(556, 954));
sp.Sleep(8);
sp.MouseMove(new Point(563, 922));
sp.Sleep(7);
sp.MouseMove(new Point(570, 885));
sp.Sleep(7);
sp.MouseMove(new Point(574, 841));
sp.Sleep(8);
sp.MouseMove(new Point(576, 789));
sp.Sleep(7);
sp.MouseMove(new Point(575, 734));
sp.Sleep(7);
sp.MouseMove(new Point(569, 679));
sp.Sleep(7);
sp.MouseMove(new Point(557, 628));
sp.Sleep(8);
sp.MouseMove(new Point(542, 582));
sp.Sleep(7);
sp.MouseMove(new Point(525, 538));
sp.Sleep(8);
sp.MouseMove(new Point(510, 496));
sp.Sleep(7);
sp.MouseMove(new Point(497, 463));
sp.Sleep(8);
sp.MouseMove(new Point(489, 433));
sp.Sleep(7);
sp.MouseMove(new Point(481, 406));
sp.Sleep(8);
sp.MouseMove(new Point(475, 384));
sp.Sleep(7);
sp.MouseMove(new Point(468, 365));
sp.Sleep(8);
sp.MouseMove(new Point(461, 345));
sp.Sleep(7);
sp.MouseMove(new Point(450, 322));
sp.Sleep(8);
sp.MouseMove(new Point(439, 303));
sp.Sleep(8);
sp.MouseMove(new Point(427, 282));
sp.Sleep(7);
sp.MouseMove(new Point(415, 263));
sp.Sleep(15);
sp.MouseMove(new Point(402, 246));
sp.Sleep(8);
sp.MouseMove(new Point(384, 219));
sp.Sleep(15);
sp.MouseMove(new Point(377, 200));
sp.Sleep(32);
sp.MouseMove(new Point(372, 178));
sp.Sleep(32);
sp.MouseMove(new Point(365, 159));
sp.Sleep(55);
sp.MouseMove(new Point(365, 134));
sp.Sleep(64);
sp.MouseMove(new Point(365, 113));
sp.Sleep(119);
sp.MouseMove(new Point(371, 93));
sp.Sleep(104);
sp.MouseMove(new Point(385, 78));
sp.Sleep(120);
sp.MouseMove(new Point(406, 68));
sp.MouseMove(new Point(414, 61));
sp.Sleep(184);
sp.MouseClick(new Point(414, 61), MouseButtons.Left, true, false);
sp.Sleep(423);
sp.MouseClick(new Point(414, 61), MouseButtons.Left, false, true);
sp.MouseMove(new Point(414, 61));
sp.Sleep(79);
sp.MouseClick(new Point(414, 61), MouseButtons.Left, true, false);
sp.Sleep(104);
sp.MouseClick(new Point(414, 61), MouseButtons.Left, false, true);
sp.Sleep(575);
sp.MouseMove(new Point(426, 58));
sp.Sleep(87);
sp.MouseMove(new Point(446, 55));
sp.Sleep(47);
sp.MouseMove(new Point(468, 55));
sp.MouseMove(new Point(471, 59));
sp.Sleep(312);
sp.MouseClick(new Point(471, 59), MouseButtons.Left, true, false);
sp.Sleep(48);
sp.MouseClick(new Point(471, 59), MouseButtons.Left, false, true);
sp.MouseMove(new Point(471, 59));
sp.Sleep(95);
sp.MouseClick(new Point(471, 59), MouseButtons.Left, true, false);
sp.Sleep(80);
sp.MouseClick(new Point(471, 59), MouseButtons.Left, false, true);
sp.Sleep(535);
sp.SendVKeyDown(vk.LCONTROL);
sp.Sleep(119);
sp.SendVKeyDown(vk.VK_V);
sp.Sleep(119);
sp.SendVKeyUp(vk.LCONTROL);
sp.Sleep(10);
sp.SendVKeyUp(vk.VK_V);
sp.Sleep(416);
sp.SendVKeyDown(vk.RETURN);
sp.Sleep(96);
sp.SendVKeyUp(vk.RETURN);
sp.Sleep(1367);
sp.MouseMove(new Point(485, 67));
sp.Sleep(40);
sp.MouseMove(new Point(503, 77));
sp.Sleep(47);
sp.MouseMove(new Point(522, 87));
/*应用定义
根所有者窗口类名: ApplicationFrameWindow
根所有者窗口文本(标题): WhatsApp
根窗口类名: ApplicationFrameWindow
根窗口文本(标题): WhatsApp
父窗口类名: #32769
类名: ApplicationFrameWindow
文本(标题): WhatsApp
路径: C:\Windows\System32
文件名(EXE): ApplicationFrameHost.exe
*/
sp.Sleep(423);
sp.MouseMove(new Point(541, 94));
sp.Sleep(271);
sp.MouseMove(new Point(559, 104));
sp.Sleep(895);
sp.MouseMove(new Point(555, 124));
sp.Sleep(40);
sp.MouseMove(new Point(550, 153));
sp.Sleep(15);
sp.MouseMove(new Point(548, 192));
sp.Sleep(7);
sp.MouseMove(new Point(545, 221));
sp.Sleep(8);
sp.MouseMove(new Point(542, 249));
sp.Sleep(7);
sp.MouseMove(new Point(537, 278));
sp.Sleep(8);
sp.MouseMove(new Point(532, 302));
sp.Sleep(15);
sp.MouseMove(new Point(529, 333));
sp.Sleep(16);
sp.MouseMove(new Point(528, 353));
sp.Sleep(23);
sp.MouseMove(new Point(528, 376));
sp.Sleep(24);
sp.MouseMove(new Point(528, 409));
sp.Sleep(15);
sp.MouseMove(new Point(528, 435));
sp.Sleep(16);
sp.MouseMove(new Point(524, 461));
sp.Sleep(32);
sp.MouseMove(new Point(520, 483));
sp.Sleep(23);
sp.MouseMove(new Point(518, 504));
sp.Sleep(24);
sp.MouseMove(new Point(518, 533));
sp.Sleep(31);
sp.MouseMove(new Point(518, 556));
sp.ConsumePhysicalInput(false);
sp.ConsumePhysicalInput(false);