|
 |
03-11-2009, 10:56 AM
|
#1
|
|
One Sharp Cheddar
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
|
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.
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
03-11-2009, 11:25 AM
|
#2
|
|
FLAC
Join Date: Aug 2006
Location: Sun Diego
Posts: 1,384
|
You can accomplish that using nothing but RR commands.
i.e.
Button:
Code:
BXX,...,"$BUTTON1$",""
.
skin.ini:
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..
|
|
|
03-11-2009, 12:36 PM
|
#3
|
|
FLAC
Join Date: Jul 2005
Location: upland california us
Posts: 1,011
|
been using it since LSX Void early stages, chuck start it to do it a long time ago. even dfx has it.
|
|
|
03-11-2009, 01:32 PM
|
#4
|
|
THE EXPERIMENTER
Join Date: Sep 2007
Posts: 1,344
|
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.
|
|
|
03-11-2009, 07:13 PM
|
#5
|
|
RoadRunner Mastermind
Join Date: Nov 2004
Location: Vitória, ES - Brazil
Posts: 9,019
|
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."
|
|
|
03-11-2009, 08:00 PM
|
#6
|
|
Raw Wave
Join Date: Sep 2006
Location: War-Town, GA.
Posts: 1,904
|
This will prove to be usefull for us code-challenged folks.
|
|
|
03-11-2009, 09:06 PM
|
#7
|
|
One Sharp Cheddar
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
|
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.
|
|
|
03-11-2009, 09:11 PM
|
#8
|
|
One Sharp Cheddar
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
|
Quote: Originally Posted by Sal R. 
You can accomplish that using nothing but RR commands.
i.e.
Button:
Code:
BXX,...,"$BUTTON1$",""
.
skin.ini:
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.
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
03-11-2009, 09:12 PM
|
#9
|
|
One Sharp Cheddar
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
|
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.
|
|
|
03-12-2009, 12:49 AM
|
#10
|
|
FLAC
Join Date: Aug 2006
Location: Sun Diego
Posts: 1,384
|
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..
|
|
|
03-12-2009, 09:00 AM
|
#11
|
|
One Sharp Cheddar
Join Date: Aug 2006
Location: West Allis, WI
Posts: 1,548
|
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...
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 10:03 AM.
| |