Dynamic File Menu

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
Contact:

Dynamic File Menu

28 Dec 2013, 09:53

Here is a little script that will load a file structure into a menu.
Spoiler
Here is a simple demo:
Spoiler
Notes:
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.
qalleponken
Posts: 2
Joined: 12 Jun 2016, 10:14

Re: Dynamic File Menu

13 Jun 2016, 14:53

Hi BGM.

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.
Qalleponken
User avatar
BGM
Posts: 507
Joined: 20 Nov 2013, 20:56
Contact:

Re: Dynamic File Menu

13 Jun 2016, 15:40

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.

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 71 guests