修复 ciallo 有概率无法输入的问题 (#2092)

This commit is contained in:
Tool_tingsu
2025-10-06 20:34:43 +08:00
committed by GitHub
parent 47e08aab0c
commit 34f424ca73

View File

@@ -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;
}
}