I am trying to Keep unloack the screen of windows server, have used mousemove() and below code , but its running only for 20 minutes and syestem gets locked again.
Code- autoIt.mouseMove(300, 20, 0); autoIt.mouseMove(700, 20, 0);
I am trying to Keep unloack the screen of windows server, have used mousemove() and below code , but its running only for 20 minutes and syestem gets locked again.
Code- autoIt.mouseMove(300, 20, 0); autoIt.mouseMove(700, 20, 0);
To answer your question; it will work if make the mouse move slower and not "teleport" it with speed 0. Change the speed from 0 to 10.
But as others have commented, this script is not a bad method for what you would like use it for.