Bugz Posted November 3, 2005 Share Posted November 3, 2005 Hello!I'm new to AutoIt and I don't know how to control windows of remote desktop. I only use mouse click in my script but it would not be applicable if the windows are displaced. I am creating script in my desktop for a remote desktop. Example for "Run" function. If I write in my script [send ("#r")] this would call the run funtion of my desktop obviously. But how about in calling that of the remote desktop, what script should I use?Please help.Thanks!Bugz Link to comment Share on other sites More sharing options...
LxP Posted November 3, 2005 Share Posted November 3, 2005 Welcome to the forums!If you run the script from the local computer (i.e. the computer connecting to the remote desktop) then you are limited to functions like MouseClick(), PixelGetColor() and other functions that only use mouse coordinates and pixel colours. You need to run the script on the remote computer if you want to be able to refer to windows by name, etc.Do you have something in particular that you would like to achieve? Link to comment Share on other sites More sharing options...
Bugz Posted November 3, 2005 Author Share Posted November 3, 2005 Welcome to the forums!If you run the script from the local computer (i.e. the computer connecting to the remote desktop) then you are limited to functions like MouseClick(), PixelGetColor() and other functions that only use mouse coordinates and pixel colours. You need to run the script on the remote computer if you want to be able to refer to windows by name, etc.Do you have something in particular that you would like to achieve?Thanks for responding LxP! Yes. I would like to help my team automate their usual tasks. I am just starting to learn AutoIt. I was thinking maybe there are better ways to do this except from mouseclick since this function is too specific with coordinates. The script done using this may not run with other desktop. Link to comment Share on other sites More sharing options...
sandyd Posted November 3, 2005 Share Posted November 3, 2005 If you can write a script that does what you want on your machine, preferably with ControlSend, ControlClick commands etc, then you can compile the script and give it to your team. ----[ SandyD ]--- 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