Results 1 to 4 of 4

Thread: Run a command on skin load (feature request)

  1. #1
    Variable Bitrate Deric's Avatar
    Join Date
    Sep 2006
    Posts
    276

    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.

  2. #2
    THE EXPERIMENTER
    Auto Apps:loading...
    carputer1's Avatar
    Join Date
    Sep 2007
    Location
    UK,Surrey
    Posts
    1,979
    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
    Riderunner / Genesis
    Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
    New Home for Genesis & BassRR :adding to site ,, Hellfyre night
    Bassrr Beta Release :Version 1.3.7
    Movie_info Release :Version 3.1.0
    Wifiman_NET:Version 1.0.0

    Every Future, Needs A Beginning

  3. #3
    Variable Bitrate Deric's Avatar
    Join Date
    Sep 2006
    Posts
    276
    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


  4. #4
    THE EXPERIMENTER
    Auto Apps:loading...
    carputer1's Avatar
    Join Date
    Sep 2007
    Location
    UK,Surrey
    Posts
    1,979
    Riderunner / Genesis
    Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
    New Home for Genesis & BassRR :adding to site ,, Hellfyre night
    Bassrr Beta Release :Version 1.3.7
    Movie_info Release :Version 3.1.0
    Wifiman_NET:Version 1.0.0

    Every Future, Needs A Beginning

Similar Threads

  1. Feature Request: dynamically loaded skin components
    By spamminator in forum RR Skins
    Replies: 8
    Last Post: 07-14-2009, 12:44 PM
  2. Replies: 6
    Last Post: 04-09-2009, 08:02 AM
  3. problems with navigation in streetdeck
    By customaudioman in forum StreetDeck
    Replies: 3
    Last Post: 01-25-2008, 12:46 PM
  4. Feature Request: Load recursive directories
    By fluffy2097 in forum ME Archive
    Replies: 17
    Last Post: 11-10-2003, 02:40 AM
  5. Arby Skin - Feature Request
    By nolmscheid in forum Software & Software Development
    Replies: 0
    Last Post: 11-11-2002, 06:10 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
  •