I am automating a process and automation will be running 24*7. Automation will be running on client system and that system automatically get locked after 10 mins because of this automation stopped.
I don't have permission to change the settings.
I want to prevent auto lock by generating event either mouse event or keystroke. Is it possible through JavaScript or Is there better way to achieve the same?
OS:Window 7
Any suggestion will be help.
After doing bit of research on various forum I had figured out that we can keep system unlock with the help of below JavaScript code:
Call this above function after certain amount of time (Say:5 mins) with
window.setTimeout()
function to keep system unlock.