Announcement

Collapse
No announcement yet.

How to backup the front volume

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

  • How to backup the front volume

    I try to save the Volume Front value in a variable for use it after a command .

    So i have tried these commands :

    Code:
    B02,558,108,40,33,"SETVARBYCODE;VolFront;VOL:Front||mutefront"
    B03,622,108,40,33,"SETVOL;$VolFront$"
     
    and after
    
    B02,558,108,40,33,"SETVARBYCODE;VolFront;VOL:Front||mutefront"
    B03,622,108,40,33,"SETVOL;VolFront"
    My gool is if the volume is at 40% , i want to save 40 in a variable , change the volume if i want and after use a button who read the value=40 to set the value at the old value .

    Somebody can help me please ?

    Thanks

  • #2
    To save it you should use: "SETVARBYCODE;PREVOL;VOL:Front"
    To restore it you should use: "SETVOL;Front;$PREVOL$"

    (Assuming your volume control is called "Front" -- otherwise it won't work).

    For a "MASTER" volume, you should probably use:

    To save it you should use: "SETVARBYCODE;PREVOL;VOLUME"
    To restore it you should use: "SETVOL;MASTER;$PREVOL$"
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

    Comment


    • #3
      Originally posted by guino View Post
      To save it you should use: "SETVARBYCODE;PREVOL;VOL:Front"
      To restore it you should use: "SETVOL;Front;$PREVOL$"

      (Assuming your volume control is called "Front" -- otherwise it won't work).

      For a "MASTER" volume, you should probably use:

      To save it you should use: "SETVARBYCODE;PREVOL;VOLUME"
      To restore it you should use: "SETVOL;MASTER;$PREVOL$"
      Thanks Guino, I try that !! Houpi

      Comment


      • #4
        I have tried to use the switcbutton command but i have some problem .

        on my .skin

        Code:
        B02,558,108,40,33,"FRONTOFF||SWITCHBUTTON;1>>FRONTON||SWITCHBUTTON;1"
        I22,558,108,40,33,"!mutefront:b"
        B03,622,108,40,33,"SETVARBYCODE;VolRear;VOL:Rear||muterear||SWITCHBUTTON;2>>SETVOL;Rear;$VolRear$||SETIND;!muterear;OFF||SWITCHBUTTON;2"
        I33,622,108,40,33,"!muterear:b"
        B05,683,108,40,33,"SETVARBYCODE;VolSub;VOL:Subwoofer||mutesub||SWITCHBUTTON;3>>SETVOL;Subwoofer;$VolSub$||SETIND;!mutesub;OFF||SWITCHBUTTON;3"
        I55,683,108,40,33,"!mutesub:b"
        B06,746,108,40,33,"SETVARBYCODE;VolCentre;VOL:Center||mutecentre||SWITCHBUTTON;4>>SETVOL;Center;$VolCentre$||SETIND;!mutecentre;OFF||SWITCHBUTTON;4"
        I66,746,108,40,33,"!mutecentre:b"
        and on my exectbl.ini

        Code:
        /**************************************mute 5.1******************************************
        "mutefront","SETVOL;Front;0||SETIND;!mutefront;ON"
        "muterear","SETVOL;Rear;0||SETIND;!muterear;ON"
        "mutesub","SETVOL;Subwoofer;0||SETIND;!mutesub;ON"
        "mutecentre","SETVOL;Center;0||SETIND;!mutecentre;ON"
        /**************************************************************************************
        Where is my error please.

        Comment


        • #5
          Ok , I understand my error .

          on my exectbl.ini
          Code:
          /**************************************mute 5.1******************************************
          "mutefront","SETVOL;Front;0||SETIND;!mutefront;ON"
          "muterear","SETVOL;Rear;0||SETIND;!muterear;ON"
          "mutesub","SETVOL;Subwoofer;0||SETIND;!mutesub;ON"
          "mutecentre","SETVOL;Center;0||SETIND;!mutecentre;ON"
          /**************************************************************************************
          on my .skin
          Code:
          B01,558,108,40,33,"SETVARBYCODE;VolFront;VOL:Front||mutefront||SWITCHBUTTON;1>>SETVOL;Front;$VolFront$||SETIND;!mutefront;OFF||SWITCHBUTTON;1",""
          I22,558,108,40,33,"!mutefront:b"
          B02,622,108,40,33,"SETVARBYCODE;VolRear;VOL:Rear||muterear||SWITCHBUTTON;2>>SETVOL;Rear;$VolRear$||SETIND;!muterear;OFF||SWITCHBUTTON;2",""
          I33,622,108,40,33,"!muterear:b"
          B03,683,108,40,33,"SETVARBYCODE;VolSub;VOL:Subwoofer||mutesub||SWITCHBUTTON;3>>SETVOL;Subwoofer;$VolSub$||SETIND;!mutesub;OFF||SWITCHBUTTON;3",""
          I55,683,108,40,33,"!mutesub:b"
          B04,746,108,40,33,"SETVARBYCODE;VolCentre;VOL:Center||mutecentre||SWITCHBUTTON;4>>SETVOL;Center;$VolCentre$||SETIND;!mutecentre;OFF||SWITCHBUTTON;4",""
          I66,746,108,40,33,"!mutecentre:b"
          But thes line run well if they are on .skin's top .

          Comment


          • #6
            Now, for another screen, i want to create 6 switch buttons with 6 indicator on/off and a backup in the skin.ini for the 6 status !

            I have my six button , i can save the button's status in the skin.ini file , but
            i should like that my screen read these six status .

            my screen code:
            Code:
            /, B, X, Y, W, H, COMMAND;COMMANDCODES, TOOLTIP
            B01,6,122,158,68,"SAVETOSKIN;poi1cmd1;ON||poi1cmd1ON||SETIND;!poi1cmd1;ON||SWITCHBUTTON;1>>SAVETOSKIN;poi1cmd1;OFF||SETVAR;poi1cmd1;$poi1cmd1$||poi1cmd1OFF||SETIND;!poi1cmd1;OFF||SWITCHBUTTON;1",""
            I01,5,190,158,24,"!poi1cmd1"
            B02,168,123,158,68,"SAVETOSKIN;poi2cmd2;ON||poi2cmd2ON||SETIND;!poi2cmd2;ON||SWITCHBUTTON;2>>SAVETOSKIN;poi2cmd2;OFF||SETVAR;poi1cmd1;$poi2cmd2$||poi2cmd2OFF||SETIND;!poi2cmd2;OFF||SWITCHBUTTON;2",""
            I02,167,191,158,22,"!poi2cmd2"
            B03,330,123,158,66,"SAVETOSKIN;poi3cmd3;ON||poi3cmd3ON||SETIND;!poi3cmd3;ON||SWITCHBUTTON;3>>SAVETOSKIN;poi3cmd3;OFF||SETVAR;poi3cmd3;$poi3cmd3$||poi3cmd3OFF||SETIND;!poi3cmd3;OFF||SWITCHBUTTON;3",""
            I03,330,191,158,22,"!poi3cmd3"
            B04,5,216,158,68,"SAVETOSKIN;poi4cmd4;ON||poi4cmd4ON||SETIND;!poi4cmd4;ON||SWITCHBUTTON;4>>SAVETOSKIN;poi4cmd4;OFF||SETVAR;poi4cmd4;$poi4cmd4$||poi4cmd4OFF||SETIND;!poi4cmd4;OFF||SWITCHBUTTON;4",""
            I04,6,285,158,22,"!poi4cmd4" 
            B05,168,218,158,68,"SAVETOSKIN;poi4cmd5;ON||poi5cmd5ON||SETIND;!poi5cmd5;ON||SWITCHBUTTON;5>>SAVETOSKIN;poi5cmd5;OFF||SETVAR;poi5cmd5;$poi5cmd5$||poi5cmd5OFF||SETIND;!poi5cmd5;OFF||SWITCHBUTTON;5",""
            I05,168,286,158,22,"!poi5cmd5" 
            B06,329,218,158,68,"SAVETOSKIN;poi6cmd6;ON||poi6cmd6ON||SETIND;!poi6cmd6;ON||SWITCHBUTTON;6>>SAVETOSKIN;poi6cmd6;OFF||SETVAR;poi6cmd6;$poi6cmd6$||poi6cmd6OFF||SETIND;!poi6cmd6;OFF||SWITCHBUTTOFF;6",""
            I06,330,286,158,22,"!poi6cmd6"
            in my skin.ini:
            Code:
            [Six Commands Setup]
            poi1cmd1=OFF
            poi2cmd2=OFF
            poi3cmd3=OFF
            poi4cmd4=ON
            poi6cmd5=ON
            poi4cmd6=OFF
            my exectbl.ini file:
            Code:
            "poi1cmd1ON","RRVolRamper_Dn;75;30||say;commande une activée||RRVolRamper_Up"
            "poi1cmd1OFF","RRVolRamper_Dn;75;30||say;commande une désactivée||RRVolRamper_Up"
            
            "poi2cmd2ON","RRVolRamper_Dn;75;30||say;commande deux activée||RRVolRamper_Up"
            "poi2cmd2OFF","RRVolRamper_Dn;75;30||say;commande deux désactivée||RRVolRamper_Up"
            
            "poi3cmd3ON","RRVolRamper_Dn;75;30||say;commande trois activée||RRVolRamper_Up"
            "poi3cmd3OFF","RRVolRamper_Dn;75;30||say;commande trois désactivée||RRVolRamper_Up"
            
            "poi4cmd4ON","RRVolRamper_Dn;75;30||say;commande quatre activée||RRVolRamper_Up"
            "poi4cmd4OFF","RRVolRamper_Dn;75;30||say;commande quatre désactivée||RRVolRamper_Up"
            
            "poi5cmd5ON","RRVolRamper_Dn;75;30||say;commande trois activée||RRVolRamper_Up"
            "poi5cmd5OFF","RRVolRamper_Dn;75;30||say;commande trois désactivée||RRVolRamper_Up"
            
            "poi6cmd6ON","RRVolRamper_Dn;75;30||say;commande quatre activée||RRVolRamper_Up"
            "poi6cmd6OFF","RRVolRamper_Dn;75;30||say;commande quatre désactivée||RRVolRamper_Up
            How can i must to do when RR run .

            Comment


            • #7
              This isn't making much sense though...
              Code:
              "SAVETOSKIN;poi1cmd1;ON||poi1cmd1ON||SETIND;!poi1cmd1;ON||SWITCHBUTTON;1>>SAVETOSKIN;poi1cmd1;OFF||SETVAR;poi1cmd1;$poi1cmd1$||poi1cmd1OFF||SETIND;!poi1cmd1;OFF||SWITCHBUTTON;1"
              But you'll probably need to execute a few commands using ONSKINSTART to compare if the poiXcmd is on and re-run the command to set the indicator... something like (ALL UNTESTED):

              Code:
              "ONSKINSTATRT","<existingcommands>||EVAL;POION;strcomp("ON";"$POI1CMD1$")||BYVAR;POION;<<POI1CMD1ON||EVAL;POION;strcomp("ON";"$POI2CMD2$")||BYVAR;POION;<<POI2CMD2ON||EVAL;POION;strcomp("ON";"$POI3CMD3$")||BYVAR;POION;<<POI3CMD3ON||EVAL;POION;strcomp("ON";"$POI4CMD4$")||BYVAR;POION;<<POI4CMD4ON||EVAL;POION;strcomp("ON";"$POI5CMD5$")||BYVAR;POION;<<POI5CMD5ON||EVAL;POION;strcomp("ON";"$POI6CMD6$")||BYVAR;POION;<<POI6CMD6ON||<morecommands>"
              I'd go with something like this for the buttons:
              Code:
              "BYVAR;POI1CMD1;poi1cmd1ON<<poi1cmd1OFF"
              "BYVAR;POI2CMD2;poi2cmd2ON<<poi2cmd2OFF"
              "BYVAR;POI3CMD3;poi3cmd3ON<<poi3cmd3OFF"
              "BYVAR;POI4CMD4;poi4cmd4ON<<poi4cmd4OFF"
              "BYVAR;POI5CMD5;poi5cmd5ON<<poi5cmd5OFF"
              "BYVAR;POI6CMD6;poi6cmd6ON<<poi6cmd6OFF"
              and Exectbl:
              Code:
              "poi1cmd1ON","SAVETOSKIN;poi1cmd1;ON||SETVAR;poi1cmd1;ON||SETIND;!poi1cmd1;ON||ACTIVATEDCMD"
              "poi1cmd1OFF","SAVETOSKIN;poi1cmd1;OFF||SETVAR;poi1cmd1;OFF||SETIND;!poi1cmd1;OFF||DEACTIVATEDCMD"
              "poi2cmd1ON","SAVETOSKIN;poi2cmd2;ON||SETVAR;poi2cmd2;ON||SETIND;!poi2cmd2;ON||ACTIVATEDCMD"
              "poi2cmd1OFF","SAVETOSKIN;poi2cmd2;OFF||SETVAR;poi2cmd2;OFF||SETIND;!poi2cmd2;OFF||DEACTIVATEDCMD"
              "poi3cmd1ON","SAVETOSKIN;poi3cmd3;ON||SETVAR;poi3cmd3;ON||SETIND;!poi3cmd3;ON||ACTIVATEDCMD"
              "poi3cmd1OFF","SAVETOSKIN;poi3cmd3;OFF||SETVAR;poi3cmd3;OFF||SETIND;!poi3cmd3;OFF||DEACTIVATEDCMD"
              "poi4cmd1ON","SAVETOSKIN;poi4cmd4;ON||SETVAR;poi4cmd4;ON||SETIND;!poi4cmd4;ON||ACTIVATEDCMD"
              "poi4cmd1OFF","SAVETOSKIN;poi4cmd4;OFF||SETVAR;poi4cmd4;OFF||SETIND;!poi4cmd4;OFF||DEACTIVATEDCMD"
              "poi5cmd1ON","SAVETOSKIN;poi5cmd5;ON||SETVAR;poi5cmd5;ON||SETIND;!poi5cmd5;ON||ACTIVATEDCMD"
              "poi5cmd1OFF","SAVETOSKIN;poi5cmd5;OFF||SETVAR;poi5cmd5;OFF||SETIND;!poi5cmd5;OFF||DEACTIVATEDCMD"
              "poi6cmd1ON","SAVETOSKIN;poi6cmd6;ON||SETVAR;poi6cmd6;ON||SETIND;!poi6cmd6;ON||ACTIVATEDCMD"
              "poi6cmd1OFF","SAVETOSKIN;poi6cmd6;OFF||SETVAR;poi6cmd6;OFF||SETIND;!poi6cmd6;OFF||DEACTIVATEDCMD"
              
              "ACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande une activée||RRVolRamper_Up"
              "DEACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande une désactivée||RRVolRamper_Up"
              While everything above is untested, you should get the idea -- I don't see the need to call anything poiXcmdX though -- should be just poicmdX (just makes it harder to copy/paste).
              Ride Runner RR's Myspace

              "Being happy is not about having what you want, it's about wanting what you have."
              "The best things in life are always free - but that doesn't mean money can't buy you good things."

              Comment


              • #8
                Just to make the code cleaner(easier to read thru), you could also use one of the RRExt cmds 'BYSTR" It combines the EVAL & BYVAR into one simple cmd.

                THis...

                PHP Code:

                "ONSKINSTATRT","<existingcommands>||EVAL;POION;strcomp("ON";"$POI1CMD1$")||BYVAR;POION;<<POI1CMD1ON||EVAL;POION;strcomp("ON";"$POI2CMD2$")||BYVAR;POION;<<POI2CMD2ON||EVAL;POION;strcomp("ON";"$POI3CMD3$")||BYVAR;POION;<<POI3CMD3ON||EVAL;POION;strcomp("ON";"$POI4CMD4$")||BYVAR;POION;<<POI4CMD4ON||EVAL;POION;strcomp("ON";"$POI5CMD5$")||BYVAR;POION;<<POI5CMD5ON||EVAL;POION;strcomp("ON";"$POI6CMD6$")||BYVAR;POION;<<POI6CMD6ON||<morecommands>" 
                TO...

                PHP Code:

                "ONSKINSTATRT","<existingcommands>||BYSTR;$POI1CMD1$;ON<POI1CMD1ON>||BYSTR;$POI2CMD2$;ON<POI1CMD1ON>||BYSTR;$POI3CMD3$;ON<POI1CMD1ON>||BYSTR;$POI3CMD3$;ON<POI1CMD1ON>||BYSTR;$POI4CMD4$;ON<POI1CMD1ON>||BYSTR;$POI5CMD5$;ON<POI1CMD1ON>||BYSTR;$POI6CMD6$;ON<POI1CMD1ON>||<morecommands> 
                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


                • #9
                  Thanks Guino, thanks Blue, i try these lines asap , ans say you if that id do what i want .

                  Comment


                  • #10
                    Hello,
                    I have tested your lines
                    on my skin:
                    Code:
                    /, B, X, Y, W, H, COMMAND;COMMANDCODES, TOOLTIP
                    B01,6,122,158,68,"BYVAR;POI1CMD1;poi1cmd1ON<<poi1cmd1OFF"
                    I01,5,190,158,24,"!poi1cmd1"
                    B02,168,123,158,68,"BYVAR;POI2CMD2;poi2cmd2ON<<poi2cmd2OFF"
                    I02,167,191,158,22,"!poi2cmd2"
                    B03,330,123,158,66,"BYVAR;POI3CMD3;poi3cmd3ON<<poi3cmd3OFF"
                    I03,330,191,158,22,"!poi3cmd3"
                    B04,5,216,158,68,"BYVAR;POI4CMD4;poi4cmd4ON<<poi4cmd4OFF"
                    I05,6,285,158,22,"!poi4cmd4" 
                    B05,168,218,158,68,"BYVAR;POI5CMD5;poi5cmd5ON<<poi5cmd5OFF"
                    I06,168,286,158,22,"!poi5cmd5" 
                    B06,329,218,158,68,"BYVAR;POI6CMD6;poi6cmd6ON<<poi6cmd6OFF"
                    I04,330,286,158,22,"!poi6cmd6"
                    on my exectbl.ini file:
                    Code:
                    /**************************************Twelve commands******************************************
                    "MYCOMMANDS","BYSTR;$poi1cmd1$;ON<poi1cmd1ON>||BYSTR;$POI2CMD2$;ON<POI1CMD1ON>||BYSTR;$POI3CMD3$;ON<POI1CMD1ON>||BYSTR;$POI3CMD3$;ON<POI1CMD1ON>||BYSTR;$POI4CMD4$;ON<POI1CMD1ON>||BYSTR;$POI5CMD5$;ON<POI1CMD1ON>||BYSTR;$POI6CMD6$;ON<POI1CMD1ON>"
                    "poi1cmd1ON","SAVETOSKIN;poi1cmd1;ON||SETVAR;poi1cmd1;ON||SETIND;!poi1cmd1;ON||ACTIVATEDCMD"
                    "poi1cmd1OFF","SAVETOSKIN;poi1cmd1;OFF||SETVAR;poi1cmd1;OFF||SETIND;!poi1cmd1;OFF||DEACTIVATEDCMD"
                    "poi2cmd1ON","SAVETOSKIN;poi2cmd2;ON||SETVAR;poi2cmd2;ON||SETIND;!poi2cmd2;ON||ACTIVATEDCMD"
                    "poi2cmd1OFF","SAVETOSKIN;poi2cmd2;OFF||SETVAR;poi2cmd2;OFF||SETIND;!poi2cmd2;OFF||DEACTIVATEDCMD"
                    "poi3cmd1ON","SAVETOSKIN;poi3cmd3;ON||SETVAR;poi3cmd3;ON||SETIND;!poi3cmd3;ON||ACTIVATEDCMD"
                    "poi3cmd1OFF","SAVETOSKIN;poi3cmd3;OFF||SETVAR;poi3cmd3;OFF||SETIND;!poi3cmd3;OFF||DEACTIVATEDCMD"
                    "poi4cmd1ON","SAVETOSKIN;poi4cmd4;ON||SETVAR;poi4cmd4;ON||SETIND;!poi4cmd4;ON||ACTIVATEDCMD"
                    "poi4cmd1OFF","SAVETOSKIN;poi4cmd4;OFF||SETVAR;poi4cmd4;OFF||SETIND;!poi4cmd4;OFF||DEACTIVATEDCMD"
                    "poi5cmd1ON","SAVETOSKIN;poi5cmd5;ON||SETVAR;poi5cmd5;ON||SETIND;!poi5cmd5;ON||ACTIVATEDCMD"
                    "poi5cmd1OFF","SAVETOSKIN;poi5cmd5;OFF||SETVAR;poi5cmd5;OFF||SETIND;!poi5cmd5;OFF||DEACTIVATEDCMD"
                    "poi6cmd1ON","SAVETOSKIN;poi6cmd6;ON||SETVAR;poi6cmd6;ON||SETIND;!poi6cmd6;ON||ACTIVATEDCMD"
                    "poi6cmd1OFF","SAVETOSKIN;poi6cmd6;OFF||SETVAR;poi6cmd6;OFF||SETIND;!poi6cmd6;OFF||DEACTIVATEDCMD"
                    
                    "ACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande activée||RRVolRamper_Up"
                    "DEACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande désactivée||RRVolRamper_Up"
                    /**************************************************************************************
                    and i add MYCOMMANDS to my existing ONSKINSTART line .

                    When i run RR, automatically poi1cmd1 is set to ON even if poi1cmd1=OFF before that RR run .


                    That i should like is the possibility to set on or off the six commands and when rr run it see the six status and stay with these status .

                    Comment


                    • #11
                      That is b/c BYVAR doesn't understand ON/OFF only true/false and numbers starting w/ zero.

                      What i did was changed the ON=1, OFF=0 then byvar will now work.

                      Here are the untested fixed lines...

                      Code:
                      /**************************************Twelve commands******************************************
                      "MYCOMMANDS","BYVAR;$poi1cmd1$;<<poi1cmd1ON||BYVAR;$POI2CMD2$;<<POI1CMD1ON||BYVAR;$POI3CMD3$;<<POI1CMD1ON||BYVAR;$POI3CMD3$;<<POI1CMD1ON||BYVAR;$POI4CMD4$;<<POI1CMD1ON||BYVAR;$POI5CMD5$;<<POI1CMD1ON||BYVAR;$POI6CMD6$;<<POI1CMD1ON"
                      "poi1cmd1ON","SAVETOSKIN;poi1cmd1;1||SETVAR;poi1cmd1;1||SETIND;!poi1cmd1;ON||ACTIVATEDCMD"
                      "poi1cmd1OFF","SAVETOSKIN;poi1cmd1;0||SETVAR;poi1cmd1;0||SETIND;!poi1cmd1;OFF||DEACTIVATEDCMD"
                      "poi2cmd1ON","SAVETOSKIN;poi2cmd2;1||SETVAR;poi2cmd2;1||SETIND;!poi2cmd2;ON||ACTIVATEDCMD"
                      "poi2cmd1OFF","SAVETOSKIN;poi2cmd2;0||SETVAR;poi2cmd2;0||SETIND;!poi2cmd2;OFF||DEACTIVATEDCMD"
                      "poi3cmd1ON","SAVETOSKIN;poi3cmd3;1||SETVAR;poi3cmd3;1||SETIND;!poi3cmd3;ON||ACTIVATEDCMD"
                      "poi3cmd1OFF","SAVETOSKIN;poi3cmd3;0||SETVAR;poi3cmd3;0||SETIND;!poi3cmd3;OFF||DEACTIVATEDCMD"
                      "poi4cmd1ON","SAVETOSKIN;poi4cmd4;1||SETVAR;poi4cmd4;1||SETIND;!poi4cmd4;ON||ACTIVATEDCMD"
                      "poi4cmd1OFF","SAVETOSKIN;poi4cmd4;0||SETVAR;poi4cmd4;0||SETIND;!poi4cmd4;OFF||DEACTIVATEDCMD"
                      "poi5cmd1ON","SAVETOSKIN;poi5cmd5;1||SETVAR;poi5cmd5;1||SETIND;!poi5cmd5;ON||ACTIVATEDCMD"
                      "poi5cmd1OFF","SAVETOSKIN;poi5cmd5;0||SETVAR;poi5cmd5;0||SETIND;!poi5cmd5;OFF||DEACTIVATEDCMD"
                      "poi6cmd1ON","SAVETOSKIN;poi6cmd6;1||SETVAR;poi6cmd6;1||SETIND;!poi6cmd6;ON||ACTIVATEDCMD"
                      "poi6cmd1OFF","SAVETOSKIN;poi6cmd6;0||SETVAR;poi6cmd6;0||SETIND;!poi6cmd6;OFF||DEACTIVATEDCMD"
                      "ACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande activée||RRVolRamper_Up"
                      "DEACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande désactivée||RRVolRamper_Up"
                      /**************************************************************************************
                      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


                      • #12
                        Originally posted by Blue ZX3 View Post
                        That is b/c BYVAR doesn't understand ON/OFF only true/false and numbers starting w/ zero.

                        What i did was changed the ON=1, OFF=0 then byvar will now work.

                        Here are the untested fixed lines...

                        Code:
                        /**************************************Twelve commands******************************************
                        "MYCOMMANDS","BYVAR;$poi1cmd1$;<<poi1cmd1ON||BYVAR;$POI2CMD2$;<<POI1CMD1ON||BYVAR;$POI3CMD3$;<<POI1CMD1ON||BYVAR;$POI3CMD3$;<<POI1CMD1ON||BYVAR;$POI4CMD4$;<<POI1CMD1ON||BYVAR;$POI5CMD5$;<<POI1CMD1ON||BYVAR;$POI6CMD6$;<<POI1CMD1ON"
                        "poi1cmd1ON","SAVETOSKIN;poi1cmd1;1||SETVAR;poi1cmd1;1||SETIND;!poi1cmd1;ON||ACTIVATEDCMD"
                        "poi1cmd1OFF","SAVETOSKIN;poi1cmd1;0||SETVAR;poi1cmd1;0||SETIND;!poi1cmd1;OFF||DEACTIVATEDCMD"
                        "poi2cmd1ON","SAVETOSKIN;poi2cmd2;1||SETVAR;poi2cmd2;1||SETIND;!poi2cmd2;ON||ACTIVATEDCMD"
                        "poi2cmd1OFF","SAVETOSKIN;poi2cmd2;0||SETVAR;poi2cmd2;0||SETIND;!poi2cmd2;OFF||DEACTIVATEDCMD"
                        "poi3cmd1ON","SAVETOSKIN;poi3cmd3;1||SETVAR;poi3cmd3;1||SETIND;!poi3cmd3;ON||ACTIVATEDCMD"
                        "poi3cmd1OFF","SAVETOSKIN;poi3cmd3;0||SETVAR;poi3cmd3;0||SETIND;!poi3cmd3;OFF||DEACTIVATEDCMD"
                        "poi4cmd1ON","SAVETOSKIN;poi4cmd4;1||SETVAR;poi4cmd4;1||SETIND;!poi4cmd4;ON||ACTIVATEDCMD"
                        "poi4cmd1OFF","SAVETOSKIN;poi4cmd4;0||SETVAR;poi4cmd4;0||SETIND;!poi4cmd4;OFF||DEACTIVATEDCMD"
                        "poi5cmd1ON","SAVETOSKIN;poi5cmd5;1||SETVAR;poi5cmd5;1||SETIND;!poi5cmd5;ON||ACTIVATEDCMD"
                        "poi5cmd1OFF","SAVETOSKIN;poi5cmd5;0||SETVAR;poi5cmd5;0||SETIND;!poi5cmd5;OFF||DEACTIVATEDCMD"
                        "poi6cmd1ON","SAVETOSKIN;poi6cmd6;1||SETVAR;poi6cmd6;1||SETIND;!poi6cmd6;ON||ACTIVATEDCMD"
                        "poi6cmd1OFF","SAVETOSKIN;poi6cmd6;0||SETVAR;poi6cmd6;0||SETIND;!poi6cmd6;OFF||DEACTIVATEDCMD"
                        "ACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande activée||RRVolRamper_Up"
                        "DEACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande désactivée||RRVolRamper_Up"
                        /**************************************************************************************
                        I have tried these new lines.
                        Only the first button run well with the indicator on/off and in the skin the good setup 0/1.
                        For the five other buttons the setup (0/1) on the skin.ini is good , but the indicators don't run .
                        And for each commands , when RR run it does not read the skin.ini file , also the indicators are off even if in skin.ini they are on 1 ?

                        I have modified the first line :
                        Code:
                        "MYCOMMANDS","BYVAR;$poi1cmd1$;<<poi1cmd1ON||BYVAR;$POI2CMD2$;<<POI1CMD1ON||BYVAR;$POI3CMD3$;<<POI1CMD1ON||BYVAR;$POI3CMD3$;<<POI1CMD1ON||BYVAR;$POI4CMD4$;<<POI1CMD1ON||BYVAR;$POI5CMD5$;<<POI1CMD1ON||BYVAR;$POI6CMD6$;<<POI1CMD1ON"
                        by
                        Code:
                        "MYCOMMANDS","BYVAR;$poi1cmd1$;<<poi1cmd1ON||BYVAR;$POI2CMD2$;<<POI1CMD1ON||BYVAR;$POI3CMD3$;<<POI1CMD1ON||BYVAR;$POI4CMD4$;<<POI1CMD1ON||BYVAR;$POI5CMD5$;<<POI1CMD1ON||BYVAR;$POI6CMD6$;<<POI1CMD1ON"
                        I don't know if i do that or not !

                        Comment


                        • #13
                          Ok, I have found some little errors:

                          I have modified the exectbl lines:
                          Code:
                          /**************************************Twelve commands******************************************
                          "MYCOMMANDS","BYVAR;$poi1cmd1$;<<poi1cmd1ON||BYVAR;$poi2cmd2$;<<poi1cmd1ON||BYVAR;$POI3CMD3$;<<POI1CMD1ON||BYVAR;$POI4CMD4$;<<POI1CMD1ON||BYVAR;$POI5CMD5$;<<POI1CMD1ON||BYVAR;$POI6CMD6$;<<POI1CMD1ON"
                          "poi1cmd1ON","SAVETOSKIN;poi1cmd1;1||SETVAR;poi1cmd1;1||SETIND;!poi1cmd1;ON||ACTIVATEDCMD"
                          "poi1cmd1OFF","SAVETOSKIN;poi1cmd1;0||SETVAR;poi1cmd1;0||SETIND;!poi1cmd1;OFF||DEACTIVATEDCMD"
                          "poi2cmd2ON","SAVETOSKIN;poi2cmd2;1||SETVAR;poi2cmd2;1||SETIND;!poi2cmd2;ON||ACTIVATEDCMD"
                          "poi2cmd2OFF","SAVETOSKIN;poi2cmd2;0||SETVAR;poi2cmd2;0||SETIND;!poi2cmd2;OFF||DEACTIVATEDCMD"
                          "poi3cmd3ON","SAVETOSKIN;poi3cmd3;1||SETVAR;poi3cmd3;1||SETIND;!poi3cmd3;ON||ACTIVATEDCMD"
                          "poi3cmd3OFF","SAVETOSKIN;poi3cmd3;0||SETVAR;poi3cmd3;0||SETIND;!poi3cmd3;OFF||DEACTIVATEDCMD"
                          "poi4cmd4ON","SAVETOSKIN;poi4cmd4;1||SETVAR;poi4cmd4;1||SETIND;!poi4cmd4;ON||ACTIVATEDCMD"
                          "poi4cmd4OFF","SAVETOSKIN;poi4cmd4;0||SETVAR;poi4cmd4;0||SETIND;!poi4cmd4;OFF||DEACTIVATEDCMD"
                          "poi5cmd5ON","SAVETOSKIN;poi5cmd5;1||SETVAR;poi5cmd5;1||SETIND;!poi5cmd5;ON||ACTIVATEDCMD"
                          "poi5cmd5OFF","SAVETOSKIN;poi5cmd5;0||SETVAR;poi5cmd5;0||SETIND;!poi5cmd5;OFF||DEACTIVATEDCMD"
                          "poi6cmd6ON","SAVETOSKIN;poi6cmd6;1||SETVAR;poi6cmd6;1||SETIND;!poi6cmd6;ON||ACTIVATEDCMD"
                          "poi6cmd6OFF","SAVETOSKIN;poi6cmd6;0||SETVAR;poi6cmd6;0||SETIND;!poi6cmd6;OFF||DEACTIVATEDCMD"
                          
                          "ACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande activée||RRVolRamper_Up"
                          "DEACTIVATEDCMD","RRVolRamper_Dn;75;30||say;commande désactivée||RRVolRamper_Up"
                          /**************************************************************************************
                          Now all commands run well with the indicators , but the setup in the skin.ini are not read when RR run and the indicators are always off , but if i push on a button who are = 1, if see it and set it = 0 and run well the command DEACTIVATEDCMD .

                          Comment


                          • #14
                            Try...

                            I forgot to remove the "$" after i converted it..sorry...

                            Code:
                            "MYCOMMANDS","BYVAR;poi1cmd1;<<poi1cmd1ON||BYVAR;poi2cmd2;<<poi1cmd1ON||BYVAR;POI3CMD3;<<POI1CMD1ON||BYVAR;POI4CMD4;<<POI1CMD1ON||BYVAR;POI5CMD5;<<POI1CMD1ON||BYVAR;POI6CMD6;<<POI1CMD1ON"
                            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


                            • #15
                              Originally posted by Blue ZX3 View Post
                              Try...

                              I forgot to remove the "$" after i converted it..sorry...

                              Code:
                              "MYCOMMANDS","BYVAR;poi1cmd1;<<poi1cmd1ON||BYVAR;poi2cmd2;<<poi1cmd1ON||BYVAR;POI3CMD3;<<POI1CMD1ON||BYVAR;POI4CMD4;<<POI1CMD1ON||BYVAR;POI5CMD5;<<POI1CMD1ON||BYVAR;POI6CMD6;<<POI1CMD1ON"
                              Ok , Thanks Blue, i try that today and say you if it is good .

                              I try to create a screen for the Carwings Add Ons with twelve commands on/off .
                              I don't know if it is a good idea and if the RR's community will use it .

                              Use it with serialswitch or rrvoicecontrol, or to run any command , RR or windows is a good add on, i think .

                              I try that .

                              Thanks

                              Comment

                              Working...
                              X