how import win32api - Kodi
forum.kodi.tv › showthreadNov 24, 2012 · import win32api, win32con def click(x,y): win32api.SetCursorPos((x,y)) win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN, x, y, 0, 0) win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP, x, y, 0, 0) click(100, 100) # simulate mouse click at 100px, 100px how can make that possible...? thanks for your comprehension,... Reply Find Reply
How to import win32api and win32con - Python Forum
python-forum.io › thread-16213So I'm trying to import win32api and win32con. So I was researching and I found that I needed pywin32 to do this. So I used pip and installed it but python still said pywin32 was an invalid module. So I'm kinda stuck. Can someone help me? I tried this. from PyWin32 import win32api, win32con I also tried this from pywin32 import win32api, win32con