|
Post by rprinceton on May 11, 2019 8:59:59 GMT -5
Hello, I rely on FileLists for quick navigating between folder structures and specific files. These are the steps to reproduce the issue. 1. Enter C:\ in the FilePath/Name field 2. Enter *.txt in the File Patterns field This correctly displays a list of directories and those files having a .txt extension 3. Enter ML TXT SYM This creates a FileList named TXT.FLIST 4. This is where the problem occurs Enter RC TXT (Recall the list of just text files on the C:\ drive) The entire C:\ dir is displayed with all files when it should have been only those files with .txt extensions.
I looked at the contents of FileList TXT.FLIST. It contains C:\,*. Shouldn't it be C:\|*.txt|| Regards, RPrinceton
|
|
|
Post by George on May 11, 2019 9:37:59 GMT -5
ML SYM takes the FILES in the current list, reduces the entry to its PATH, and then collapses duplicate path entries. The resulting list is saved and is intended to recall the contents of all the different paths.
ML does NOT save the FilePath and Mask fields, it saves the FILE LIST entries.
You can certainly achieve what you want, but it takes editing the FLIST entry, not just a MAKELIST request. If you haven't already, see Working with FileLists in the help.
George
|
|
|
Post by George on May 12, 2019 11:07:52 GMT -5
Hi, I see no reason not to change ML to add the current mask, I'll try and get that into the release I'm packaging up right now.
George
|
|
|
Post by George on May 12, 2019 13:21:26 GMT -5
Robert: The basic change is done in the release going out today. In making the change, although ML can be used on any FM display, it's only the File Path display that supports the File Pattern. When an FLIST is displayed, the mask is forced to * and cannot be changed. That's because the mask is specified uniquely for each request line IN the FLIST, there IS no single mask that could be used.
So the change I made today uses the File Pattern if a File Path is displayed, and an * for all the others.
George
|
|
|
Post by George on May 12, 2019 14:33:36 GMT -5
Robert: The ONLY place you can enter a File Pattern is the File Path display, all the others (Recent, Open, Found, etc.) do not allow entering a mask string. (Because the Pattern is INSIDE the FLIST data)
So what I did was test at the time when ML was entered.
If a File Path display, the new ML entries 'inherit' the File Pattern in use. Whatever the whole string is at the time.
If it's any of the other displays, they get a single * character.
George
|
|