smart-clicker 1.1.14__tar.gz → 1.1.15__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.14
3
+ Version: 1.1.15
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.14",
5
+ version="1.1.15",
6
6
  author_email="183732521@qq.com",
7
7
  packages=find_packages(),
8
8
  install_requires=[
@@ -110,11 +110,11 @@ class AutoBot:
110
110
  if location:
111
111
  filename = os.path.basename(img_path)
112
112
  print(f"⚡ 识别到 [{filename}] -> 点击 {location}")
113
- pyautogui.moveTo(location, duration=0.1)
114
- time.sleep(2)
113
+ # pyautogui.moveTo(location, duration=0.1)
114
+ # time.sleep(2)
115
115
 
116
- pyautogui.click(location)
117
- time.sleep(10)
116
+ # # pyautogui.click(location)
117
+ # time.sleep(10)
118
118
 
119
119
  # pyautogui.doubleClick(location)
120
120
  # time.sleep(0.1)
@@ -124,10 +124,10 @@ class AutoBot:
124
124
  # # # pyautogui.rightClick(location)
125
125
 
126
126
  # # # 方式3:按住点击
127
- # pyautogui.mouseDown(location)
128
- # time.sleep(0.1)
129
- # pyautogui.mouseUp(location)
130
- # time.sleep(1)
127
+ pyautogui.mouseDown(location)
128
+ time.sleep(2)
129
+ pyautogui.mouseUp(location)
130
+ time.sleep(5)
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.14
3
+ Version: 1.1.15
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