Howdy, this autohotkey script will solve all of the problems
Z activates it, and upon activation it will press h every 1000 miliseconds (every 1 second)
pressing Z again will deactivate it
z::
RepeatKey := !RepeatKey
If RepeatKey
SetTimer, SendTheKey, 1000 ;
Else
SetTimer...