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

Thread: Dynamic Buttons for RR

  1. #1
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657

    Dynamic Buttons for RR

    Not sure how much interest there is in this but whipped it up real quick for something I am working on.
    This script will launch the osk asking for the command for the button
    then set the variable for the command
    then ask for the name of the button
    the set the variable for the button label.
    then save it all to your skin.ini

    Read the readme for complete instructions

    Has many uses. Can be used for creating changeable buttons in your skin for on the fly button changes with out having to reload rr or your skin.
    Attached Files Attached Files
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  2. #2
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    You can accomplish that using nothing but RR commands.

    i.e.
    Button:
    Code:
    BXX,...,"$BUTTON1$",""
    
    
    
    .
    skin.ini:
    Code:
    BUTTON1=AUDIO
    
    
    
    .
    Command to change the button:
    Code:
    BXX,...,"OSKTOVAR;BUTTON1",""
    
    
    
    .
    You can even use custom commands as long as they are defined in ExecTBL.ini before the skin loads. Otherwise, you'll have to reloadskin with the custom command alredy defined.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  3. #3
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    been using it since LSX Void early stages, chuck start it to do it a long time ago. even dfx has it.

  4. #4
    THE EXPERIMENTER
    Auto Apps:loading...
    carputer1's Avatar
    Join Date
    Sep 2007
    Location
    UK,Surrey
    Posts
    1,979
    yep i have it in my skin just RR cmds, but each to there own if it works the way you want it to whats the harm, its just a different approach.

  5. #5
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Having more options is always a good thing.
    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."

  6. #6
    Raw Wave treetop777's Avatar
    Join Date
    Sep 2006
    Location
    War-Town, GA.
    Posts
    2,233
    This will prove to be usefull for us code-challenged folks.

  7. #7
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657
    It gives a more automated way of doing it. I know how to do it with RR commands, but it makes it easier to impliment this into a skin.
    Also makes it easier for the user to understand.
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  8. #8
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657
    Quote Originally Posted by Sal R. View Post
    You can accomplish that using nothing but RR commands.

    i.e.
    Button:
    Code:
    BXX,...,"$BUTTON1$",""
    
    
    
    .
    skin.ini:
    Code:
    BUTTON1=AUDIO
    
    
    
    .
    Command to change the button:
    Code:
    BXX,...,"OSKTOVAR;BUTTON1",""
    
    
    
    .
    You can even use custom commands as long as they are defined in ExecTBL.ini before the skin loads. Otherwise, you'll have to reloadskin with the custom command alredy defined.
    Know that, if you look at the exectbl.ini included in my skins you will see that I have it rittled with commands.
    But to make it easier for the user to change the command on the fly this will work very well.
    going and editing the skin.ini everytime you want a change is a pain in the you know what.
    but simply pressing a button which automates the whole process of setting the command variable, writing to skin.ini, setting the label variable and saving that to skin.ini was well. This also brings up the OSK automatically and tells you what to enter.
    This was created for someone that wants a user friendly skin with the least bit of additional coding needed.
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  9. #9
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657
    also using this for a different menu method. Not going to mention what yet. But will be pretty damn cool.
    Guino may have an idea since he has helped me with one part of it allready.
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  10. #10
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Not trying to knock ya or anthing. Just showing RR's countless possibilites.

    You can do wonderous things with RR alone...with a little help from Blue's RRExt. Using RR code, I can add new functions to my skin w/o having to open skin.ini or ExecTBL.ini.

    It helps to save space and the EWF/CF guys (raises hand) appreciates lite skins.











    This is just meant to get your creative juices flowing...

    Happy skinning!

    [/Cheers]

    DISCLAIMER: I'm not attempting to rip off LS's skin. His skin served as a major inspiration and currently just using it as a placeholder. I'll come up w/ my own graphics once I'm done skinning.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

Page 1 of 2 12 LastLast

Similar Threads

  1. Carwings
    By fixerofallthing in forum RR Released Skins
    Replies: 239
    Last Post: 03-16-2010, 09:25 AM
  2. Replies: 5
    Last Post: 03-06-2009, 05:15 PM
  3. Fusion Buttons + Help with installation
    By dhantiflag in forum Fusion Brain
    Replies: 1
    Last Post: 10-05-2007, 04:14 AM
  4. delete Buttons -> empty Buttons in the middle
    By Firebird in forum CF Bug Reports
    Replies: 1
    Last Post: 07-10-2007, 12:37 PM
  5. Illuminated buttons for custom console
    By mccleanp in forum General Hardware Discussion
    Replies: 12
    Last Post: 01-18-2002, 10:37 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
  •