Jump to content
Sign in to follow this  
Aravind

Running AutoIt scripts from telnet

Recommended Posts

Aravind

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

Share this post


Link to post
Share on other sites
BrettF

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 :)

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.