Jump to content

Running AutoIt scripts from telnet


Recommended Posts

Hi,

Iam new to AutoIt scripts. Seeking the experts help to find if there is any way where I can run the GUI AutoIt scripts by telnet/ssh to another Windows box where AutoIt scripts are present. The problem here is that if AutoIt scripts have Windows Controls like Button or MsgBox or Open a Word doc the telnet session is not running the script?

Regards,

Aravind

Link to comment
Share on other sites

Ok. I presume telnet would be open the other end. Have a script poll the data in that window, and you're getting somewhere. Now you can either compile the scripts, or use AutoIt3.exe /AutoIt3ExecuteScript <script Path> with <script Path> being the path to the script. To handle message boxes boxes, you could have the same script poll for message boxes, hopefully knowing what they are. Then reply to the user, say go Y to respond yes to this message box, and N to respond no.

Please note that although this is possible, it was mostly theory. I can try work up an example for you :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...