Compare commits
2 Commits
2fe1576eaa
...
4569d28811
| Author | SHA1 | Date | |
|---|---|---|---|
| 4569d28811 | |||
| d7e1d993fb |
@@ -79,10 +79,9 @@ class ControlUtils(object):
|
||||
"//Window[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]").exists:
|
||||
back = session.xpath(
|
||||
"//Window[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]/Other[1]")
|
||||
|
||||
if back.exists:
|
||||
back.click()
|
||||
return True
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
except Exception as e:
|
||||
|
||||
@@ -503,9 +503,9 @@ class ScriptManager():
|
||||
# 发送消息
|
||||
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