Sign in to follow this  
Followers 0
mustin98

Question about ControlSend() and printing a variable

3 posts in this topic

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



#2 ·  Posted (edited)

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

I am not a lawyer.  (-_-) Xandy About  (^o^) Discord - Xandy Programmer

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Use Autoit Window Info tool or

Also, you should read the Controls page.

Edited by mihaibr

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  
Followers 0