noobee80 Posted August 22, 2018 Posted August 22, 2018 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 JLogan3o13 Posted August 22, 2018 Moderators Posted August 22, 2018 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!
noobee80 Posted August 22, 2018 Author Posted August 22, 2018 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 JLogan3o13 Posted August 22, 2018 Moderators Posted August 22, 2018 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now