i for find and send text in a text box with random id use this Section...
!include WinMessages.nsh
ShowInstDetails show
var CounterM
Section
GetDlgItem $0 $HWNDPARENT 1
EnableWindow $0 1
StrCpy $CounterM "0"
loop:
DetailPrint "$CounterM"
FindWindow $0 "WindowsForms10.Window.8.app.0.141b42a_r9_ad1" "Form1"
GetDlgItem $0 $0 $CounterM
SendMessage $0 ${WM_SETTEXT} 0 "STR:Hello World!"
intop $CounterM $CounterM + 1
Goto loop
SectionEnd
in my application text box id number is: 1246350
loop It takes a long time for find text box Id number and sendMessage to that...
There is a faster way for find text box or find other controls id and sendmessage to that's?