dc740 / AutoHotPy

AutoHotKey replacement using Incerception driver
GNU Lesser General Public License v3.0
59 stars 23 forks source link

Point is not defined in AutoHotPy.py #14

Closed 6ftClaud closed 4 years ago

6ftClaud commented 4 years ago

Traceback (most recent call last): File "", line 1, in File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.3\plugins\python-ce\helpers\pydev_pydev_bundle\pydev_umd.py", line 197, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script File "C:\Program Files\JetBrains\PyCharm Community Edition 2019.3.3\plugins\python-ce\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "C:/Users/klaud/source/repos/ClaudBot/main.py", line 69, in auto = AutoHotPy() File "C:\Users\klaud\source\repos\ClaudBot\venv\lib\site-packages\AutoHotPy\AutoHotPy.py", line 98, in init self.user32.GetCursorPos.restype = ctypes.POINTER(Point) NameError: name 'Point' is not defined

How do I solve this? main.zip