Just rewrote my script browser from scratch and thought I should share.
Here is the screenshot:
You can get it here > Light > Production Tools > Supra
Don’t forget to get the required C4 function library.
It only comes with a single code file, which should be placed under stdscripts. Creates macroscript itself when not present.
Click a script to edit
Ctrl click a script to delete (with confirmation)
Click a directory to expand/collapse
Ctrl click a directory to open it
Shift click a directory to expand/collapse all subdirectories
Right click inside the treeview to expand/collapse all nodes.
Shift right click to reset the dialog size
Ctrl right click to refresh scripts
Drag inside the treeview to move the dialog.
Filter shows the scripts whose name matches the provided string (case-insensitive)
Search allows you to search for a string inside the scripts (case-sensitive)
If you decide to use both of them, optionally first use the filter then the search feature, because filtering is faster than searching.
The rest is obvious.
Feedback, ideas, and the like are always welcome.