Listening to hotkey events and typing strings

HI, I try to build something that will be my little helper to help me with fastidious logins procedures.
During the course of the day, I happTypeMyStrings.xaml (19.0 KB) en to have to type multiple times some weird combination of text.
For me a shortcut is a tremendous productivity boost.
type usernames and passwords as an example.
The attach xaml is doing this, or should it. sometime the second time you hit the hotkey combination, it will type gibberish or do some other things like open menu.
It works the first pass, May be I need a state machine and circle back after processing of a first event?
thanks so much