Compare commits

...

2 Commits

Author SHA1 Message Date
4569d28811 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	.idea/workspace.xml
#	Module/DeviceInfo.py
#	Utils/ControlUtils.py
#	script/ScriptManager.py
2025-09-18 13:11:50 +08:00
d7e1d993fb 20250904-初步功能已完成 2025-09-18 13:07:11 +08:00
2 changed files with 3 additions and 4 deletions

View File

@@ -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:

View File

@@ -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("无法发送信息")