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:
|
"//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(
|
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]")
|
"//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:
|
if back.exists:
|
||||||
back.click()
|
back.click()
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
@@ -503,9 +503,9 @@ class ScriptManager():
|
|||||||
# 发送消息
|
# 发送消息
|
||||||
chatInput.set_text(f"{msg or '暂无数据'}\n")
|
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:
|
else:
|
||||||
print("无法发送信息")
|
print("无法发送信息")
|
||||||
|
|||||||
Reference in New Issue
Block a user