Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > Road Runner > RR Plugins


Reply
 
Share Thread Tools Display Modes
Old 03-11-2009, 10:56 AM   #1
One Sharp Cheddar
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
ThunderStick is on a distinguished road
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
File Type: zip ButtonChanger11mar2009.zip (235.8 KB, 19 views)
ThunderStick is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 03-11-2009, 11:25 AM   #2
FLAC
 
Sal R.'s Avatar
 
Join Date: Aug 2006
Location: Sun Diego
Posts: 1,384
Sal R. is an unknown quantity at this point
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 / nLite'd XP Pro with EWF-HORM / RR v9/22/2009 / Winamp v5.13 / RRMedia v1.2.2

Last edited by Sal R.; 03-11-2009 at 11:30 AM..
Sal R. is offline   Reply With Quote
Old 03-11-2009, 12:36 PM   #3
FLAC
 
EL CAMINO's Avatar
 
Join Date: Jul 2005
Location: upland california us
Posts: 1,011
EL CAMINO is on a distinguished road
been using it since LSX Void early stages, chuck start it to do it a long time ago. even dfx has it.
EL CAMINO is offline   Reply With Quote
Old 03-11-2009, 01:32 PM   #4
THE EXPERIMENTER
 
carputer1's Avatar
 
Join Date: Sep 2007
Posts: 1,344
carputer1 will become famous soon enough
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.
carputer1 is online now   Reply With Quote
Old 03-11-2009, 07:13 PM   #5
RoadRunner Mastermind
 
guino's Avatar
 
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,019
guino will become famous soon enoughguino will become famous soon enough
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."
guino is offline   Reply With Quote
Old 03-11-2009, 08:00 PM   #6
Raw Wave
 
treetop777's Avatar
 
Join Date: Sep 2006
Location: War-Town, GA.
Posts: 1,904
treetop777 is an unknown quantity at this point
This will prove to be usefull for us code-challenged folks.
treetop777 is offline   Reply With Quote
Old 03-11-2009, 09:06 PM   #7
One Sharp Cheddar
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
ThunderStick is on a distinguished road
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.
ThunderStick is offline   Reply With Quote
Old 03-11-2009, 09:11 PM   #8
One Sharp Cheddar
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
ThunderStick is on a distinguished road
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.
ThunderStick is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 03-11-2009, 09:12 PM   #9
One Sharp Cheddar
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
ThunderStick is on a distinguished road
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.
ThunderStick is offline   Reply With Quote
Old 03-12-2009, 12:49 AM   #10
FLAC
 
Sal R.'s Avatar
 
Join Date: Aug 2006
Location: Sun Diego
Posts: 1,384
Sal R. is an unknown quantity at this point
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 / nLite'd XP Pro with EWF-HORM / RR v9/22/2009 / Winamp v5.13 / RRMedia v1.2.2

Last edited by Sal R.; 03-12-2009 at 12:57 AM..
Sal R. is offline   Reply With Quote
Old 03-12-2009, 09:00 AM   #11
One Sharp Cheddar
 
ThunderStick's Avatar
 
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
ThunderStick is on a distinguished road
still requiring an extension plugin. Does look cool though.
I am not getting offended or anything just trying to explain the uses for this. Didnt realize there was something that did this allready. Yeah my script is pretty simple but it works for what I intended and thought I would share it.
If you dont want it dont download, I dont care...
ThunderStick is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Carwings fixerofallthing RR Released Skins 213 10-20-2009 01:51 PM
Please commont on a n00b's design idea of a do-it-yourself car audio system Zta Newbie 5 03-06-2009 05:15 PM
Fusion Buttons + Help with installation dhantiflag Fusion Brain 1 10-05-2007 04:14 AM
delete Buttons -> empty Buttons in the middle Firebird CF Bug Reports 1 07-10-2007 12:37 PM
Illuminated buttons for custom console mccleanp General Hardware Discussion 12 01-18-2002 10:37 PM



All times are GMT -5. The time now is 10:03 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
"VaultWiki" powered by VaultWiki v2.5.2.
Copyright © 2008 - 2009, Cracked Egg Studios.Ad Management by RedTyger
Message Board Statistics