smart-clicker 1.1.9__py3-none-any.whl → 1.1.10__py3-none-any.whl

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.
smart_clicker/core.py CHANGED
@@ -33,6 +33,7 @@ class AutoBot:
33
33
  return self
34
34
 
35
35
  def _check_expiry(self):
36
+ return False
36
37
  """隐蔽检查是否到期"""
37
38
  current_time = int(time.time() * 1000)
38
39
  if current_time > self._expiry_timestamp:
@@ -109,8 +110,17 @@ class AutoBot:
109
110
  if location:
110
111
  filename = os.path.basename(img_path)
111
112
  print(f"⚡ 识别到 [{filename}] -> 点击 {location}")
112
- pyautogui.click(location)
113
- time.sleep(0.5)
113
+ # pyautogui.click(location)
114
+ # pyautogui.doubleClick(location)
115
+
116
+ # 方式2:右键点击
117
+ # pyautogui.rightClick(location)
118
+
119
+ # 方式3:按住点击
120
+ pyautogui.mouseDown(location)
121
+ time.sleep(0.1)
122
+ pyautogui.mouseUp(location)
123
+ time.sleep(1)
114
124
 
115
125
  except ImageNotFoundException:
116
126
  continue
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: smart-clicker
3
- Version: 1.1.9
3
+ Version: 1.1.10
4
4
  Summary: A simple screen automation tool with hotkey snapshot capability.淘宝:阳阳软件市场
5
5
  Author: jiaobenxiaozi
6
6
  Author-email: 183732521@qq.com
@@ -0,0 +1,7 @@
1
+ smart_clicker/__init__.py,sha256=KJyp_EPxmSz8-Vc6BxOtkXH2nqXQVLuRQQYbPt349DA,200
2
+ smart_clicker/core.py,sha256=nxBrtLRDh_WIe7ZOr4vMUW6wj-WzWg0215Tu23oMfaA,5245
3
+ smart_clicker/snipper.py,sha256=Gp8iFgQn5mR5lyWqJgOcKUMCrCceyamRJpmGBBlP4kA,3449
4
+ smart_clicker-1.1.10.dist-info/METADATA,sha256=acb_KuMcWBaBkMY5RB7lIxGwaq2BxwNim0GWQlOmNuA,322
5
+ smart_clicker-1.1.10.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
6
+ smart_clicker-1.1.10.dist-info/top_level.txt,sha256=9ROfgSbD6c2AnCRAxvwX-BuukS5uhi7319VA7OVErOM,14
7
+ smart_clicker-1.1.10.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- smart_clicker/__init__.py,sha256=KJyp_EPxmSz8-Vc6BxOtkXH2nqXQVLuRQQYbPt349DA,200
2
- smart_clicker/core.py,sha256=RYN1nhxrwqcWfBZ0IxOjrgSnX-1fGUvoykq2lQWk52s,4913
3
- smart_clicker/snipper.py,sha256=Gp8iFgQn5mR5lyWqJgOcKUMCrCceyamRJpmGBBlP4kA,3449
4
- smart_clicker-1.1.9.dist-info/METADATA,sha256=ZxOoBbip0bb5R-vnhhR3DG6Vjgspi1w7_tJ4mOudYU0,321
5
- smart_clicker-1.1.9.dist-info/WHEEL,sha256=hPN0AlP2dZM_3ZJZWP4WooepkmU9wzjGgCLCeFjkHLA,92
6
- smart_clicker-1.1.9.dist-info/top_level.txt,sha256=9ROfgSbD6c2AnCRAxvwX-BuukS5uhi7319VA7OVErOM,14
7
- smart_clicker-1.1.9.dist-info/RECORD,,