Mobile - missing? files added in copy files pane of standalone builder

J. Landman Gay jacque at hyperactivesw.com
Sun Jul 16 15:27:35 EDT 2017


On 7/15/17 8:05 PM, Terry Judd via use-livecode wrote:
> If I add files that are in the same folder as the stack file in the copy and then in the app (simulator or real device) if I ‘put the files’, then the added files are included in the listing. However, if the added files are in a different folder (e.g. “stuff/test.pdf”) then they don’t show up. Should they, or is there something that I’m missing?
> 
> LC 8.1.6 (rc1)

That's expected behavior, the files function isn't recursive. By 
default, it returns only files in the default folder but you can specify 
a different folder by adding an optional folder parameter.

Over the years a few people have posted recursive directory walk 
scripts, but since you already know the folders included in the 
standalone it's probably easier to just ask for each listing 
individually if there aren't too many.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com





More information about the use-livecode mailing list