Standalones and the defaultFolder
sundown at pacifier.com
Sat Dec 14 07:27:19 EST 2019
I am not using Windows or the version of Livecode you are
using so I am not testing this but when it comes to using
paths you might want to make sure what path is being
If the path returned includes a file name then it might
not work properly for listing that directory because it
is trying to list the directory of the file name instead
of the folder the file is in.
This behavior could also cause your program to not
see something making you think the default folder
is not working properly when it might be the path
the default folder is using ends with the file name.
> On Dec 13, 2019, at 3:21 PM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
> Thanks for the confirmation Tom. I did see two places in my code that I have to set the default folder, so I just reset it when I am done. Same thing, getting list of files. There may have been some discussion in the past about a files command where the path could be passed, but that's not close to any priority.
> Bob S
>> On Dec 13, 2019, at 10:03 , Tom Glod via use-livecode <use-livecode at lists.runrev.com> wrote:
>> I only use defaultfolder when I need to get a list of files in that
>> folder. Otherwise its the kind of thing that comes back to haunt us
>> ....for no real reason.
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode