Jump to content

Send command problems


Recommended Posts

Try activate window 1-st

After your script executed *.exe file it mustwait until window is active or it sends keys in wrong window

WinWaitActive ( "title" )

and then you can use

ControlClick ( "title", "text", controlID )

Title you can see from window title, text you can read from button you want to click andfor id you have to use "Autoit window info" thet you will find from startmenu

so 3 commands to make your script: Run ; WinActive ; ControlClick;

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...