mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-16 03:33:25 +08:00
修复 ciallo 有概率无法输入的问题 (#2092)
This commit is contained in:
@@ -28,6 +28,7 @@ const chatTemplate = file.ReadImageMatSync("assets/RecognitionObject/chat.png");
|
||||
);
|
||||
await sleep(1000);
|
||||
await findAndClick(recognitionObj);
|
||||
await sleep(1000);
|
||||
keyPress("VK_RETURN");
|
||||
await sleep(1000);
|
||||
inputText(ciallo);
|
||||
@@ -51,4 +52,4 @@ async function findAndClick(target, maxAttempts = 5) {
|
||||
if (i < maxAttempts - 1) await sleep(250);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user