Jump to content
Sign in to follow this  
DUNGYEUANH

My script stop when i logout vps

Recommended Posts

DUNGYEUANH

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

Share this post


Link to post
Share on other sites
DUNGYEUANH

I wish it was still running when I turned off remote desktop window a long time

Share this post


Link to post
Share on other sites
kaotkbliss

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!

Share this post


Link to post
Share on other sites
BartW

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

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.