Yeah, it sounds like you need a script per app you want to control. Use ps and company to detect if it's running and go from there. Like Matthew says, try dcop to control the ones that respond to that and then tie your shortcut keys to run those scripts. hth, gotta run, /d