自动采集

wjdr
wangbing 12 months ago
parent 2032e15d84
commit 179535dad0

@ -95,8 +95,8 @@ public class MacroForWJDR extends JMacro {
// 可按优先级排序以下任务
new Task_(this, focusRect).run();
new Task_(this, focusRect).run();
new Task_(this, focusRect).run();
new Task_(this, focusRect).run();
new Task_(this, focusRect).run();
new Task_(this, focusRect).run();
new Task_(this, focusRect).run();
new Task_(this, focusRect).run();

@ -63,6 +63,13 @@ public class Task_定位城镇 extends BaseTask {
Logger.info("关闭侧面板");
}
}
{ // 定位弹框,关闭弹框
ViewRect rect = macro.findLegend(macro.of(450,36,484,76), "城镇_礼包", 0.7);
if (rect != null) {
macro.mouseLeftClick(rect);
Logger.info("关闭充值广告弹框");
}
}
{ // 定位弹框,关闭弹框
ViewRect rect = macro.findLegend(macro.of(436,54,465,162), "城镇_礼包", 0.7);
if (rect != null) {

Loading…
Cancel
Save

Powered by TurnKey Linux.