正如标题所说;使用 python 有没有办法捕捉和响应 robotsDesktop 错误;我有一个程序,它在加载时会冻结所有内容并导致 sikuli 抛出 robotsDesktop 错误,我希望能够检测到这些错误,以便在需要时基本上引发更长的等待。
[error] RobotDesktop: checkMousePosition: should be L[939,518]@S(0) - but is not!
Possible cause in case you did not touch the mouse while script was running:
Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.
谢谢