Jump to content

Recommended Posts

Posted

Hello,

I have a question. For easy up my work, i scripted a small bot on the win server. When i loggin to the server via rdp, I can run my script. But when I logoff, the script doesnt run further. Is there a setting or what am I making wrong??

  • Moderators
Posted

It depends on what your script is doing; some tasks such as Send and Mouse movement are not going to work. It would be easiest for us to assist if you post your script (or a reproducer).

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

mmmh, that could be very dificult. All the moves I do with the mouse I simulate with Autoit. I thought thats the reason for Autoit...

the script has a lot of "MouseClick("right" , $iSearchCounterX, $iSearchCounterY-17, 1)" and a lot of "Send("^a")", "Send("^c")", "Send("^v")" or "Send("Please click here!")"

  • Moderators
Posted

If you do a forum or google search for Mousemove RDP session or similar verbiage you will see a number of threads on this subject. There is even a section on the FAQ explaining this:

http://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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
×
×
  • Create New...