![]() |
|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
EXETunerPlugin
I am using the EXTunerPlugin to change the channels on my cable box using an external executable. This is a command-line program that takes care of doing the channel change.
When I change channels, I get a DOS window popping up for 1-2 seconds while this command is executing. I can hide that by setting the option for SageTV to alwaye be on top, but I was wondering if there was any other way I can hide that window. I have the source for the executable, so one option would be for my to write a windows app that runs hidden, but I'm hoping there is an easier solution and/or quicker solution |
#2
|
|||
|
|||
You don't happen to know if this exe tuner program will tune non RCA/Sony boxes do you ? I have a Zenith HD receiver and it has a low speed serial port, unfortuantely no plugin built works with it, and i do not have the coding skills to make my own ..
|
#3
|
||||
|
||||
The EXETunerPlugin launches a command (any command) in windows.
My settings specify the following command: C:\Program Files\Girder32\event.exe SageSetExternalChannel 18 %CHANNEL% -silent This raises an event in Girder. By specifying the -silent parameter, I tell Girder's event.exe program not to show its face. If you are seeing a DOS window flashing, then it is probably not the fault of the EXETunerPlugin, rather the fault of the program you are executing. @dleewo: what command are you executing via the EXETunerPlugin? Now that I reread your post, perhaps you already know this and I was just misunderstanding you. Is it the channel changing program that is popping the DOS window? @riekl: if you can use Girder to control your RCA box (and i don't see why you couldn't given something like the USB-UIRT to send infrared signals), then the EXETunerPlugin can work for you. HTH, Stuart |
#4
|
|||
|
|||
Quote:
If you use the API call ShelllExecuteEx(), you can set the application to SW_HIDE and it'll run hidden. I was playing around writing my own SnapStream tuner plugin and this is what I did and it works great. (after adding the above, I was wondering if you were the author of the plugin. If not, then ignore the above) Last edited by dleewo; 10-18-2003 at 04:36 PM. |
#5
|
||||
|
||||
Here's an example in vbscript that should get you going without having to modify/recompile the channel changing program:
Save the following as c:\test.vbs: option explicit Dim myShell Set myShell = CreateObject("WScript.Shell") myShell.Run "cmd /c c:\yourcommandline.exe " & WScript.Arguments(0), 0, True Invoke it with the command: wscript.exe c:\test.vbs myparameter |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|