Sign in to follow this  
Followers 0
sachin3079

Mousemove method not working in RDP session

4 posts in this topic

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



Try useing the autoit info window and using the WinActivate() function first.

Share this post


Link to post
Share on other sites

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?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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

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
Sign in to follow this  
Followers 0