Jump to content
Sign in to follow this  
mustin98

Question about ControlSend() and printing a variable

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

Share this post


Link to post
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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...