Jump to content

Script slow over RDP remote desktop and doesn't fully execute


Recommended Posts

Hi, I used AU3Record to create a very simple script that clicks in 3 textboxes and enters 3 numbers, the 3 numbers are 10, 20 and 30. Works fine on my local machine, so I used RDP (windows remote desktop) to log onto a Windows Server 2008 machine and ran it at the same screen resolution.

Now if I sit and watch it run on that server over RDP, it works fine, but it all happens in slow motion, though all 3 textboxes do get populated. Next I exit the RDP session by running this on the command line: RDP-Tcp#0 /dest:console

This allows me to exit it without locking the screen so the AutoIt script still runs, however when I log back in after the script has run, the first textbox has “102030” in it, so it’s almost like it hit the first textbox but didn’t hit the other 2 textboxes correctly however the script populates the textboxes correctly when I sit and watch it… Any ideas? Heres my script:

MouseClick("left",1034,552,1)
Sleep(1500)
Send(10)
Sleep(1500)
MouseClick("left",1192,445,1)
Sleep(1500)
Send(20)
Sleep(1500)
MouseClick("left",1189,491,1)
Sleep(1500)
Send(30)
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...