I love the BaseElements plugin (thank you Nicholas). When I upgraded to FMP-17 64 bit, I installed the latest 64 bit version for Windows (running Windows 10 on 64 bit system). I noticed that the BE_ListFilesInFolder no longer worked (works fine in 32 bit version in FMP-16 32 bit: 3.3.7). The 64 bit version works fine as long as I'm not going to a mapped folder. Here's the script from both versions.
The Debugger shows that the BE_SelectFolder works. It returns "R:\" from:
But when I pass $Folder into the BE_ListFilesInFolder, it returns "?" in the 64 bit version of FMP-17. But when I run the same script in FMP-16 32 bit system, it returns the list of files. I also tried using the SelectFolder to go to the folder directly (not the mapped drive R, but the long way and the same results occur. However, it (64 bit) works if I go to any non-mapped folder. Another thing I noticed with the 64 bit version is the version number is messed up when going to Edit | Preferences | Plug-ins (see below). Any ideas?
Cheers,
Mark
Function name is changed to BE_FileListFolder().
I think you tested same folder on 32bit, did you?
The function support only UTF-8 output, then if there is some non-ASCII character in the folder, it could be problem. (e.g. Japanese file name results '?' like as you saw. And I also get '?' on D:\, local disk containing only directory, all ASCII name.)