Standalones and the defaultFolder

Alex Tweedly alex at tweedly.net
Sat Dec 14 20:33:27 EST 2019


>> 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.

Hi Bob. Since 8.1 the files command allows the directory to be provided, 
e.g.

    put files("..") into temp

    put files("/user/alex", "detailed") into temp

etc. Also works for  folders()

Alex.





More information about the use-livecode mailing list