Jump to content

My script stop when i logout vps


Recommended Posts

I wrote a script to click on some link in IE and run it on my vps, but I'm having a problem: When I close the remote desktop window for a long time, the script is stopped and run again when I reopen the remote desktop windows. I tried to turn off screensaver but failed. Can someone help me fix it

Link to comment
Share on other sites

Does the remote machine turn on screensaver or lock after period of not being used?

if that is the case, you can write a simple script to move the mouse a couple pixels ever so often to keep it from locking up. (that's what I do)

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

  • 2 weeks later...

I think the problem is that the remote desktop PC is locked.

You have to make it so that you don't have to activate a window or better run the entire operation in @SW_MINIMIZE/ @SW_HIDE mode

Try using ControlClick/ ControlSend/ commands instead of MouseClick/ send/ commands.

Or if it is a IE form try to use the _IE comands

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...