RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [MM2+]

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby MMFrLife » Tue Sep 19, 2017 9:25 am

Ok, well, I guess its a dilemma because it's confusing both ways (the way it is and your understandably reluctant solution).
I will think on it some more. For now, I don't think you should remove the second option.
MM user since 2003 (lifetime since 2012) "Trying to imagine life without music gives me a headache"
track properties; dir/fn mask configurations; check out ZvezdanD's scripts
MMW 4.1.18.1842b; fav scripts > RegExp Find & Replace 5.1.0; Magic Nodes 5.1.0; Advanced Duplicate Find & Fix 3.8.2;
Backup 6.0; Clear Now Playing Button 1.2
...always back it up, especially before doing anything major!!!
Win. explorer alt. for power users [free]; great file/folder renamer [used by nasa]
MMFrLife
 
Posts: 2754
Joined: Fri Oct 26, 2012 9:04 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby beg » Sat Sep 23, 2017 8:24 am

Hi,

Since ever I am struggling to find the preset I am looking for..

Now I just noticed the new? GUI item Menu, but I can't figure out a way of how to make it work? I'd expected it to reduce the listed presets to the group choosen in the menu dropdown, but I always see the full list of presets.. I can't see any effect of the menu dropdown.

I tried to find information about it in the documentation, but this GUI item was not explained in the v4 documentation..
beg
 
Posts: 171
Joined: Wed Feb 04, 2009 12:36 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby ZvezdanD » Sun Sep 24, 2017 1:34 am

beg wrote:Now I just noticed the new? GUI item Menu, but I can't figure out a way of how to make it work?

What is the version including the build number of the add-on that you are using?
Magic Nodes 4.3.2/5.1 RegExp Find & Replace 4.4.8/5.1  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1/5.3.6  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.7/4.0  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.3/2.2.2  Inherit Child Playlists 1.0.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2
ZvezdanD
 
Posts: 3008
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby beg » Sun Sep 24, 2017 11:51 am

the version is 5.1.0.106
beg
 
Posts: 171
Joined: Wed Feb 04, 2009 12:36 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby ZvezdanD » Sun Sep 24, 2017 12:58 pm

The 5.x version has added the Menu combo box, but it is only intended to allow specifying in which sub-menu you want to place the selected preset.

Actually, I though to implement the mentioned combo box as you expect it, but that could lead to some strange effects. Let say that I have initially opened some preset from the "Basic Manipulations" menu. So, the Menu combo box will show "Basic Manipulations" and, if I have implemented your suggestion, the Preset combo box would contain only presets that are located in that menu. Now, the main question is, how could be possible for users to choose some another preset from some another menu if they are not contained in the Preset combo box? The only solution for user would be to know in which menu is that another preset and to select that menu in the Menu combo box, to be able to get the wanted preset listed in the Preset combo box refilled with presets from the new menu. But now we have one more problem, if user change the Menu, how the script could know if user want to assign the new specified menu to the currently selected preset, or just want to get refilled the Preset combo box ? So, if I want to implement your suggestion the only way would be that the Preset Settings dialog box has two Menu combo boxes, one for grouping of presets and the another one for assigning menu to the selected preset as the current combo box.

Currently, the best way to find some preset would be using the Choose RegExp Preset dialog box that could be opened after click on the "..." button in the Preset Settings dialog box. There you have a large table with all presets and the Find option with Prev and Next buttons. The Web page of 5.x version has explained all those extra commands that don't exist in v4.
Magic Nodes 4.3.2/5.1 RegExp Find & Replace 4.4.8/5.1  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1/5.3.6  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.7/4.0  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.3/2.2.2  Inherit Child Playlists 1.0.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2
ZvezdanD
 
Posts: 3008
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby beg » Sun Sep 24, 2017 1:27 pm

Thx for your explenation! I could not follow all issues described, but it seems you gave it a thorough thought.. I just thought it could work as a simple filter to the list of presets without any additional functionality - but maybe that's not that simple..

Thx also for the webpage for v5, I was looking for it, but could not find it.. Is it linked in the description of the first post here? Probably it is and I overlooked it...

Thx for your great ongoing work on this script covering so many issues providing solutions for them!
beg
 
Posts: 171
Joined: Wed Feb 04, 2009 12:36 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby beg » Sun Sep 24, 2017 1:40 pm

Reading the v5 documentation I have now found the menus within the bulp icon and the edit-regexp menus. That is very helpful and actually what I was looking for - just didn't find it..

Thx for the documentation webpage for v5, I was looking for it, but could not find it.. Maybe you can find more places to link it for users searching for description of v5 features...It's a bit confusing that you are offering a much powerful v5 version of the script which is still supported within this post for 4.x version. So any additional information for v5 is missing here and very hard to find (for me..). So maybe it would be very helpful for some users to add some information about the latest v5 version and link to documentation page within the first post of this threat?!

Thx for your great ongoing work on this script covering so many issues providing solutions for them!
beg
 
Posts: 171
Joined: Wed Feb 04, 2009 12:36 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby ZvezdanD » Mon Sep 25, 2017 1:03 am

The Web page of the 4.x version has a link to the Web page of the new enhanced (5.x) version. Maybe I could make it more visible, but it is already there, in the Donation section. Also, I provide the link to the Web page of the 5.x version with every new release delivered to donors through e-mail.
Magic Nodes 4.3.2/5.1 RegExp Find & Replace 4.4.8/5.1  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1/5.3.6  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.7/4.0  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.3/2.2.2  Inherit Child Playlists 1.0.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2
ZvezdanD
 
Posts: 3008
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby jimbob_sf » Tue Oct 03, 2017 7:11 am

For years, this has been the single, must-have tool for me in MM4. If you're surfing for a well-maintained, must-have add-in, this is it!
jimbob_sf
 
Posts: 31
Joined: Sat Apr 16, 2011 1:19 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby MMFrLife » Thu Oct 12, 2017 12:34 am

...continued from here MN, show certain root words

That's so very sad. :( It's such a Magic Nodes type thing. :wink:
Anyway, so, would I just use one of the "show" presets and basically modify the Find What field?
MM user since 2003 (lifetime since 2012) "Trying to imagine life without music gives me a headache"
track properties; dir/fn mask configurations; check out ZvezdanD's scripts
MMW 4.1.18.1842b; fav scripts > RegExp Find & Replace 5.1.0; Magic Nodes 5.1.0; Advanced Duplicate Find & Fix 3.8.2;
Backup 6.0; Clear Now Playing Button 1.2
...always back it up, especially before doing anything major!!!
Win. explorer alt. for power users [free]; great file/folder renamer [used by nasa]
MMFrLife
 
Posts: 2754
Joined: Fri Oct 26, 2012 9:04 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby ZvezdanD » Thu Oct 12, 2017 1:50 am

You could start from the scratch:
- click on the New button;
- type some name in the Preset combo box;
- type /bword_you_want_to_find/b in the Find what combo box;
- turn on RegEx (F);
- choose Keep files with matched tags in the Action combo box and save the preset, or choose Keep matched from the button on the left of the Close button if you don't need to save the preset.

Of course, before you apply that preset you need to have selected all files that you want to search for the wanted word.

The main thing here is the /b regex that matches a word boundary, which could match a space character, dot, comma or anything else that is not a part of word; it could match a text line begin or end as well.

EDIT: I completely forgot that instead of that suggestion with /b you could just use Find whole words only option which does the same thing.
Magic Nodes 4.3.2/5.1 RegExp Find & Replace 4.4.8/5.1  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1/5.3.6  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.7/4.0  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.3/2.2.2  Inherit Child Playlists 1.0.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2
ZvezdanD
 
Posts: 3008
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby MMFrLife » Fri Oct 13, 2017 6:10 am

Thanks, that appears to work! To clarify for anyone else, choose Find whole words only "instead of" Regular Expression (F.)

How would I get it to show files from Entire Library and also select them?
I assume I would use something like "Select matched files with matched tags", but what else?

EDIT: Well, I guess that doesn't make much sense since something would have to be manually selected first, right?
MM user since 2003 (lifetime since 2012) "Trying to imagine life without music gives me a headache"
track properties; dir/fn mask configurations; check out ZvezdanD's scripts
MMW 4.1.18.1842b; fav scripts > RegExp Find & Replace 5.1.0; Magic Nodes 5.1.0; Advanced Duplicate Find & Fix 3.8.2;
Backup 6.0; Clear Now Playing Button 1.2
...always back it up, especially before doing anything major!!!
Win. explorer alt. for power users [free]; great file/folder renamer [used by nasa]
MMFrLife
 
Posts: 2754
Joined: Fri Oct 26, 2012 9:04 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby ZvezdanD » Fri Oct 13, 2017 2:33 pm

Click on the Entire Library node and press Ctrl+A.

Alternatively, after you click on the mentioned node, click on the text box in the left bottom corner that shows number of selected/visible files until you get displayed all visible files. Which means, you don't need to have selected all files in the main filelist, but that works only in the Preset Settings dialog box.
Magic Nodes 4.3.2/5.1 RegExp Find & Replace 4.4.8/5.1  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1/5.3.6  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.7/4.0  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.3/2.2.2  Inherit Child Playlists 1.0.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2
ZvezdanD
 
Posts: 3008
Joined: Thu Jun 08, 2006 7:40 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby MMFrLife » Wed Oct 18, 2017 5:24 am

Thanks, I already have the MM toolbar button for selecting. I'm not much of a hotkey person.
I was mainly trying to figure out a way to batch a 'selecting preset' (which isn't possible without already
having selected something) with a 'word find' preset, so I don't have to select Entire Library whenever I look for a word.
MM user since 2003 (lifetime since 2012) "Trying to imagine life without music gives me a headache"
track properties; dir/fn mask configurations; check out ZvezdanD's scripts
MMW 4.1.18.1842b; fav scripts > RegExp Find & Replace 5.1.0; Magic Nodes 5.1.0; Advanced Duplicate Find & Fix 3.8.2;
Backup 6.0; Clear Now Playing Button 1.2
...always back it up, especially before doing anything major!!!
Win. explorer alt. for power users [free]; great file/folder renamer [used by nasa]
MMFrLife
 
Posts: 2754
Joined: Fri Oct 26, 2012 9:04 pm

Re: RegExp Find & Replace 4.3 w/ 253 presets (2011-07-06) [M

Postby ZvezdanD » Wed Oct 18, 2017 7:00 am

Sorry, RFR could be applied only on files that are selected (for Replace actions) or visible (for Keep/Select actions) in the main filelist. So, if you want to apply it on all files, you need to have selected Entire Library node (or any other node that shows all files from the library). Actually, there is one exception to this rule: Replace in currently playing file.
Magic Nodes 4.3.2/5.1 RegExp Find & Replace 4.4.8/5.1  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1/5.3.6  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.7/4.0  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.3/2.2.2  Inherit Child Playlists 1.0.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2
ZvezdanD
 
Posts: 3008
Joined: Thu Jun 08, 2006 7:40 pm

Previous

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 7 guests