that's easy. You just have to make a routine thart checks if the game is running or not.
If the game is running then your little program should just start a macro(that's your password). You can even make it check, what game it is and let it start the right macro, so that you can use it for several games with different passwords^^
hmmm...that's an idea for my next project XD hmmm...but then when I think about it...It's not that easy. Some games show movies before you can enter a password. Other games need to load or connect. Hmm....Pixelsearch is also a stupid method, because you can't tell your program the values of thousands of games...I'll take a try. If you want to try my program (as soon as it's done), write a PM (personal message) to me