sachin3079 0 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 Share this post Link to post Share on other sites
Necromorph 1 Posted December 22, 2010 Try useing the autoit info window and using the WinActivate() function first. Share this post Link to post Share on other sites
Jos 2,213 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. Share this post Link to post Share on other sites
sachin3079 0 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 Share this post Link to post Share on other sites