apachetypewriter Posted October 1, 2012 Share Posted October 1, 2012 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 More sharing options...
apachetypewriter Posted October 1, 2012 Author Share Posted October 1, 2012 One thing I did notice was that autoit v3 was installed on my local machine but that shouldn't make a difference because it still runs over RDP as I have compiled it to an exe. Is it worth installing? Otherwise I might have to look at alternatives Link to comment Share on other sites More sharing options...
apachetypewriter Posted October 2, 2012 Author Share Posted October 2, 2012 Can anyone help!? Link to comment Share on other sites More sharing options...
ironsled Posted October 2, 2012 Share Posted October 2, 2012 Im not a pro like most on here. I do have some experience with RDP and Autoit. Instead of using mouse clicks, have you tried ControlClick? I have had luck using this instead of having the window open for the RDP session. Cheers! Link to comment Share on other sites More sharing options...
apachetypewriter Posted October 4, 2012 Author Share Posted October 4, 2012 Thanks, I will give it a try. Link to comment Share on other sites More sharing options...
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