A while back I asked if there was a way to keep SageTV on top of other windows and was informed of the nice little right-click option on the window's title bar. While this was an ok solution temporarily I was looking for a way that I could do it from a sendmessage command from Xlobby.
I'm sure someone else figured this out, but since I couldn't find a post on it I thought I'd share what I discovered. You can use sendmessage to do it with the following info:
Class: Sage.d
Message: 273
WParam: 0
LParam: 0
The only caveat is that you need to put a timer delay in before you send that command if you are doing a power on first. The window needs to "materialize" and register itself.
Happy Skinning
PS: BaddaBing, this might keep you from having to use the sendfocus program.