This question already has an answer here:
Say i'm coding in emacs and want to start up a music program. Because it takes too long to start up i go back to coding and type away.
When the music application starts up, the focus is stolen (gasp! stolen!) away from emacs and goes to the music application, often mid-thought.
Is there any way to keep this from happening and have the newly started application not have focus until i see that it's up and ready to be used?
Besides getting rid of my ADD of course. Or getting an impossibly fast computer that can keep up with my mind.
i'm using a Windows XP system, but i will soon have a Windows 7 system, and i have Linux at home.