This is
Clearing Tag FIelds? continued from
here
ZvezdanD wrote:MMFrLife, you should have posted a new post instead of editing the old one, because I didn't get the report about it in the e-mail and could not know about it if Eyal didn't have a new post in this thread. Besides, I suggest that your questions regarding RegExp should be posted in the related forum, not here.
Sorry, since it didn't specifically start out as a RegExpF&R question, I got a bit side-tracked.
I did think about a new post, but I didn't bother because I came back to it fairly quick.
I didn't realize your
primary way of returning is via e-mail notification through the add-on
thread and not just occassional perusal. Good to know
ZvezdanD wrote:MMFrLife wrote:The toolbar button option is really a menu item that is button-like. Is there a way to get it to show as it's own button/icon next
to the add-on/preset menu buttons? I associated an icon with it.
I don't understand what you are talking. Every preset that has the Toolbar option turned on would get its own toolbar button in the same row as "RegExp Find and Replace" and "RegExp Tagging Presets" toolbar buttons. If you are talking about the "RegExp Tagging Presets" button, yes indeed, you would get the dropdown menu when you click on it, but that was always the case, even with the last freely available version of the add-on; the only difference is that that new menu has added several add-on options beside of the preset groups.
There is no issue with the drop-down menu. I very much love it. It was merely written
as an intro statement to set the scene for the issue/point I was
trying to figure out. The button issue is discussed below.
ZvezdanD wrote:MMFrLife wrote:is it possible, using the same or a similar method as employed in the above example, to batch together presets that are different (not based on the same
core preset)?
Yes, of course. You just need to specify the same batch using the Menu option. Please read the Usage section of the Web page of the new version, if you didn't already, since it has the information about batches.
I tried this previous to your reply and managed to associate a different one
with an already existing batch without any error or hiccup. However, the different one
added just doesn't do anything. Taking into account what you say below about
presets for text fields and presets with numerical values, I think that is the issue.
I tried to add
auto-increment track # with specified start value and leading zero preset to the Clear Fields batch. Can I alter it
with a value somehow to get it to work in batch with the Clear Fields text one, similar to your advice about
the ratings one that has now been resolved, as stated below?
ZvezdanD wrote:MMFrLife wrote:1.) I got the icon button to show on the toolbar for the Clear Fields batch. However, in button/icon form, it only performs the function of the first
preset in the batch
. It works fine on the menu.
I think that I implemented it, but if you say so I will fix it in the next update.
I tried testing this out some more to be sure and for some strange reason the toolbar buttons aren't showing up at all now,
even after restart. I currently have all the toolbar button setings in options checked and have tried various setting combos
for them to no avail. I'll keep messing around with it and see if I can get it to work. Any suggestions could be helpful.
ZvezdanD wrote:MMFrLife wrote:2.) When I try to add Lyricist to the
clear batch it says that it already exists, but the preset it points to is about Lyrics
not Lyricist and its
find mask is
significantly different than the
clear field one. It points to,
Clear Lyrics greater than x line(s) but less than y lines.... It asks me if I want to modify this.
I say no, thinking it will still add what I want to the
clear field batch without modifying the other one it points to, but it does not add it
. What to do?
I am not sure, but I suppose that you are talking about the auto-complete behavior of combo boxes of the program, which is something that I cannot change. As you type the name of the preset the program will auto-suggests the name of the first existing preset that has the same begin as the typed one, in this case "Clear Lyric..." When that happen, i.e. when the program completes what you are typing with the name of some existing preset, you should delete the added text and continue with typing.
I know about auto-complete and typing over. It is not the issue here. The problem preset name only comes up in the "already exists" message, not in the name field as an
auto-complete. I got this to work before your reply. I tried it on several different ones in the Clear batch
but oddly could only achieve it by going to the conflict one
(Clear lyrics greater than x.....) and creating the new one (Clear Lyrics), by delete then cut/paste info
from Clear field preset, on top of it. I ticked batch and put it on the appropriate batch menu, and "presto chango!".
btw, the "already exists" messages also occured on about a quarter of the Clear Field
presets when I was creating them (it would point to other presets I created for the same batch), whether I went back
and created the new one on top of the first one or any of the others.
Again, oddly, I solved the issue by creating the new one on top of the "conflict" (already existing) preset.
ZvezdanD wrote:MMFrLife wrote:3.) I added
clear rating to the batch. When the batch is executed, it has an error/problem if rating is originally "-1" (unknown). It asks me,
ok - abort - retry - ignore - ignore to all. When I choose
ignore to all it does not work. I have to
ignore for each track
. For other fields that are
already empy and don't use a number value, they reclear just fine. Is there a way to get
empty fields with values to do that without a hiccup in the batch
process? It may do this if there is any value in the field. I haven't tried anything else with rating yet. I'll test and edit back here. [EDIT] Yes, the error occurs for all
ratings values. Error shows a value of -1 for unknown, 5 for 0, 20 for 1 star, 40 for 2 star, etc.. Anyway, natively in MM (properties) if tracks are selected with unknown
track ratings and check box is selected for unknown (not that you would bother checking it if all tracks were unknown, and that's what you wanted, but still), it just seems
to skip over (no hiccup). If tracks are selected with
various ratings, including some unknown, it also just seems to skip over (no hiccup) the unknowns and clear the rated ones if box is checked for unkown.
It's not a
batch issue either. For rating preset, I toggled the batch off and renamed the preset menu to single it out, but I got the same error/result.
I am lost here with your description. I suppose you have a problem only when trying to clear the Rating field, right? The "Clear <Into Field>" preset that I suggested as a pattern for this batch is applicable only for textual fields, which Rating is not. If you want to clear Rating, i.e. to make it unknown, you should specify -1 in the
Replace with combo box.
Eureka! The "-1" mod is all I needed. Thanks!
I was also having the problem on BPM (except you can
ignore all instead of
each one). They both work now and are batched to the other text presets.