lundi 23 mai 2016

Python 2.7.11 - 'SetCursorPos' 'Access is denied.'

I have some code that sets a cursor position each time it loops.(I've heard this is a poor way to do it, but do not have an alternative method in mind.) Every so often I will get this message in the shell:

Traceback (most recent call last): File "C:\Users\mjesionowski\Desktop\ExcelScript\EXTRABETA.py", line 211, in win32api.SetCursorPos((200,95)) error: (5, 'SetCursorPos', 'Access is denied.')

Any help?

Thanks, Mason J

Aucun commentaire:

Enregistrer un commentaire