So it's as simple as: /sub TypeInTextBox(string Text, window WindowName, string ChildName, string Text) /declare Char int inner /notify ${WindowName} ${Child} leftmouseup /delay 2 /for Char 1 to ${Text.Length} /keypress ${Text.Mid[${Char},1} chat /delay 3s ${Window[${WindowName}].Child[${ChildName}....