Jump to content

Text input, button select...


Recommended Posts


How can I input pre-defined text into a certain field, then for the script to click a button. To be more specfic: Once this application is open I would like to input "SET USERSTATUS AWAY" in the command line field then for the "Send Comand" button to be clicked (or just "Enter" keyboard input would do?)

AutoIT Window Info for command line field on API:

Basic Window Info

Title: Skype Protocol Tracer

Class: TFormViewer.UnicodeClass

Basic Ontrol Info

Call: Edit

Instance: 1

AutoIT Window Info for "Send Command" button

Basic Window Info

Title: Skype Protocol Tracer

Calss: TFormViewer.UnicodeClass

Basic Control Info

Class: TTntButton.UnicodeClass

Instance: 7

Hope you can help, I have had a look around to see how it can be done but unfortuantly my AutoIT scripting is VERY limited! Thanks! :graduated:

Link to comment
Share on other sites

3 main functions you will need to look into - WinActive (or WinExists), ControlSend and ControlClick

With that placed either in a Do... Until WinExists loop or a While 1... Wend loop.



My Android cat and mouse game

We're gonna need another Timmy!

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

  • Recently Browsing   0 members

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