Bug: Large numbers of scripts do not show in Scripting menu

Nick Hope wrote on 8/26/2016, 7:33 AM

I use a lot of scripts. Unfortunately they are not all displaying on the menu when I click "Tools" > "Scripting". In Vegas Pro 13 I only see the first 63 scripts in the menu, and in Vegas Pro 12 I only see the first 68-70, despite scrolling the menu. They are sorted alphabetically so I don't see those starting with letters at the end of the alphabet.

I have submitted a support request to MAGIX [Ticket#2016082617005631].


jetdv wrote on 8/26/2016, 8:20 PM

I believe that is a menu limitation. Try creating folders and put like scripts in the same folder to break them up into smaller lists. The folders will appear as sub menus in the script menu list.

altarvic wrote on 8/26/2016, 8:40 PM

It's a limitation of Vegas, look here: https://www.vegascreativesoftware.info/us/forum/why-220--69079/

Nick Hope wrote on 8/30/2016, 9:00 PM

I had a reply from MAGIX support about this, after a bit of discussion of the issue: "Thanks for the heads up on that.  This is currently in our backlog, along with the issues yourself and others provided feedback on, on the SCS forums, and now the Vegas community forum."

jetdv wrote on 8/31/2016, 8:59 PM

I still like the idea of creating folders and putting categories making the scripts easier to find. Folders show up as submenus and help get past the current menu limitation.

Nick Hope wrote on 8/31/2016, 10:44 PM

If I create subfolders I don't see any more scripts than I do if I don't. Tested in VP12 and VP13.

altarvic wrote on 8/31/2016, 10:53 PM

Subfolders won't help. Vegas limits the number of menu items.

jetdv wrote on 9/1/2016, 8:27 PM

Sub folders help because you would move some of the scripts out of the base "script menu" folder and into the sub folders. Then you have fewer scripts in the main folder so some that previously did not show now will.

Nick Hope wrote on 9/1/2016, 10:56 PM

@jetdv Not so in my testing. It's not as simple as that. It appears to be a fundamental limitation within Vegas, as explained in the post altarvic linked to, and not just a GUI/menu problem.

altarvic wrote on 9/1/2016, 11:04 PM

FYI, you can still run the invisible scripts using Run Script menu command.

Nick Hope wrote on 9/20/2016, 3:29 AM

This issue still exists in VEGAS Pro 14.0 (Build 161). With many simple .cs and .js scripts in my Script Menu folder (but no .dll or other files there, or extensions installed), the Tools > Scripting menu shows the first 185 scripts alphabetically, stopping at "R".

MagixDerek wrote on 10/16/2016, 11:01 AM

I've seen a few posts now where users are hitting the script command limit.  There is a hard limit of 200 custom commands (which is shared between scripts, extensions and a few other things).  At the time this was created (14 years ago or so), I don't think anyone would have dreamed that someone would hit this limit.  That being said, I'll see what I can do to boost this limit in an update.  

Nick Hope wrote on 10/16/2016, 11:06 AM

Thank you MagixDerek. Are you guys open to suggestions for extending the scripting API?

MagixDerek wrote on 10/17/2016, 8:22 AM

We have a pretty long list of things to add to the api already at this point.  I do believe we intend to extend it a bit as we work on updates and the next major release...but, as usual, it will all depend on priorities.  We have a huge list of items we want to get to in general.  My hope, at the very least, is that we will not neglect the scripting feature like it has been for the last 4 or 5 releases.  Of course, please mention any major pieces that are missing from the API.  The more we hear about things that are lacking, the higher likelihood we can move it up in our priority list.  

Wolfgang S. wrote on 10/17/2016, 8:26 AM

That are great points, Derek! :)

Nick Hope wrote on 11/19/2016, 4:06 AM

This is fixed in VP14 build 201. I just put 303 scripts (mixture of cs, js and dll) in my scripts folder (not in sub-folders) and they all appear in a scrolling scripts menu. Thanks! 👍