pritchak0987 0 Posted February 18, 2013 Report Share Posted February 18, 2013 (edited) Hi all I am new in Ubot studio so need some help from Gurus here :-) I am trying to automate the document upload to scribd.com. It allows 100 documents at a time upload. 1) I need to have a sample code which can click on the upload button and select first 50 files in the folder.3) do the upload2) delete the first 50 files in that folder it uploaded. Please help.I have gone though many documents here but need some jumpstart. Btw my license is Ubot 4 standard license. ThanksRaj Edited February 18, 2013 by pritchak0987 Quote Link to post Share on other sites
UBotBuddy 331 Posted February 18, 2013 Report Share Posted February 18, 2013 Here is code for deleting the first 50 files in a folder. add list to list(%myfiles, $get files($special folder("Application"), "No"), "Delete", "Global") loop(50) { delete file($next list item(%myfiles)) } The other parts I don't think will be too difficult. Buddy Quote Link to post Share on other sites
pritchak0987 0 Posted February 18, 2013 Author Report Share Posted February 18, 2013 Thank you so much. I will try to create the bot now. Raj Quote Link to post Share on other sites
pritchak0987 0 Posted February 18, 2013 Author Report Share Posted February 18, 2013 (edited) Ok I have encountered two problems with windows function. Sorry still a nob in this area. 1) I can open the scribd upload dialog box using set dialog text etc..now how I can select all files in that folder? I saw some ctrl+a option mentioned in the forum and tried in keyboard eveny but nothing happened.2) mine is a standard license so I do not have the $get files here..any other alternative? can you send me some sample script where we are uploading mutiple files then I can try with that? ThanksRaj Edited February 18, 2013 by pritchak0987 Quote Link to post Share on other sites
utsavat 1 Posted February 18, 2013 Report Share Posted February 18, 2013 Ok I have encountered two problems with windows function. Sorry still a nob in this area. 1) I can open the scribd upload dialog box using set dialog text etc..now how I can select all files in that folder? I saw some ctrl+a option mentioned in the forum and tried in keyboard eveny but nothing happened.2) mine is a standard license so I do not have the $get files here..any other alternative? can you send me some sample script where we are uploading mutiple files then I can try with that? ThanksRaj I would suggest you to upgrade your license as there are many great features in professional one.If you dont want Dev lisc then at least you must have Profess... Looking into the problem of yours lets see if we can find a solution Quote Link to post Share on other sites
k1lv9h 76 Posted February 18, 2013 Report Share Posted February 18, 2013 Hi, Use Ubot shell node to get directory list.Some sample code:sample-shell-dir-list-001.ubot Kevin 1 Quote Link to post Share on other sites
pritchak0987 0 Posted February 19, 2013 Author Report Share Posted February 19, 2013 Ok guys. Thanks for the help. I have upgraded my license to Pro version as that has more feature. Raj 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.