Results 1 to 10 of 10

Thread: Command execute by an Indicator State?

  1. #1
    Low Bitrate
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    84

    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. #2
    Mo' Programming Mo' Problems
    Auto Apps:loading...
    Sonicxtacy02's Avatar
    Join Date
    Sep 2004
    Location
    Woodbridge, VA
    Posts
    7,782
    Blog Entries
    32
    Quote 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
    NOVA, MD, DC Monthly Meets Here
    Ride Runner and Centrafuse 3 plugin creator
    mp3Car.com Senior Tech Blogger (Want a product reviewed? Contact me.)
    Find my plugins on the MP3Car App Store!
    Follow Me on Twitter or Facebook
    Live mp3Car Facebook Chat

  3. #3
    Low Bitrate
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    84
    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!

  4. #4
    MGD
    MGD is online now
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,731
    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.

  5. #5
    Low Bitrate
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    84
    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.

    ?

  6. #6
    MGD
    MGD is online now
    FLAC
    Auto Apps:loading...
    MGD's Avatar
    Join Date
    Feb 2005
    Location
    Los Angeles
    Posts
    1,731
    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.

  7. #7
    Low Bitrate
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    84
    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?


  8. #8
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,762
    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."

  9. #9
    Low Bitrate
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    84
    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 ?

  10. #10
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,762
    Quote 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."

Bookmarks

Posting Permissions

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