Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: How to run command on certain skin?

  1. #1
    Variable Bitrate
    Join Date
    Nov 2004
    Posts
    242

    How to run command on certain skin?

    Hey all, I'm trying to run a command only when and each time the audio_player.skin player is switched to in RR? How does one code this?

  2. #2
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,061
    put a timer in the .skin and a translation code for whatever you want to run in exectbl.ini

    ie

    in the skin file

    TMR,2


    the 2 is the delay in seconds, you can change this to whatever you like, not sure if 0 works though but you can try it.

    and in ExecTbl.ini Remove the < and >

    "TIMER","<whatever you want to happen here>",audio_player.skin

  3. #3
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Or you can add this to ExecTBL.ini

    "AUDIO","AUDIO||<insert command here>"
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  4. #4
    Variable Bitrate
    Join Date
    Nov 2004
    Posts
    242
    Quote Originally Posted by Sal R. View Post
    Or you can add this to ExecTBL.ini

    "AUDIO","AUDIO||<insert command here>"
    Will this work even when the audio screen is switched to by RR and not manually by the user?

  5. #5
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by juve021 View Post
    Will this work even when the audio screen is switched to by RR and not manually by the user?
    as long as the "AUDIO" command is called, it should execute the above command.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  6. #6
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,762
    You may have to do something like this though:

    "AUDIO","<insertcommand>||CALLAUDIO"
    "CALLAUDIO","AUDIO"

    or just:

    "AUDIO","LOAD;Audio_player.skin||<insertcomman d>"

    The timer idea is nice too, but it will execute the command every so many seconds.. which may be a problem.
    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."

  7. #7
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,061
    Quote Originally Posted by guino View Post

    The timer idea is nice too, but it will execute the command every so many seconds.. which may be a problem.
    Oh yeah forgot to mention I user a variable to switch that off.

    So the other option is best for your purpose.

  8. #8
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    4,860
    "AUDIO","AUDIO||<insert command here>"

    This is the one that i'd use as its simple and will do exactly what you want...
    RideRunner...The #1 FE, PERIOD.

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

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

  9. #9
    Low Bitrate
    Join Date
    Aug 2006
    Location
    Columbus, OH
    Posts
    72
    Quote Originally Posted by Blue ZX3 View Post
    "AUDIO","AUDIO||<insert command here>"

    This is the one that i'd use as its simple and will do exactly what you want...
    What about running multiple commands?
    I have successfully working:
    "IGPAUSE","IGPAUSE||MUTE;Line-In"
    "IGRESUME","IGRESUME||MUTE;Line-In"

    But I'd like to run more actions out of the same command:
    "IGPAUSE","IGPAUSE||MUTE;Line-In||PLAY",@STOP
    "IGRESUME","IGRESUME||MUTE;Line-In||PLAY",PLAY@

    But the above isn't working for me. Can anyone help?
    Thanks,

    Michael

  10. #10
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    4,860
    your cmd's are going in circles...just look..

    It was my bad actually...sorry!

    Code:
    "IGPAUSE","MUTE;Line-In||PLAY",@STOP
    "IGRESUME","MUTE;Line-In||PLAY",PLAY@
    RideRunner...The #1 FE, PERIOD.

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

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

Page 1 of 2 12 LastLast

Similar Threads

  1. Virtual Earth cache builder? Or even gps simulator to make it cache?
    By thepunkerguy in forum DigitalMods (Scripts / API)
    Replies: 183
    Last Post: 08-28-2008, 09:58 PM
  2. Replies: 2
    Last Post: 07-24-2007, 10:11 AM
  3. TO ALL SKINNERS (read this)
    By jeep642 in forum RR Skins
    Replies: 11
    Last Post: 06-23-2007, 06:45 PM
  4. SKin SetVAR question...
    By GuMiSZu in forum Road Runner
    Replies: 2
    Last Post: 05-08-2007, 11:27 AM
  5. run applications from main skin
    By Viper_BB9 in forum FrodoPlayer
    Replies: 0
    Last Post: 11-19-2005, 12:42 PM

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
  •