20250904-初步功能已完成
This commit is contained in:
@@ -492,16 +492,18 @@ class ScriptManager():
|
||||
else:
|
||||
msg = text
|
||||
LogManager.method_info(f"即将发送的私信内容:{msg}", "关注打招呼", udid)
|
||||
chatInput = session.xpath("//TextView")
|
||||
|
||||
# 准备发送一条信息
|
||||
chatInput.click()
|
||||
time.sleep(2)
|
||||
# 发送消息
|
||||
chatInput.set_text(f"{msg or '暂无数据'}\n")
|
||||
if chatInput.exists:
|
||||
chatInput.click()
|
||||
time.sleep(2)
|
||||
# 发送消息
|
||||
chatInput.set_text(f"{msg or '暂无数据'}\n")
|
||||
|
||||
# input.set_text(f"{aid or '暂无数据'}\n")
|
||||
# input.set_text(f"{aid or '暂无数据'}\n")
|
||||
|
||||
time.sleep(1)
|
||||
time.sleep(1)
|
||||
|
||||
else:
|
||||
print("无法发送信息")
|
||||
|
||||
Reference in New Issue
Block a user