Open LR-KING opened 1 year ago
download this program: https://www.nirsoft.net/utils/nircmd.html
Place it in your directory and then use the os model to execute and generate a click at the desired coordinate.
Example: os.system("nircmd.exe sendmouse click 100 200")
download this program: https://www.nirsoft.net/utils/nircmd.html Place it in your directory and then use the os model to execute and generate a click at the desired coordinate. Example:
os.system("nircmd.exe sendmouse click 100 200")
thanks for your answer, this issue disappear after i apply atlas os: https://atlasos.net . still don't know how this issue happens
FWIW I was getting this for both pyautogui and nircmd, but both worked when run on elevated permissions (admin mode)
FWIW I was getting this for both pyautogui and nircmd, but both worked when run on elevated permissions (admin mode)
i tried run as admin but no use at all
same problem with version 0.9.54
I use pyautogui.click to click a certain position. it works fine in my main pc,but same program can't work in my second pc. they both win10 22H2 .In my second pc it seems everything works but click ,it can move the cursor to correct position and make a window be on top but just can't click the actual content in that window,i also try pydirectinput to fix this but it's the same problem.