Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 08-16-2009, 01:56 AM   #1
Constant Bitrate
 
Deric's Avatar
 
Join Date: Sep 2006
Posts: 184
Deric is an unknown quantity at this point
Run a command on skin load (feature request)

EDIT: Issue resolved - thanks goes to carputer1 for the help and pointing out my oversight


Is there a way to run a command in a skin without a button (ex ONLOAD or similar)? Could this feature be added in? I figured this would be more beneficial for the community than just skipping the menu.skin - See below

For my skin I want to bypass a root menu since it is visible througout the skin. Currently I'm doing this by setting a variable named $MAINSKIN$ and calling it via a start command. This requires setting the value in RR.INI(global). I would like not to modify RR.INI as users may have specific commands already in place. Plus if they choose to not use my skin it would be junk code in RR.ini at that point. I would like to control this on the skin level (local). I even looked through my debug.txt to see if there was a command I could piggy back off of to open the $MAINSKIN$ variable and found nothing that worked outside of what I already have. I have a solution that works but again modifying RR.ini is not desired IMO.
__________________
2006 Mustang with indash CarPC
Parts list  
D945GCLF22GB RAM20GB HDD
Opus 120W PSULilliput 8"Directed HD
RideRunnernLite XPiGO8

Last edited by Deric; 08-17-2009 at 12:29 AM.
Deric is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 08-16-2009, 03:47 AM   #2
THE EXPERIMENTER
 
carputer1's Avatar
 
Join Date: Sep 2007
Location: UK,Surrey
Posts: 1,358
carputer1 will become famous soon enough
have you tryed ONSKINSTART in your exectbl.ini in your skin file, this runs cmds when you start Riderunner ,almost all skins use it , to either set another screen or set dynamic menu buttons etc, this is from my exectbl.ini

"ONSKINSTART","BUTTONS||1STRUN||ONUSER"

"BUTTONS","SETVAR;BUTTONREADY"
"1STRUN","BYVAR;1STRUN;NOTHING<<MENU;Settings.skin ||SAVETOSKIN;1STRUN;0"

when i start Riderunner and the skin is loading, the ONSKINSTART line sets my dynamic buttons , then opens my settings.skin , and sets the skin.ini to 0 so my settings screen dose not show on 1strun again,
hope this helps
__________________
Links

Author of Ranger skin

Ford Ranger Truck Rebuild and system install Worklog

Current project status

Ranger Truck Rebuild 70% Current Open Project
Ranger Update:30% Total RE-WRITE
Ranger Help File:10%
Ride Runner Help File 30%
carputer1 is online now   Reply With Quote
Old 08-16-2009, 11:39 AM   #3
Constant Bitrate
 
Deric's Avatar
 
Join Date: Sep 2006
Posts: 184
Deric is an unknown quantity at this point
OMG I completely overlooked that one. It's not in the documentation which may be part of the reason and the fact I'm apparently blind when i'm in my exectbl.ini file. That works exactly for what I need.

Thanks

__________________
2006 Mustang with indash CarPC
Parts list  
D945GCLF22GB RAM20GB HDD
Opus 120W PSULilliput 8"Directed HD
RideRunnernLite XPiGO8
Deric is offline   Reply With Quote
Old 08-16-2009, 11:47 AM   #4
THE EXPERIMENTER
 
carputer1's Avatar
 
Join Date: Sep 2007
Location: UK,Surrey
Posts: 1,358
carputer1 will become famous soon enough
__________________
Links

Author of Ranger skin

Ford Ranger Truck Rebuild and system install Worklog

Current project status

Ranger Truck Rebuild 70% Current Open Project
Ranger Update:30% Total RE-WRITE
Ranger Help File:10%
Ride Runner Help File 30%
carputer1 is online now   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
Feature Request: dynamically loaded skin components spamminator RR Skins 8 07-14-2009 01:44 PM
Feature Request: Additional Browser Support in RR Config Kardain Road Runner 6 04-09-2009 09:02 AM
problems with navigation in streetdeck customaudioman StreetDeck 3 01-25-2008 01:46 PM
Feature Request: Load recursive directories fluffy2097 ME Archive 17 11-10-2003 03:40 AM
Arby Skin - Feature Request nolmscheid Software & Software Development 0 11-11-2002 07:10 PM



All times are GMT -5. The time now is 02:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics