Postby StereoPig » Sat May 31, 2008 4:09 am
Hi. Sounds like you need an app that closes one program when you start another.
You can download a neat (FREE) app called Autohotkey. App doesn't do anything, you make the scripts.
In this case, it's a simple "IfWinExist" script. Now, right click on desktop, New > AutoHotKey script. Name it how you wish, right click on script, Edit script.
Copy/paste this:
; ========= SCRIPT THAT CLOSES WINTV RADIO WHEN DVBDREAM STARTS ======
IfWinExist, WinTV_Radio_window_name_here
{
WinClose WinTV_Radio_window_name_here
Run X:\DVBdream filepath\dvbdream.exe or dreamstart.exe
return
}
else
{
Run X:\DVBdream filepath\dvbdream.exe or dreamstart.exe
return
}
; ========= SCRIPT THAT CLOSES WINTV RADIO WHEN DVBDREAM STARTS ======
into it and replace dvbdream.exe filepath and (WinTV Radio window name).
How to find a window name? In autohotkey folder theres an app called AU3_Spy.exe.
It displays basic info of any window you put your mouse over. Put mouse over WinTV Radio window and copy/pase first line under >>>>>>>>>>( Window Title & Class )<<<<<<<<<<< and replace WinTV_Radio_window_name_here in script.
If theres nothing under first line in AU3_Spy, like in skinned winamp, try putting mouse over WinTV Radio in taskbar and left click, win title should appear in AU3_Spy.
Save it and run script every time you wish to start dvbdream with WinTV radio closed. You can repeat this as many times for any app you wish to start-close with dvbdream, in one single script. I hope this helps.
((/// Skystar2 r2.6 @ 4.4.1 driver // Powercolor Radeon X1950GT 256MB // AMD X2 5000+ // MBO Gigabyte M61P-S3 // XP SP2 // Quadro 90cm dish - universal LNB @ 19°E ///))