stacy 0 Posted January 30, 2015 Report Share Posted January 30, 2015 Hi, Dont know if anyone can point in the right direction. Im building a bot that posts to certain sites can anyone advise me how to get the bot look at a folder full of content post one lot of content then delete or move on to the next for the next link? Thanks in advance. Stacy Quote Link to post Share on other sites
zenos 13 Posted January 30, 2015 Report Share Posted January 30, 2015 Add the content of your folder to a list and delete from the list when posted Quote Link to post Share on other sites
zenos 13 Posted January 30, 2015 Report Share Posted January 30, 2015 (edited) add list to list(%foldercontent, $get files($special folder("My Pictures"), "Yes"), "Delete", "Global")set list position(%foldercontent, 0)loop(4) { comment("your code to post") navigate("yoursite.com", "Wait") set(#yourimage, $next list item(%foldercontent), "Global") comment("post your image")} Edited January 30, 2015 by zenos Quote Link to post Share on other sites
stacy 0 Posted January 30, 2015 Author Report Share Posted January 30, 2015 Cheers Zenos. 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.