Page 1 of 4 1234 LastLast
Results 1 to 10 of 36

Thread: RR Strings/Variables Plugin [ Now in RRExtended ]

  1. #1
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079

    RR Strings/Variables Plugin [ Now in RRExtended ]

    Because there are currently no commands to do such and I have seen several users wanting a way to be able to only get a part of a RR variable I decieded to make a ext plugin that gives us these missing RR var cmd's without using an outside app like Autoit to do something that should be able to be done in RR.

    Without further a-do..

    The "<Var>" as used below is entered without the "$"'s
    In the examples below, "TrackPath" = "D:\MyMusic\AC-DC\Razors Edge\If You Dare.mp3"

    "FileFromPath"
    Returns the filename without extention in a given path
    "FileFromPath;<VAR>;<Return Var>"
    ie.."FileFromPath;TrackPath;Myvar"
    MyVar = "If You Dare"

    "FileExtFromPath"
    Returns the filename with extention in a given path
    "FileExtFromPath;<VAR>;<Return Var>"
    ie.."PathFromPath;TrackPath;Myvar"
    MyVar = "If You Dare.mp3"

    "PathFromPath"
    Returns the path without a filename
    "PathFromPath;<VAR>;<Return Var>"
    ie.."PathFromPath;TrackPath;Myvar"
    MyVar = "D:\MyMusic\AC-DC\Razors Edge\"

    "StrLeft"
    Returns the left <Num of Chars> of <Var>
    "StrLeft;<Var>;<Num of Chars>;<Return Var>"
    ie.."StrLeft;TrackPath;9;Myvar"
    MyVar = "D:\MyMusi"

    "StrRight"
    Returns the right <Num of Chars> of <Var>
    "StrRight;<Var>;<Num of Chars>;<Return Var>"
    ie.."StrRight;TrackPath;14;Myvar"
    MyVar = "f You Dare.mp3"

    "StrMid"
    Returns a number middle characters of <Var>
    "StrMid;<Var>;<Start Pos>;<Num of Chars>;<Return Var>"
    ie.."StrMid;TrackPath;3;17;Myvar"
    MyVar = "\MyMusic\AC-DC\Ra"
    Note:By using a "-1" as the <Num of Chars>, it will return from the <Start Pos> to the end of <Var>
    ie.."StrMid;TrackPath;14;-1;Myvar"
    MyVar = "DC\Razors Edge\If You Dare.mp3"

    "StrRepl"
    Replaces text in a var with other text
    "StrRepl;<Var>;<Text to replace>;<Replacement Text>;<Return Var>"
    ie.."StrRepl;TrackPath;AC-DC;Metallica;Myvar"
    MyVar = "D:\MyMusic\Metallica\Razors Edge\If You Dare.mp3"

    "StrLen"
    Returns the length of <var>
    "StrLen;<Var>;<Return Var>"
    ie.."StrLen;TrackPath;MyVar"
    MyVar = 44
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  2. #2
    Newbie
    Join Date
    Jun 2007
    Posts
    41
    Yuhuuuuuuuuu

    This is the best time you could have posted this (for me ), just today I had in mind to learn some of Autoit to write these functions and use them in RR.

    You saved me a lot of time!!

    thanks!! thanks!! thanks!!!

  3. #3
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    where are we putting these commands to get them to work?

    I registered the .dll and placed this in my exectbl.ini:

    Code:
    "PathFromPath;TRACKPATH;trackfolder"
    and tried to use the <var> trackfolder with and without $'s, but it didn't work.
    2007 Chrysler PT Cruiser TE
    Car PC Progress:
    Planning.......[---------X-] 95%
    Parts...........[---------X-] 90%
    Fabrication...[---------X-] 90%
    RR Skin........[---------X-] 95%
    View my
    Worklog
    Road Runner Skins
    Website
    Favorite thread EVER!

  4. #4
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    F-yeah!

    Awesome!
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  5. #5
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,619
    Quote Originally Posted by monkeyracer View Post
    where are we putting these commands to get them to work?

    I registered the .dll and placed this in my exectbl.ini:

    Code:
    "PathFromPath;TRACKPATH;trackfolder"
    and tried to use the <var> trackfolder with and without $'s, but it didn't work.

    You will need to add an X reference with the name of the DLL to your menu skin.

    ie

    X,RRStrings

  6. #6
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    but that doesn't seem to work with the mp3art plugin...
    2007 Chrysler PT Cruiser TE
    Car PC Progress:
    Planning.......[---------X-] 95%
    Parts...........[---------X-] 90%
    Fabrication...[---------X-] 90%
    RR Skin........[---------X-] 95%
    View my
    Worklog
    Road Runner Skins
    Website
    Favorite thread EVER!

  7. #7
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Quote Originally Posted by monkeyracer View Post
    where are we putting these commands to get them to work?

    I registered the .dll and placed this in my exectbl.ini:

    Code:
    "PathFromPath;TRACKPATH;trackfolder"
    and tried to use the <var> trackfolder with and without $'s, but it didn't work.
    You need more than that...use this just as you would use any other standard RR Cmd.

    You would probably add that to some additional button or exectbl code(s)...

    Quote Originally Posted by monkeyracer View Post
    but that doesn't seem to work with the mp3art plugin...
    How are you using it in combination with the Mp3Art plugin?
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  8. #8
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    Quote Originally Posted by Enforcer View Post
    You will need to add an X reference with the name of the DLL to your menu skin.

    ie

    X,RRStrings
    Quote Originally Posted by Blue ZX3 View Post
    How are you using it in combination with the Mp3Art plugin?
    I want to keep the mp3art plugin to show embedded art, but with your plugin, defined as enforcer suggested, neither work.

    If I have a code like this:

    "MYNEWPATH","PathFromPath;TRACKPATH;trackfolde r"

    Then do I reference $MYNEWPATH$ or $trackfolder$ for the label that shows the info?

    Basically I want a label that shows the trackpath without the filename (to work with what I was trying in my other thread.)
    2007 Chrysler PT Cruiser TE
    Car PC Progress:
    Planning.......[---------X-] 95%
    Parts...........[---------X-] 90%
    Fabrication...[---------X-] 90%
    RR Skin........[---------X-] 95%
    View my
    Worklog
    Road Runner Skins
    Website
    Favorite thread EVER!

  9. #9
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Quote Originally Posted by monkeyracer View Post
    I want to keep the mp3art plugin to show embedded art, but with your plugin, defined as enforcer suggested, neither work.

    If I have a code like this:

    "MYNEWPATH","PathFromPath;TRACKPATH;trackfolde r"

    Then do I reference $MYNEWPATH$ or $trackfolder$ for the label that shows the info?

    Basically I want a label that shows the trackpath without the filename (to work with what I was trying in my other thread.)
    I just used it and you reference $trackfolder$ after executing "MYNEWPATH" via button or "ONSONGSTART."

    Just checked the functionality of the MP3Art plugin and Blue's plugin does not seem to interfere w/ it.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  10. #10
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    oK, i think i get it now, I'll try that later.
    2007 Chrysler PT Cruiser TE
    Car PC Progress:
    Planning.......[---------X-] 95%
    Parts...........[---------X-] 90%
    Fabrication...[---------X-] 90%
    RR Skin........[---------X-] 95%
    View my
    Worklog
    Road Runner Skins
    Website
    Favorite thread EVER!

Page 1 of 4 1234 LastLast

Similar Threads

  1. RRFusion- My Fusion Brain plugin for RR
    By Sonicxtacy02 in forum RR Released Plugins
    Replies: 478
    Last Post: 09-07-2014, 02:57 AM
  2. How do I setup the CD Rip plugin ?
    By guino in forum RR FAQ
    Replies: 2
    Last Post: 12-18-2008, 08:28 AM
  3. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 09:55 AM
  4. IRMAN plugin
    By knyarko in forum StreetDeck
    Replies: 3
    Last Post: 01-05-2007, 09:26 PM
  5. RR doesn't start Phoco on initial load..
    By DutchBurner in forum Road Runner
    Replies: 16
    Last Post: 11-04-2005, 02:17 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
  •