Jump to content

Question about ControlSend() and printing a variable


 Share

Recommended Posts

Hi, I was wondering how do I know what the "controlID" is in the parameters of the ControlSend ( "title", "text", controlID, "string" [, flag] ) function. Am I able to just use "Edit1" for most things?

Also, is there a way to print a varibale such as a string through the keystrokes? Like a Send($somevar).

Thanks

Link to comment
Share on other sites

There is a AutoIt Window Info tool you can use to retrieve controlID from other gui windows.

Check it out you'll see what I mean, should be in Start / All Programs / AutoIt v3 / AutoIt Window Info.

Just run it and sample the control in question.

Also, is there a way to print a varibale such as a string through the keystrokes? Like a Send($somevar).

Yep just like you did it, Send($somevar).

Edited by Xandy
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...