Announcement

Collapse
No announcement yet.

Cycling through screens on idle

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cycling through screens on idle

    I would like to be able to cycle through three screens when the computer is idle.

    fusion.skin
    audio.skin
    external_gps.skin

    How might I do that? I have read up on the idle and timer events, but they seem like one shot deals. I want it to cycle through those three screens every 15 seconds after the computer has been idle for 60 seconds.

    Thanks!

  • #2
    Maybe AutoIT? It would have to run all the time in the background and monitor events. Not sure if it can be made more sophisticated, but in rough fashion, write a script that constantly checks mouse position every sixty seconds and if mouse position is same as it was sixty seconds ago, it starts up the shuffle, which will also check mouse position from previous setting before it uses a SEND command to tell RR to load one of three screens. If mouse position is same, load screen and set up for cycle to next screen. If it has changed, break from the loop and start the sixty second countdown again using current mouse position.

    So... RR and script are running...
    Set up three constants as SEND commands to RR...
    Get current mouse position in variable...
    Sleep for sixty seconds or less...
    Get current mouse position...
    If current mouse = mouse position variable, start shuffle...
    If same as above, cycle constant one to load screen...
    Sleep 15sec and loop...
    Else, sleep another sixty seconds or less, looping back to the get current mouse position...
    Else same as above for first IF...

    Not quite sure if the mouse pointer actually moves in RR, if it just hides it or what. This would be one of those needs to be true kind of things in order for this to work.

    Comment


    • #3
      would a combination of switchbutton and the idle command work? you might have to put some buttons on all of your skins so that it works, but it might work. i havent really thought it through tho so im probably missin some details

      Comment


      • #4
        Here is the solution using RR code....

        You could simply use the idle command and create a command in the exectble.ini file that rotate screens for you..

        Something like this...have tried and works perfectly for you.

        First, add variables to rr.ini to keep track of the screen cycle
        SCRNMBR=0
        IDLETIME=60

        Next, add this to your Exectbl.ini
        Code:
        "IDLE","BYVAR;SCRNMBR;Scrn_1<<Scrn_2<<Scrn_3"
        "Scrn_1","EVAL;SCRNMBR;$SCRNMBR$+1||SETVAR;IDLETIME;15||LOAD;FUSION.SKIN"
        "Scrn_2","EVAL;SCRNMBR;$SCRNMBR$+1||SETVAR;IDLETIME;15||AUDIO"
        "Scrn_3","SETVAR;SCRNMBR;0||SETVAR;IDLETIME;15||GPS"
        Lastly, add 'IDL,$IDLETIME$' to the skins that you would like to have this running in (the screens listed above), and 'IDL,60' to all the other screens, that way it would wait the 60secs on any other screen before changing.



        And enjoy....
        RideRunner...The #1 FE, PERIOD.

        Current Project: DFXVoice [v1.0 Released]
        Next in line: RRMedia v2.0

        DFX 5.1.1 Skin
        Appstore Link

        My RideRunner Plugins
        RRMedia
        RRExtended
        DFXVoice

        "There are no bugs - only undocumented features."

        Comment


        • #5
          Will that change screens every sixty seconds?

          Curious... are you trying to prevent burn-in of the LCD??

          Comment


          • #6
            Yes, or whatever you set the IDL,xxx command in each of the screens
            RideRunner...The #1 FE, PERIOD.

            Current Project: DFXVoice [v1.0 Released]
            Next in line: RRMedia v2.0

            DFX 5.1.1 Skin
            Appstore Link

            My RideRunner Plugins
            RRMedia
            RRExtended
            DFXVoice

            "There are no bugs - only undocumented features."

            Comment


            • #7
              Edited post #4

              See above..
              RideRunner...The #1 FE, PERIOD.

              Current Project: DFXVoice [v1.0 Released]
              Next in line: RRMedia v2.0

              DFX 5.1.1 Skin
              Appstore Link

              My RideRunner Plugins
              RRMedia
              RRExtended
              DFXVoice

              "There are no bugs - only undocumented features."

              Comment


              • #8
                Originally posted by HyperZulu View Post
                Will that change screens every sixty seconds?

                Curious... are you trying to prevent burn-in of the LCD??
                Nope, I just want to see those three screens. I'd like to check on all my sensors, see my GPS nav, and music.

                Thanks for the help, Blue!

                Comment


                • #9
                  Okay, I got a chance to try it out, and it doesn't work... it actually doesn't do anything!

                  I put this in my exectbl.ini:
                  Code:
                  "IDLE","BYVAR;SCRNMBR;Scrn_1<<Scrn_2<<Scrn_3"
                  "Scrn_1","EVAL;SCRNMBR;$SCRNMBR$+1||SETVAR;IDLETIME;15||LOAD;FUSION.SKIN;Fusion;C:\Documents and Settings\Administrator\Desktop\Fusion Control Centre 08-06-07\Fusion Control Centre.exe;Fusion Control Centre","Fusion""
                  "Scrn_2","EVAL;SCRNMBR;$SCRNMBR$+1||SETVAR;IDLETIME;15||AUDIO"
                  "Scrn_3","SETVAR;SCRNMBR;0||SETVAR;IDLETIME;15||GPS"

                  and also modified the 3 skins and rr.ini....

                  Comment


                  • #10
                    Sorry about that, I did change the code a little after I posted it and didn't test it, assuming that it would work....HaHa...

                    So...I have now FULLY tested the following code/instructions, here goes...

                    The ONLY thing that you need to change is the fusion path in the fusion command, nothing else!

                    Finally, change the IDL in the below skins to your IDL,60 (IDL appearently does not like a variable there and on my comp, the IDLE command seems to always run even if I'm constantly moving the mouse or clicking something on the screen

                    To go in the rr.ini
                    Code:
                    SCRNMBR=0
                    SCRCYCLER=0
                    To go in the exectbl.ini (added comments to show workings)
                    Code:
                    /,  Idle command to run after idle time has expired
                    "IDLE","BYVAR;SCRCYCLER;NOSCRCHNGR<<SCRCHNGR"
                    /,  Screen Chooser logic
                    "SCRCHNGR","BYVAR;SCRNMBR;Scrn_1<<Scrn_2<<Scrn_3"
                    /,  Screens to cycle through
                    "Scrn_1","EVAL;SCRNMBR;$SCRNMBR$+1||FUSION"
                    "Scrn_2","EVAL;SCRNMBR;$SCRNMBR$+1||AUDIO"
                    "Scrn_3","SETVAR;SCRNMBR;0||GPS"
                    /,  Lets make a Fusion commmand just to make things easier
                    "FUSION","LOAD;FUSION.SKIN;Fusion;< INSERT PATH HERE >;Fusion Control Centre"
                    /, Screen cycle On command
                    "SCRCYCLE_ON","SETVAR;SCRCYCLER;1"
                    /,  Screen cycle Off command
                    "SCRCYCLE_OFF","SETVAR;SCRCYCLER;0"
                    /,  Idle command to run when screen cycle is off, just goes nowhere
                    "NOSCRCHNGR","""
                    Button code to turn the screen cycling off/on
                    Code:
                    "BYVAR;SCRCYCLER;SCRCYCLE_ON<<SCRCYCLE_OFF"
                    RideRunner...The #1 FE, PERIOD.

                    Current Project: DFXVoice [v1.0 Released]
                    Next in line: RRMedia v2.0

                    DFX 5.1.1 Skin
                    Appstore Link

                    My RideRunner Plugins
                    RRMedia
                    RRExtended
                    DFXVoice

                    "There are no bugs - only undocumented features."

                    Comment

                    Working...
                    X