![]() |
|
SageTV Studio Discussion related to the SageTV Studio application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the Studio software application should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
wait for no input?
Is there an action command to wait until user input is stopped for set amount of time?
I know about wait but wondering if there is a way to say wait until user doesn't press a button for set amount of time? |
#2
|
|||
|
|||
Have you tried the InactivityTimeout() hook.
__________________
Server - Win7 64bit, 2.4Ghz Intel Core 2 Duo, TBS 6284 PCI-E Quad DVB-T2 Tuner, 3 x HD200 & 1 x HD300 extenders |
#3
|
|||
|
|||
That is called for a period of no user activity but what is the time period for that?
|
#4
|
|||
|
|||
I am thinking there has got to be be a no user input time call but can't find it.
I am wanting to fire and animation on a listener but only after so long without input but can't find it anywhere. |
#5
|
||||
|
||||
__________________
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. |
#6
|
|||
|
|||
Quote:
If GetTimeSinceLastInput > 2500 fires what I want if I could figure out how to refresh the listener after 2600 so the property would be true a i will always be false when the listener is originally fired. |
#7
|
||||
|
||||
What is your listener listening for? What specifically are you trying to accomplish?
(Also note you need parentheses after a method name to actually call it.)
__________________
-- Greg |
#8
|
||||
|
||||
Quote:
There are forked looping waits & so on in the default STV you should look for & there is more you may want/need to do -- is the menu still active where the loop was started? If not, don't bother doing what you were waiting to do. Does the action depend on the item still being in focus? Stop the wait loop & don't do anything more if changing focus should cancel the action. And so on. Quote:
- 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. |
#9
|
|||
|
|||
Quote:
Fork() ----Wait(time) ----------If GetTimeSinceLastInput() > time -------------------------------set property ---------------------------------------animate -------------------------------------------refresh It seems to be working correct me if I missed something. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Loading Preview. Please wait, and wait and wait... | dshields | Hardware Support | 7 | 05-10-2006 09:55 PM |
30 Second wait between searches | dbfresh23 | General Discussion | 8 | 04-18-2006 11:38 AM |
Get MVP or wait for 3.0 | phantomfsoc | SageTV Customizations | 28 | 05-17-2005 10:47 AM |
I'm seeing double ... no wait .... | Redrum | SageTV Software | 1 | 11-11-2004 06:09 PM |
Buy now or wait? | coppit | General Discussion | 3 | 01-11-2004 01:06 PM |