Android 3 Posted May 13, 2016 Report Share Posted May 13, 2016 I've scraped a bunch of images that I want to post individually into wordpress. While scraping I saved the images to a folder in my Documents naming them 0.jpg, 1.jpg, 2.jpg etc. to keep them in the same order as some other scraped lists. Then to bring them back into a list I used: add list to list(%images,$list from text($get files("{$special folder("My Documents")}\\ImageFolder","Yes"),$new line),"Delete","Global") When checking %images in the debugger, the list gets all screwed up going from: 0.jpg1.jpg11.jpg12.jpg13.jpgetc. So, any way to get each image path on its own line but listed incrementally? I guess I could start numerating the the images at 10. That would work for my purposes, but doesn't seem correct. Is this the best way to deal with a group of images?Any thoughts on other processes is appreciated. Quote Link to post Share on other sites
pash 504 Posted May 13, 2016 Report Share Posted May 13, 2016 on save file use0102---10 if more 100 file use001002---100101 add list to list(%images,$get files("{$special folder("My Documents")}\\ImageFolder","Yes"),"Delete","Global") add list to list(%images,$sort list($get files("{$special folder("My Documents")}\\ImageFolder","Yes"),"Ascending"),"Delete","Global") 1 Quote Link to post Share on other sites
Android 3 Posted May 14, 2016 Author Report Share Posted May 14, 2016 Thank you Pash! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.