Results 1 to 5 of 5

Thread: setvar

  1. #1
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Location
    Houston, TX
    Posts
    551

    setvar

    in skin commands.txt:

    "SETVAR" - This allows you to set a global variable in RR. Those variables can be used for simple reference in the skin commands
    or be used to toggle between different groups of commands on skins (using BYVAR command).
    Example: "SETVAR;APPPATH;C:\MyApp\Myapp.exe"
    Then you can reference the variable APPPATH like this: "RUN;$APPPATH$"

    Note: SOME (but not all) settings in RR.INI can be changed in runtime.
    Note2: You can use ++ in this command when you'd like to delay reference to || on a command or label:
    [HL]Example1: Label Code: "$MYLABEL$" -- "SETVAR;MYLABEL;DATE++= ++TIME" (Displays DATE and TIME)[/HL]
    Example2: Command Code: "$MYCMD$" -- "SETVAR;MYCMD;AUDIO++PAUSE" (Executes AUDIO and PAUSE)


    The highlighted bit does not work. tried it manyy times in many scenarios. just doesnt work.

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    there's nothing wrong with it -- you just made me spend time testing it again. It works fine, you probably just don't have a label large enough to fit the information for display.
    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."

  3. #3
    Maximum Bitrate tundra2000's Avatar
    Join Date
    Mar 2006
    Location
    Houston, TX
    Posts
    551
    Quote Originally Posted by guino View Post
    there's nothing wrong with it -- you just made me spend time testing it again. It works fine, you probably just don't have a label large enough to fit the information for display.
    sry to upset, i still cant get it to work, and i know my labels large enough. its probably something im doing. ill keep looking at it, sorry to bother

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    maybe you're running an older/buggy version ? post your .skin file and I'll look at it.
    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."

  5. #5
    Constant Bitrate
    Join Date
    Dec 2008
    Posts
    167
    Got the same problem that SETVAR is not execute in label code

    Code:
    
    L03,202,369,370,24,#COL3R#,#COL3G#,#COL3B#,16,#FONT1#,"SETVAR;MYVAR;ABC||=$MYVAR$","CENTER"

    The label display nothing with above code

Similar Threads

  1. using setvar with ||
    By chevyn8 in forum Road Runner
    Replies: 2
    Last Post: 09-25-2007, 10:32 AM
  2. MENU POPUP with - SetVar / SetLabel question ...
    By kolemieux in forum Road Runner
    Replies: 9
    Last Post: 07-19-2007, 03:35 AM
  3. SKin SetVAR question...
    By GuMiSZu in forum Road Runner
    Replies: 2
    Last Post: 05-08-2007, 11:27 AM

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
  •