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!!!![]()
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 [Beta Released]
Next in line: RRMedia v2.0
DFX 5.1.1 Skin
Appstore Link
My RideRunner Plugins
RRMedia
RRExtended
DFXVoice
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!!!![]()
where are we putting these commands to get them to work?
I registered the .dll and placed this in my exectbl.ini:
and tried to use the <var> trackfolder with and without $'s, but it didn't work.Code:"PathFromPath;TRACKPATH;trackfolder"
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!
F-yeah!
Awesome!
Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2
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!
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)...
How are you using it in combination with the Mp3Art plugin?
RideRunner...The #1 FE, PERIOD.
Current Project: DFXVoice [Beta Released]
Next in line: RRMedia v2.0
DFX 5.1.1 Skin
Appstore Link
My RideRunner Plugins
RRMedia
RRExtended
DFXVoice
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!
Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2
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!
Bookmarks