From 964a5647fc997a883b5961dfc35df6bc4cb4806f Mon Sep 17 00:00:00 2001 From: zhangkai <2403741920@qq.com> Date: Wed, 29 Oct 2025 21:08:42 +0800 Subject: [PATCH] =?UTF-8?q?=20=20=E4=BF=AE=E5=A4=8D=E6=9E=81=E7=AB=AF?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E7=9A=84=E5=9B=9E=E5=A4=8D=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/ScriptManager.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/script/ScriptManager.py b/script/ScriptManager.py index 605302b..1aa3fdb 100644 --- a/script/ScriptManager.py +++ b/script/ScriptManager.py @@ -1324,7 +1324,12 @@ class ScriptManager(): LogManager.method_info(f"检测不到对方发送的最后一条消息,发送一条打招呼", "检测消息", udid) - text = last_out + text = "ok" + if last_out: + text = last_out + + + if sel.exists: sel.click() # 聚焦 event.wait(timeout=1)