I think you can use the filter command with a wildcard and your extension. Put your folder path into tMyFolderPath then:
set the folder to tMyFolderPath put the files into theFiles filter theFiles with "*.jpg" Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html Sent from the Revolution - User mailing list archive at Nabble.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