Results 1 to 6 of 6

Thread: How does the ONTIMER event work?

  1. #1
    Variable Bitrate
    Join Date
    Nov 2006

    How does the ONTIMER event work?

    I have "looked for" ONTIMER in the ProcessCommand entries in my plugins.

    I have tried to process "ONTIMER" in ExecTbl.ini using the following:

    and nothing shows up.

    How does this event work?

    Do I need to specify something?

    BTW, what happended to the "screerefresh" RR.ini setting?


  2. #2
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    If you go down to the woods today, You're sure of
    /, (TMR) Timer event
    /, Seconds
    The above defines the number of seconds after loading the screen RR will wait to
    execute the "TIMER" event that can be defined in ExecTBL.INI so a command is executed at such time.
    This event is re-occurring, so every few XXX seconds it will re-execute the TIMER event. You can use
    a simple variable switch to prevent it from executing your command more than once (if desired).

    For TIMER, read ONTIMER

    in exectbl.ini




    10 seconds after entering the EXIT command will be sent.

  3. #3
    Variable Bitrate
    Join Date
    Nov 2006
    OK, now I understand how that works.

    Somehow I got the idea that RR maintained a GUI timer for doing things like updating the time of day and was passing that event on as ONTIMER. Not so, too bad.

    So, my requirement is to do something every 10 seconds for example regardless of what screen is being displayed.

    Any thoughts on how I might do that?


  4. #4

  5. #5
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    just a FYI use of TMR is... when a screen timer is needed...

    + Skin definition; TIMER - "TMR" additional option:
    ARGUMENT 2: is optional, this argument should be enclosed in quotes and is a command that will be executed
    when the timer expires. If this argument is not present, "ONTIMER" event is fired as usual.
    example: TMR,5,"PlaySound;$SKINPATH$Sounds\Click.wav"
    This will play the click.wav sound every 5 seconds.

    this would be the perferred method, and no need to touch exectbl.ini

    for global timer, yes... rrextended

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  6. #6
    Variable Bitrate
    Join Date
    Nov 2006
    RRExtended - General Timers did the trick.

    As usual, my thanks.


Similar Threads

  1. gps speed based event
    By scott_fx in forum RR Skins
    Replies: 2
    Last Post: 07-12-2011, 08:47 AM
  2. ONSHUTDOWN event request
    By efun in forum Road Runner
    Replies: 3
    Last Post: 11-21-2009, 02:31 PM
  3. one click webcam with pre-event?
    By yonu in forum Software & Software Development
    Replies: 5
    Last Post: 08-24-2009, 05:52 PM
  4. "next track" event does not work sometimes..
    By Frankino in forum CF Bug Reports
    Replies: 2
    Last Post: 03-17-2006, 01:01 PM
  5. Pause on USB event
    By phatbenny in forum FrodoPlayer
    Replies: 1
    Last Post: 10-06-2005, 01:47 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts