Results 1 to 9 of 9

Thread: development request: better custom commands...

  1. #1
    Variable Bitrate
    Join Date
    Sep 2007
    Location
    Export, PA
    Posts
    255

    development request: better custom commands...

    Just a possible suggestion for the next release. It's cool and great that we're able to define our own custom commands in exectbl.ini, but we're somewhat limited to what we can create with them.

    What about making it possible for us to create custom commands with passed in parameters?

    For example. I want to have all 3 radios (FM/XM/Sirius) on 1 screen, with just 1 set of preset buttons for all 3 to use... When i go to save a preset, i dont want to have to use a byvar just to set a variable, then another byvar to run a SAVETOSKIN, etc... would be much easier if i just needed 1 byvar with a custom command that i could pass in the needed parameters to do what i need it to do...

    For instance, for the presets, the ability to create this in exectbl would be AWESOME...

    RADIOPRESET;<FM/XM/SR>;<PRESET NUMBER>;<PRESET VALUE>

    Examples:

    RADIOPRESET;FM;10;93.70
    RADIOPRESET;XM;5;25
    RADIOPRESET;SR;2;101

    see what i'm getting at here? RR is the most flexible frontend out, but this would put it well over the top, giving users an even wider range of abilities...

    was just a suggestion though, to which i'm used to my suggestions being turned down, so i'm not gonna hold my breath...lol
    Planning: [|||||||||-] 90%
    Purchased: [|||||||||/] 99%
    Installation: [|||||||||-] 90% (when is anyone's project ever REALLY done...)

  2. #2
    MySQL Error
    Auto Apps:loading...

    Join Date
    Oct 2004
    Posts
    4,413
    u could make a plugin

    ill reread this later... i just got home from Disney World
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

  3. #3
    Variable Bitrate
    Join Date
    Sep 2007
    Location
    Export, PA
    Posts
    255
    yeah i know ZERO programming....

    except for PHP/HTML/MySQL, but that's not really programming...lol

    asking me to write a plugin is like asking a rocket scientist to perform brain surgery......not wise, lol
    Planning: [|||||||||-] 90%
    Purchased: [|||||||||/] 99%
    Installation: [|||||||||-] 90% (when is anyone's project ever REALLY done...)

  4. #4
    Variable Bitrate
    Join Date
    Sep 2007
    Location
    Export, PA
    Posts
    255
    Here's the process I had to follow to do the same as what the above suggestion would have done...

    Button code:
    @SETVARBYCODE;PRESETNUM;1||RADIOPRESET@
    execTBL code:

    "RADIOPRESET","GETPREFIX||GETPVALUE||SAVETOSKIN;$R PREFIX$PRESET$PRESETNUM$;$PVALUE$"

    "GETPREFIX","BYVAR;ACTIVESOURCEID;<< <<SETVAR;RPREFIX;FM<<SETVAR;RPREFIX;XM<<SETVAR;RPR EFIX;SR"
    "GETPVALUE","BYVAR;ACTIVESOURCEID;<< <<SETVARBYCODE;PVALUE;FREQUENCE<<SETVARBYCODE;PVAL UE;TRACKNUMBER<<SETVARBYCODE;PVALUE;TRACKNUMBER"
    Planning: [|||||||||-] 90%
    Purchased: [|||||||||/] 99%
    Installation: [|||||||||-] 90% (when is anyone's project ever REALLY done...)

  5. #5
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    4,862
    Look at chucks skin...HAHAH

    That's nothing for just doing one thing...
    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

  6. #6
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,762
    On the latest versions of RR there IS a command (SETSOURCE) to switch the active source which would allow you to switch the source then use the preset command (which will work according to the source).
    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
    Variable Bitrate
    Join Date
    Sep 2007
    Location
    Export, PA
    Posts
    255
    the "RADIOPRESET" i show above is just for saving presets to skin.ini
    Planning: [|||||||||-] 90%
    Purchased: [|||||||||/] 99%
    Installation: [|||||||||-] 90% (when is anyone's project ever REALLY done...)

  8. #8
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,762
    My bad (will teach me to read closely)... but you shouldn't even need byvar to do what you're trying to do... try the below:

    Button code:
    @SETVARBYCODE;PRESETNUM;1||RADIOPRESET@

    execTBL code:
    "RADIOPRESET","SETVARBYCODE;PVALUE;FREQUENCE||SAVE TOSKIN;FMPRESET$PRESETNUM$;$PVALUE$",fm
    "RADIOPRESET","SETVARBYCODE;PVALUE;TRACKNUMBER||SA VETOSKIN;XMPRESET$PRESETNUM$;$PVALUE$",xm
    "RADIOPRESET","SETVARBYCODE;PVALUE;TRACKNUMBER||SA VETOSKIN;SRPRESET$PRESETNUM$;$PVALUE$",sr
    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
    Variable Bitrate
    Join Date
    Sep 2007
    Location
    Export, PA
    Posts
    255
    i'm confused how that would work...

    how would it distinguish between the 3 instances, since all 3 radios are on the same screen?
    Planning: [|||||||||-] 90%
    Purchased: [|||||||||/] 99%
    Installation: [|||||||||-] 90% (when is anyone's project ever REALLY done...)

Similar Threads

  1. Explantion needed about Skin commands
    By seninha in forum RR Skins
    Replies: 2
    Last Post: 03-12-2008, 03:17 PM
  2. feat request:
    By liquid_smoke in forum Road Runner
    Replies: 13
    Last Post: 01-02-2008, 11:34 AM
  3. RR 10-26-2007.. iLists & Custom stuff..
    By guino in forum Road Runner
    Replies: 106
    Last Post: 12-29-2007, 12:23 AM
  4. feature request: all commands avail for sliders
    By liquid_smoke in forum Road Runner
    Replies: 2
    Last Post: 10-15-2007, 07:58 PM
  5. Replies: 9
    Last Post: 07-09-2007, 01:25 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
  •