My code should open a window from taskbar and then click a control from it. The problem is that after it opens the window I get the error : "exception: access violation reading 0x00000083".I am new to Python (and in programing) and I have no ideea what that means or how to solve it.My code looks like this :
import autoit, time
autoit.win_activate("KOPLAYER 1.3.1040")
time.sleep(2)
autoit.mouse_click(131, 507)
It opens (activates) the window but after that I get that exception error.
I don't know if that works but change the 2 to 2000. Because in the normal AutoIt version you enter the time in ms not in s. And the minimal wait time is 10ms. Maybe that's what causes the error!
User contributions licensed under CC BY-SA 3.0