sachin3079 Posted December 22, 2010 Share Posted December 22, 2010 Hi, In an RDP session is there any limitation for the methods. In my case what I am doing is - I have creted an RDP session to WIN XP SP3 machine. Now I have written a simple script to move the mouse from one loction(coordinate) to the other and executing it onto the server. It does not move the mouse at all. Script is just of one line, mousemove(200,500). This works fine if I am onto that machine i.e not using RDP Session. Please any one can help with that. Sachin Link to comment Share on other sites More sharing options...
Necromorph Posted December 22, 2010 Share Posted December 22, 2010 Try useing the autoit info window and using the WinActivate() function first. Link to comment Share on other sites More sharing options...
Developers Jos Posted December 22, 2010 Developers Share Posted December 22, 2010 Now I have written a simple script to move the mouse from one loction(coordinate) to the other and executing it onto the server. It does not move the mouse at all.How are you running the script on the server that you have RDPed to?Are you running it in the RDP session or in the console session? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
sachin3079 Posted December 23, 2010 Author Share Posted December 23, 2010 How are you running the script on the server that you have RDPed to?Are you running it in the RDP session or in the console session?The script reside in the server and is kept in the Startup folder, so whenever the rdp sesion is established from the client it executes the script on the server.I am running in the RDP session.I tried several ways yesterday and later looked on to different realated post. then figured out the mousemovement happens but the trail of mouse is not visible on to rdp session. So my script started working the only thing is that the mosue movement wont be visible in the rdp session.Thanks,Sachin 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