have created an AHK file that in its code includes following lines:
Code: Select all
ControlFocus, Edit2, Product ahk_class #32770
Sleep, 450
Send Athens, Greece
Sleep, 400 ;hold for 0.3 sec
Send {Enter}
Sleep, 450 ;hold for 0.3 sec
StringReplace, earlyeta , earlyeta , `r`n , , All
ControlSend, Edit10, %earlyeta%, Product ahk_class #32770
Could someone assist and advise why this is happening and how i can overcome that?
Thanks in advance!
best regards, apa006
[Mod edit: Added [code][/code] tags. Please use them yourself when posting code!]
[Mod edit: Moved topic from AHK v2 help since this is v1 code.]