Sign in to follow this  
Followers 0
Mindoze

ControlSetText misbehaving

4 posts in this topic

Hi,

First time posting noob :)

So i've decided to try AutoIT after failing with AHK due to kind of same reasons. Im trying to fill in some fields in form and having some issues.

Im trying to set some text in textbox using 

ControlSetText($ActiveWindow,"","TkChild129",$UserName,1)

Now in active window you cant see the text BUT: AutoIt V3 Window info and Active window info does see the text

Though all application is not willing to cooperate with me, at first it was not responsive to anything, but in one of the forum posts i've read that this might help.

#RequireAdmin

It helps now its somewhat responsive but not fully responsive.

Any help would be appreciated.

ZCHNFP.jpg17XmIe.jpg

Share this post


Link to post
Share on other sites



@Mindoze welcome to the forum. Posting your code will go a long way toward helping us help you. Otherwise, you're asking us to first guess at what you're trying to do based on a single line, and then help you troubleshoot it.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Well the code it self is 5 lines yet. Using the very first template, program is already open so i dont need to run it every time, but if it helps.

#RequireAdmin

Local $ActiveWindow = "MyPokeBot MasterBall Edition - Version v3.31"
Local $UserName = "User@gmail.com"
Local $UserPass = "SuperSeacretPass"
AutoItSetOption("SendKeyDelay",20)
ControlSetText($ActiveWindow,"","TkChild129",$UserName,1)


The autoitsetoption was used to set delay before i experimented with controlCommand controlsend send commands to type in the same.

 

Share this post


Link to post
Share on other sites

@Mindoze I was afraid so. You have obviously neglected to read the forum rules on your way in. Please do so now, especially the part prohibiting game automation, and you'll see why this thread is locked. You will receive no assistance on these types of questions.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0