![]() |
|
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
|
|||
|
|||
The WAF killer, getting myHTPC to go in fron when sage sleeps
This the WAF killer for me. The three main components on my HTPC are
-Zoomplayer for media playback -myHTPC for all front end utilities -Sage for TV viewing purposes Girder runs all of these components. The problem is that when I put sage into sleep it minimizes to the system tray and myHTPC is no longer onto so I have lost the navigation control buttons on my remote. I have to left click and I get the the control back of myHTPC. Some one once fixed this problem before here but I was wondering if anyone else knew how to fix this problem with girder? |
#2
|
||||
|
||||
Check out the GML I'm attaching. It's a little messy but there are a couple things that might help you. (Don't even ask about the placement).
The first thing I'd look at is way at the bottom in the Winamp group I have two commands "myHTPC Exists" that is learned to the "On Taskswitch" event (change All to Girder Events I think). The next is "Set Focus" which is called from "myHTPC Exists" whenever there is a taskswitch. This may (probably will) require closing myHTPC when not using it. |
#3
|
|||
|
|||
I do exactly that as well. The diffrence is that I use the irremote application in conjuction with girder. When I hit the power button while in any application, it runs the exit routine (ctrl + x, Ctrl + w, alt + f4, etc..) and then does an alt + tab. Works great for me.
|
#4
|
||||
|
||||
If SetFocus doens't seem to do the trick, try inserting a delay prior to doing SetFocus.
|
#5
|
|||
|
|||
My alternative method is to have a multigroup that puts SageTV to sleep, then moves the mouse to coordinates 0,0, then left clicks the mouse. This brings myHTPC to the foreground.
I can attach my gml file when I get home if you are interested. Andrew |
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
It's admittedly ugly, but the gml works well for me, controlling Sage, myHTPC, and Zoomplayer. Not all commands are represented, as the Windows MCE rmote controls some things out of the box.
Andrew |
#8
|
|||
|
|||
whoa, thats going to take awhile to figure out unless you can point me to the instance where girder registers Ctrl-Z then moves the mouse to (0,0)
|
#9
|
|||
|
|||
I don't think this topic has been posted to since the release of .15, but I have had problems getting Girder to play nice with SageTV since the release of .15.
I don't have any problems getting myHTPC regaining focus with a button press on the remote as I simply add a command to a multigroup to set focus to myHTPC when the exit button is pressed, the problem comes when I use the Sleep button from the main menu of Sage. Does anyone have a workaround for this? I have tried using 'is foreground' for this and then saying that if SageTV is not the foreground app to 'set focus' to myHTPC, but when I do this Girder gets stuck in a loop and always sets focus to myHTPC no matter what. I've tried almost everything that I can think of in Girder to work around this, so if anyone has successfully regained focus to myHTPC after pressing the sleep button from the main menu of Sage I would really like to know how you did it!! Thanks. |
#10
|
||||
|
||||
Most Girder users may not have dealt with the new Sleep button (it's new in this build) yet.
I'll probably ignore it and continue to cause sleep by a command that originates in Girder. The problem you mention is symptomatic of the general fact that Sage cannot yet provide any feedback to Girder as to button presses and the like. The Girder window exists / is foreground functions work ok in some cases and not in others. [EDIT: it's mostly about timing and slow windows... I'm not trying to state that Girder is unreliable.] I've found it best to (when possible) start things in Girder so that Girder has a specific spot in its GML to go from, rather than having to do too much detecting of (foreground) windows. That's one reason while I'll probably avoid the sleep button in the Sage GUI. The other is that I have a bunch of button on my remote which all cause immediate Sage sleepage, so it would be silly for me to bother navigating to a button to accomplish this. Last edited by salsbst; 03-31-2004 at 11:41 AM. |
#11
|
||||
|
||||
Yeah, that's probably the first thing I'll do with Studio, get rid of the Sleep button and put the Play DVD button back. I have to be careful not to hit the sleep button since thats where the Setup button used to be.
tangfj, You might want to take a look at the GML I have linked in my sig, it contains Sendmessages for every command in Sage (except the few added in .15). edit. I updated the GML in my sig to include all .15 commands Last edited by stanger89; 03-31-2004 at 12:01 PM. |
#12
|
||||
|
||||
I'll make it unanimous & say not to use the new sleep men ubutton... and I don't even use Girder! If whatever program you are using to handle your remote's input is tracking the status of whatever is active at the moment, using the new sleep menu button will throw it all out of sync.
- Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#13
|
||||
|
||||
I am glad it's there so hopefully we won't see all the "How do you put Sage to sleep?" posts. I'll just be happy when I can get rid of it.
|
#14
|
||||
|
||||
Quote:
![]() ![]() Hey... at least it is easy to stop LiveTV w/o going to sleep now! - Andy |
#15
|
||||
|
||||
Re: The WAF killer, getting myHTPC to go in fron when sage sleeps
Quote:
|
#16
|
|||
|
|||
jominor, the way I have myHTPC launching Sage is by creating a new group in myHTPC and then creating a program within that group which launches the exe for Sage with the parameter -awake in the parameters field. Of course, you could just create a program from the main menu of myHTPC.
I just did it this way in case I didn't really want to run Sage I could still back out of the Sage group I created in myHTPC. If you want I can try to make some screenshots of my setup. |
#17
|
|||
|
|||
To tell you the truth, you have not needed the awake switch for a long time. Just calling the app works fine with a program entry in Myhtpc.
|
#18
|
||||
|
||||
Yup... the last time I tested the "-awake" parameter, all it accomplished was to not start the program if it wasn't already running. If it was already running, using it made no difference regarding waking SageTV, as far as I could tell.
Running SageTV.exe again, when not sleeping, is a good way to have it regain focus, btw. - Andy
__________________
SageTV Open Source v9 is available. - Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1. - Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus - HD Extenders: A) FAQs B) URC MX-700 remote setup Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request. |
#19
|
|||
|
|||
FWIW, it seems like with the client version, you have to use the -awake parameter. Otherwise it will actually start another instance of SageTVClient. Let me know if there is a way around this.
|
#20
|
||||
|
||||
Quote:
- Andy |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|