Sign in to follow this  
Followers 0
JeanValjean

Is there a way to un-lock a computer?

5 posts in this topic

I have some scripts that run every day.

They run without a problem if the computer is un-locked.

However, if it is locked, they don't.

Is there any instruction that can be scheduled through a script that can un-lock the computer and then run the other script?

I tried writing one with:

Send("^!{DEL"})

and then entering the username and password, but it didn't work.

If it cannot be done, is there a way to keep the computer from locking?

I tried moving the mouse every 15 minutes, but it still locked.

(I can't change the screensaver settings)

Thanks!

Share this post


Link to post
Share on other sites



Not tested let him write in notepad once in the 15 min a letter then close it again

Share this post


Link to post
Share on other sites

(I can't change the screensaver settings)

If you can't do that, then most likely you won't be able to prevent it from locking.

Your best bet is to tweak your script to work while locked. (Avoid Send, MouseMove, PixelSearch, etc...)


[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Share this post


Link to post
Share on other sites

you could just disbale the computer from auto locking. turn off the "lock computer on screen saver" option in the screen saver.

and if your still worried about security, build one of the many screen locker scripts around here on the site into your script. then use it for the security of having the computer locked whilst your script runs.

hope that helps.

Share this post


Link to post
Share on other sites

I had the same problem with a script today, and used mousemove to keep the PC going. Seemed to work fine for me. I made a second script that had a mouse move every 2 seconds until a certain window showed up from the first script. The first script takes 23 minutes to run, and the screensaver was set to 10 minutes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0