smart-clicker 1.1.13__tar.gz → 1.1.14__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smart_clicker
3
- Version: 1.1.13
3
+ Version: 1.1.14
4
4
  Summary: A simple screen automation tool with hotkey snapshot capability.淘宝:阳阳软件市场
5
5
  Author: jiaobenxiaozi
6
6
  Author-email: 183732521@qq.com
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="smart_clicker",
5
- version="1.1.13",
5
+ version="1.1.14",
6
6
  author_email="183732521@qq.com",
7
7
  packages=find_packages(),
8
8
  install_requires=[
@@ -111,23 +111,23 @@ class AutoBot:
111
111
  filename = os.path.basename(img_path)
112
112
  print(f"⚡ 识别到 [{filename}] -> 点击 {location}")
113
113
  pyautogui.moveTo(location, duration=0.1)
114
- time.sleep(0.5)
114
+ time.sleep(2)
115
115
 
116
116
  pyautogui.click(location)
117
- time.sleep(0.8)
117
+ time.sleep(10)
118
118
 
119
- pyautogui.doubleClick(location)
120
- time.sleep(0.1)
119
+ # pyautogui.doubleClick(location)
120
+ # time.sleep(0.1)
121
121
 
122
122
 
123
- # # 方式2:右键点击
124
- # # pyautogui.rightClick(location)
123
+ # # # 方式2:右键点击
124
+ # # # pyautogui.rightClick(location)
125
125
 
126
- # # 方式3:按住点击
127
- pyautogui.mouseDown(location)
128
- time.sleep(0.1)
129
- pyautogui.mouseUp(location)
130
- time.sleep(1)
126
+ # # # 方式3:按住点击
127
+ # pyautogui.mouseDown(location)
128
+ # time.sleep(0.1)
129
+ # pyautogui.mouseUp(location)
130
+ # time.sleep(1)
131
131
 
132
132
  except ImageNotFoundException:
133
133
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smart-clicker
3
- Version: 1.1.13
3
+ Version: 1.1.14
4
4
  Summary: A simple screen automation tool with hotkey snapshot capability.淘宝:阳阳软件市场
5
5
  Author: jiaobenxiaozi
6
6
  Author-email: 183732521@qq.com
File without changes