Actually in this case you dont need a code. Just open a empty notpad and try writing AAAAAAAAAAAAAAAAAAAAAAAA without releasing the button and you will understand what i mean.
The computer will write just one A first then will make a small pause and then then after that it will continue with the other AAAAAAAs. It prevents people from doing mistakes while writing.
But in my case i dont need that small pause. My item must go fluently, without a break or a pause.