@lethalpi: Yes, SendInput is a function to send a sequence of keys. There are no delay involved but you can add delay with others functions like SetKeyDelay.
I'm not an expert on AutoHotkey so I invite you to look at the commands manual if you want more details. (I don't want to say whatever.
