Announcement

Collapse
No announcement yet.

Command execute by an Indicator State?

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

  • Command execute by an Indicator State?

    Hi,

    I found nothing in the Forum and the Skin Commands.txt.

    I would execute a Command (defined only in execxtbl.ini) by an Indicator State in all/pre-defined Screens.

    How can I make that?

  • #2
    Originally posted by toxic000 View Post
    Hi,

    I found nothing in the Forum and the Skin Commands.txt.

    I would execute a Command (defined only in execxtbl.ini) by an Indicator State in all/pre-defined Screens.

    How can I make that?
    check out "BYIND" in skin commands.txt
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

    Comment


    • #3
      Can I write simply "ByInd..........","Play.." with or without ,XXX.skin?

      Functions, as soon as the indicator goes on?

      I thought, this goes only with Buttons...

      I thought, I must write "!IndicatorXX","Play...". And this has no Function.

      Thank you, I will test it!

      Comment


      • #4
        You need to use BYIND to do this.
        "BYIND;YOUR INDICATOR;PLAY"
        replace the YOUR INDICATOR with the name of the indicator you have and then place the command after that.

        Comment


        • #5
          I test this at the moment- The line of the exectbl.ini:

          "BYIND;online;PLAY"

          And then in Network-attitudes from WinXP deactivate LAN Connection- Has no Function. Re-activate from LAN, and wait till the Indicator(I see the Picture-Indicator) was on, but also no Function.

          ?

          Comment


          • #6
            You need to put this line "BYIND;online;PLAY"
            in the skin where the indicator is located. For example, you have the ONLINE indicator in the AUDO_PLAYER.skin then you need to put "BYIND;online;PLAY" in the AUDIO_PLAYER.skin file.

            Comment


            • #7
              Okay. I have no success today...

              I have tested in menu.skin:

              I,320,3,47,47,"ONLINE"
              BYIND;online;PLAY

              No Success.

              I,320,3,47,47,"ONLINE"
              "BYIND;online;PLAY"

              Also no Success.

              To test i deactivate and activate the LAN Connection. And switch to another Screens.
              Have you a example Skin File for me, where this work?

              Comment


              • #8
                BYIND is a command.. not an event. You can generate an event with a plugin/script or with a timer.. then have it execute byind... with a timer you'd have to put it on every screen or it would work only on the screen you add the timer...

                for instance:
                Code:
                in screen1.skin:
                TMR,10
                
                then in exectbl.ini:
                "TIMER","BYIND;ONLINE;GOOFF<<GOON",screen1.skin
                "GOON","BYVAR;ONLINE;NOWONLINE||SETVAR;ONLINE;1<<"
                "GOOFF","BYVAR;ONLINE;<<NOWOFFLINE||SETVAR;ONLINE;0"
                "NOWONLINE","PLACE HERE COMMAND TO EXECUTE ONCE WHEN SWITCHING FROM OFFLINE TO ONLINE"
                "NOWOFFLINE","PLACE HERE COMMAND TO EXECUTE ONCE WHEN SWITCHING FROM ONLINE TO OFFLINE"
                A script/plugin is still a better solution.
                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


                • #9
                  OK,

                  thanks for your Explanation.
                  The Timer can i not use, i have a TMR in all Screens. And i can in one Screen just use only one Timer. Or is more possible? Like TimerPlay=3 ?

                  Comment


                  • #10
                    Originally posted by toxic000 View Post
                    OK,

                    thanks for your Explanation.
                    The Timer can i not use, i have a TMR in all Screens. And i can in one Screen just use only one Timer. Or is more possible? Like TimerPlay=3 ?
                    You can only have one timer per screen, but the same timer can run multiple commands... and you can tweak each command to run at different rates using variables..
                    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

                    Working...
                    X