SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software


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
Old 05-20-2017, 11:30 AM
jmv jmv is offline
Sage Advanced User
Join Date: Jan 2007
Posts: 193
sendfocus.exe workaround for SageTV V9 windows

I found a solution for not being able to use "sendfocus.exe" to make SageTV V9 the active maximized window when switching back from another application (Xlobby in this case). With V9 the SageTV program appears to minimize to the notification area where it no longer has a window handle. In V7 SageTV continued to have the window handle "SageTV" which could be used as an argument for sendfocus.

Secondly, it appears that with V9, the SageTV window handle is no longer just "SageTV" but is now "SageTV - [AAAxYYY]" where AAA and YYY are the window dimensions in the X and Y direction, so a full maximized SageTV V9 Window on a 1080P windows desktop would have the window handle of "SageTV - [1920x1080]".

Ok so the first problem is to get the SageTV V9 app out of the notification area and into an actual do this, I triggered a SageTV V9 shortcut, since SageTV is already running, just minimized to the notification area, this just brings SageTV back to its original window which can be targeted by Sendfocus. After that it was easy to call sendfocus with "SageTV - [1920x1080]" as the argument.

To do both of these, I wrote the follow batch file which I trigger when I want to switch from Xlobby back to SageTV...(Sendfocus.exe, the sageTV v9 shortcut and FocusSageTV.bat are saved in my C:\SendFocus directory)
"C:\SendFocus\SageTV 9.lnk"
C:\SendFocus\sendfocus.exe "SageTV - [1920x1080]"

Last edited by jmv; 05-20-2017 at 11:39 AM.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
any workaround for Windows Media files? Dekard General Discussion 1 01-28-2006 04:24 PM
PVR-350 DVD Workaround help sbooth Hardware Support 0 04-20-2005 10:00 AM
Workaround for not having a cable box? ktwebb SageTV Software 5 03-21-2004 08:47 PM
Delete workaround-try this gplasky SageTV Beta Test Software 11 03-20-2004 05:33 PM

All times are GMT -6. The time now is 05:37 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.