I'm trying to write a program that brings another program to the front and hold down the spacebar for a second.
I've researched all sorts of SendMessage, PostMessage, SentInput, etc ... and none of them seem to work, or else I'm just doing it wrong.
Anyone have a sure-fire method of sending keyboard input? Thanks.