Controling other applications, by publishing events from host application.
I'm working on a test project in which I'm planning to control " Need For Speed " game from another application..
What I actually meant is , you might have played nfs game where the car movement is controlled by "Arrow keys/ Navigation keys "...... So I'm planning to simulate this key press event melodramatically based on some algorithm, and expecting NFS to react to it.
Here is my questions.
I can simulate key press event but , how do i need to publish it , so that other applications gets a notification that a key is pressed....