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 | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode