How do I respond to a specific sequence of key presses?
- by Sergio Tapia
The end result is very simple, I have to have something happen when a user types in the letter "n" "o" "t" "e" in that order. 'Note' is the word.
I'm making a little application for a friend that will help him take notes, and I want my application to become visible when he types in "note" from anywhere on the machine.
Here's what I've got so far:
if (e.KeyCode == neededLetter as Keys)
{
neededLetter = "o";
}
I initialize the neededLetter variable with "N" but I'm stuck there. Any help?