Page 1 of 1

Dynamic File Menu

Posted: 28 Dec 2013, 09:53
by BGM
Here is a little script that will load a file structure into a menu.
Here is a simple demo:
It's pretty good but not perfect. Everything works fine as long as the script discovers a file matching the filemask. If it finds such a file, it will recurse the folder's subdirectories for other matching files. But if it doesn't find one in the root directory that matches the filemask, then it won't look for more. I've spent hours trying to figure out how to remedy that, but to no avail. If anyone has a good idea, I'll update the script.

Re: Dynamic File Menu

Posted: 13 Jun 2016, 14:53
by qalleponken

Im using your awesome script, which works prefect with local folders but unfortunately not with network folders/shares.
Do you know if its possible to make it work with network folders/shares?

Best Regards.

Re: Dynamic File Menu

Posted: 13 Jun 2016, 15:40
by BGM
Yeah, I confirm that, but I took a quick look at it and haven't figured it out, either.
I suspect it has something to do with using \\ as the first characters of the menuitem name; there is a certain point where a variable name is built, and you can't have \\ in the variable name.