Skip to content

Commit

Permalink
0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mmv-dev committed Mar 31, 2022
1 parent 415492f commit 6c64794
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 41 deletions.
14 changes: 6 additions & 8 deletions my_autopylot/Windows/functions/mouse/mouse310.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,16 @@ def mouse_search_snip_return_coordinates_x_y(img="", wait=10):
try:
if not img:
raise Exception("Image path is required.")
pos = ps.locateCenterOnScreen(img)
while pos == None and i < int(wait):
time.sleep(1)
pos = ps.locateCenterOnScreen(img)
i += 1
if pos:
data = (pos[0], pos[1])

pos = ps.locateCenterOnScreen(img, minSearchTime=wait)
# while pos == None and i < int(wait):
# time.sleep(1)
# pos = ps.locateCenterOnScreen(img)
# i += 1
except Exception as e:
report_error(e)
else:
if pos:
data = [pos[0], pos[1]]
status = True
else:
status = False
Expand Down
14 changes: 6 additions & 8 deletions my_autopylot/Windows/functions/mouse/mouse37.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,16 @@ def mouse_search_snip_return_coordinates_x_y(img="", wait=10):
try:
if not img:
raise Exception("Image path is required.")
pos = ps.locateCenterOnScreen(img)
while pos == None and i < int(wait):
time.sleep(1)
pos = ps.locateCenterOnScreen(img)
i += 1
if pos:
data = (pos[0], pos[1])

pos = ps.locateCenterOnScreen(img, minSearchTime=wait)
# while pos == None and i < int(wait):
# time.sleep(1)
# pos = ps.locateCenterOnScreen(img)
# i += 1
except Exception as e:
report_error(e)
else:
if pos:
data = [pos[0], pos[1]]
status = True
else:
status = False
Expand Down
14 changes: 6 additions & 8 deletions my_autopylot/Windows/functions/mouse/mouse38.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,16 @@ def mouse_search_snip_return_coordinates_x_y(img="", wait=10):
try:
if not img:
raise Exception("Image path is required.")
pos = ps.locateCenterOnScreen(img)
while pos == None and i < int(wait):
time.sleep(1)
pos = ps.locateCenterOnScreen(img)
i += 1
if pos:
data = (pos[0], pos[1])

pos = ps.locateCenterOnScreen(img, minSearchTime=wait)
# while pos == None and i < int(wait):
# time.sleep(1)
# pos = ps.locateCenterOnScreen(img)
# i += 1
except Exception as e:
report_error(e)
else:
if pos:
data = [pos[0], pos[1]]
status = True
else:
status = False
Expand Down
14 changes: 6 additions & 8 deletions my_autopylot/Windows/functions/mouse/mouse39.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,18 +195,16 @@ def mouse_search_snip_return_coordinates_x_y(img="", wait=10):
try:
if not img:
raise Exception("Image path is required.")
pos = ps.locateCenterOnScreen(img)
while pos == None and i < int(wait):
time.sleep(1)
pos = ps.locateCenterOnScreen(img)
i += 1
if pos:
data = (pos[0], pos[1])

pos = ps.locateCenterOnScreen(img, minSearchTime=wait)
# while pos == None and i < int(wait):
# time.sleep(1)
# pos = ps.locateCenterOnScreen(img)
# i += 1
except Exception as e:
report_error(e)
else:
if pos:
data = [pos[0], pos[1]]
status = True
else:
status = False
Expand Down
2 changes: 1 addition & 1 deletion my_autopylot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.0.5'
__version__ = '0.0.6'
__author__ = 'PyBots'
__email__ = 'support@pybots.ai'

Expand Down
10 changes: 2 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tool.poetry]
name = "My-AutoPylot"
version = "0.0.5"
version = "0.0.6"
description = "Auto-Pylot is a Python based RPA platform for Software BOT development as an Open Source project. We strive to liberate humans from mundane, repetitive tasks, giving them more time to use their intellect and creativity to solve higher-order business challenges and perform knowledge work. We see a world where every employee will work side by side with Digital Workers, taking the robot out of the human, making them exponentially more productive and far more fulfilled."
authors = ["PyBots <support@pybots.ai>"]
license = "BSD"
readme = "README.rst"
readme = "index.rst"
homepage = ""
repository = ""
documentation = "https://my-autopylot.readthedocs.io/"
Expand Down Expand Up @@ -68,9 +68,3 @@ autopep8 = "^1.6.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"


[project]
name = "My-AutoPylot"
authors = [{name = "PyBots", email = "support@pybots.ai"}]
dynamic = ["0.0.5", "Auto-Pylot is a Python based RPA platform for Software BOT development as an Open Source project. We strive to liberate humans from mundane, repetitive tasks, giving them more time to use their intellect and creativity to solve higher-order business challenges and perform knowledge work. We see a world where every employee will work side by side with Digital Workers, taking the robot out of the human, making them exponentially more productive and far more fulfilled."]

0 comments on commit 6c64794

Please sign in to comment.