Printable Version of Topic
-Brading Software Message Board +--Forum: Share your macros +---Topic: Problem with " - " at the end of filename. started by Pompie8 Posted by: Pompie8 on Dec. 31 2007,15:44 Hi everyone I have just seen the question posted by killabee44, I think this macro will take care of the problem of " - " at the end of the filenames, also spaces and capitalization. (How do I upload a macro??) Thank you Magnus, still couldn't attach a file though! This is the macro (text) for [Mass Clean up Files] Latest revision 10th Jan 08 PLEASE NOTE IF YOU COPY & PASTE THIS MACRO YOU WILL NEED TO PUT A SPACE AT THE END OF LINES 46 & 56 TO AVOID SYNTAX ERRORS. COUNT FIRST LINE AS :- [MacroFileVersion=3506] MacroFileVersion=3506 [DirectRename] TemplateIn=<Artist> - <Title>.mp3 TemplateOut=<Artist> - <Title>.mp3 DoReplaceSpaces=FALSE ReplaceSpacesWith=_ {Casefix} CasefixMode=1 TrimEndSpaces=TRUE CleanMultiSpaces=TRUE ApplyToArtist=TRUE ApplyToTitle=TRUE ApplyToAlbum=FALSE ApplyToComment=FALSE ApplyToCustom1=FALSE ApplyToCustom2=FALSE ApplyToCustom3=FALSE ApplyToCustom4=FALSE DoSubStringReplace=TRUE AlwaysToBeCapitalized1=i AlwaysToBeCapitalized2=ii AlwaysToBeCapitalized3=iii RecognizedPrefixes1={ RecognizedPrefixes2=( RecognizedPrefixes3=[ IgnoredWordSuffixes1=) IgnoredWordSuffixes2=] IgnoredWordSuffixes3=} ExceptionSuffixes1='m ExceptionSuffixes2='re ExceptionSuffixes3='s ExceptionSuffixes4='ve ExceptionSuffixes5='ll ExceptionSuffixes6='d ExceptionSuffixes7='t ExceptionSuffixes8=īm ExceptionSuffixes9=īre ExceptionSuffixes10=īs ExceptionSuffixes11=īve SubStringReplacementsFrom1= - .MP3 SubStringReplacementsTo1=.mp3 SubStringReplacementsCaseSensitive1=TRUE SubStringReplacementsApplyBeforeCF1=FALSE SubStringReplacementsMatchWholeWordsOnly1=FALSE SubStringReplacementsFrom2=- SubStringReplacementsTo2= - SubStringReplacementsCaseSensitive2=TRUE SubStringReplacementsApplyBeforeCF2=TRUE SubStringReplacementsMatchWholeWordsOnly2=FALSE SubStringReplacementsFrom3=.MP3 SubStringReplacementsTo3=.mp3 SubStringReplacementsCaseSensitive3=TRUE SubStringReplacementsApplyBeforeCF3=TRUE SubStringReplacementsMatchWholeWordsOnly3=FALSE SubStringReplacementsFrom4=_ SubStringReplacementsTo4= - SubStringReplacementsCaseSensitive4=TRUE SubStringReplacementsApplyBeforeCF4=TRUE SubStringReplacementsMatchWholeWordsOnly4=FALSE [DirectRename] TemplateIn=<Artist> - <Title> - <TRASH>.mp3 TemplateOut=<Artist> - <Title>.mp3 DoReplaceSpaces=FALSE ReplaceSpacesWith=_ Hope this helps. Posted by: Magnus Brading on Jan. 01 2008,14:15 Hi Pompie8, you can either include the macro contents inline in the post (they are text base), or attach it as a file. Thanks for contributing! end |