sorry, the field I ment is called Lyricist(s) which we use for the author. But that's not really the issue I think.

If I understand your suggestion right, then I'd have to change the "specified string" in the settings each time in order to be able to copy them in the fields? I am afraid that that would be more complicated than using the manual edit properties check box solution. : (

Thx for your fast replies as ever, but maybe this time your script can't help us out.. : (

Do you think that it makes sense to modify "RegExp Find & Replace 4.3" script to not create all the menu items on startup, but either create them on demand (or not create them at all)?

I don't think that enabling creation of the menu items sometime later after startup could resolve such problem. Those objects that you are mentioning in Mantis should be created to be able to have menu items, no matter when the script create them. Disabling creation of those menu items is not solution for this script since the main use of it is because of the related presets. Anyway, the users have a possibility to remove unwanted presets/menu items from the menu if they want to speed up the startup.

Besides, Magic Nodes also create many menu items during startup, but they are hidden and added only to allow Shortcuts for jump to the specific node in the tree.

Are you sure that Windows Defender is doing this because of the number of menu items? That could mean that it is slowing down every program which have too many menu items and maybe you should report that problem to Microsoft.

By the way, you should try the latest version of the script (4.4.8) from its Web page. Maybe it will behave differently.

I don't think that enabling creation of the menu items sometime later after startup could resolve such problem.

I am playing with this a bit and interesting is that during the install the script asks: "Would you like to add 253 new sample presets..." and if I click Yes then all the menu items are added in one second! Like previously or with disabled Windows Defenrer's real time protection, but during startup it takes 50 seconds to add all the menu items. I also tried to move the startup stripts initialization to post startup action and the issue persists and it still takes 50 seconds even if it is run several seconds after MM startup. Your script is obfluscated so I cannot see whether you are doing something special when adding the items in 'OnStartup' proc or whether you are adding them the same way as during install (when it takes just second)? I would like to understand the difference.

Are you sure that Windows Defender is doing this because of the number of menu items? That could mean that it is slowing down every program which have too many menu items and maybe you should report that problem to Microsoft.

I am sure (and the others users too), it is not related to many menu items, but to many COM objects initializations/calls (OLE automation), when adding the item (in MM scripting) then new COM object is created and the Defender's real time protection seems to check the COM object creations somehow (via oleaut32.dll)

whether you are doing something special when adding the items in 'OnStartup' proc or whether you are adding them the same way as during install (when it takes just second)?

No, I am not doing anything special in OnStartup procedure when adding menu items. Yes, I am adding them the same way as during install. Actually, I am using the same OnStartup procedure during install to install the presets and hence to create the related menu items.

I am sure (and the others users too), it is not related to many menu items, but to many COM objects initializations/calls (OLE automation)

Yes, but I need one COM object's call per menu item. The script has one object containing a collection with menu items added to it during OnStartup, to be able to remove them from Uninstall.vbs if user decide to uninstall the script and maybe because of other reasons that I cannot remember right now. Here is the important line working in a loop with the number of presets as a counter:

I find that with the regexpreplace.vbs script installed, MMW takes a long time (2 minutes) to start. In the notification bar, I see "Loading regexpreplace.vbs"
I want to keepregexpreplace, but I'm not the most patient person.

Is there a way to fix this?

Thanks.

Last edited by Lowlander on Fri Sep 21, 2018 12:35 pm, edited 1 time in total.
Reason:Merged with existing post

I find that with the regexpreplace.vbs script installed, MMW takes a long time (2 minutes) to start.
...
Is there a way to fix this?

That is the issue which manifested after the Windows 10 April Update. It is reported to Microsoft, but they don't care about it. You could do the next things:
- go to https://answers.microsoft.com/en-us/pro ... 29&lc=1033 and leave your report; there is a better chance that the folks in Microsoft will do something about the problem if more people request that; or
- turn off the Windows Defender Real-Time Protection and use some another anti-malware; or
- remove all RFR presets that you are not using since this slow down is related to the number of installed presets; or
- donate to me and you will get the enhanced version of the add-on which has implemented a workaround for this problem, making it as fast as before the mentioned Windows Update.

I am sorry, but currently I don't have time to implement the same workaround in the freely available version.

I have several Titles that contain information at the end I'd like to remove. A DJ program added the key and energy level to the end of the song titles, so they look something like this " 5-1-5-0 - 11A - 7".

What's the easiest way to remove the " - 11A - 7" from the song title without manually having to do it. Keep in minde both the key and energy number will change.