chamich 0 Posted June 20, 2010 Report Share Posted June 20, 2010 HelloSo my bot goes to specific page, click link which activates download of torrent file. Standard IE dialog box popups ( Open/Save/Cancel ), bot clicks save successfully, butI can't automatically enter location where to save file. Here is part of my bot and here is how save box look like Maybe set dialog text doesn't work because filename is highlighted by default,I don't now. Quote Link to post Share on other sites
alcr 135 Posted June 20, 2010 Report Share Posted June 20, 2010 Try using 'change file field chosen' instead Quote Link to post Share on other sites
Psychotix 0 Posted June 21, 2010 Report Share Posted June 21, 2010 Im having the same problems but with uploading of plugins in wordpress.I used the same command "change file field chosen". Sometimes it works, sometimes it doesnt, THE EXACT SAME FILE on the same form! Quote Link to post Share on other sites
Psychotix 0 Posted June 21, 2010 Report Share Posted June 21, 2010 Did you get it to work Chamich?I gave up and just clicked on the "browse" buttong like in your 1st pic, so I can choose the file manually. Quote Link to post Share on other sites
chamich 0 Posted June 21, 2010 Author Report Share Posted June 21, 2010 Try using 'change file field chosen' instead As I understand at first I need to choose dialog box by some attribute to use change file field chosen?How can this be done? Drag and drop of dialog window and right click on the window doesn't help. Quote Link to post Share on other sites
alcr 135 Posted June 21, 2010 Report Share Posted June 21, 2010 Right click on the small box where the searchpath goes, click choose by attribute (and take a good one which seems solid)Then use 'change file field chosen' with your searchpath. Voila, you're done. If you still want to go the old way, you would have to use the thread command, splitting the commands into two different threads. There are detailed instructions here on the forum, I think Luke had a similar problem a while ago. Psychotix: It always works here? Have you tried having enough delays? It might be a little tricky at a bit slower computers. Quote Link to post Share on other sites
chamich 0 Posted June 21, 2010 Author Report Share Posted June 21, 2010 Here is what I get when right clicking I am using Win 7, IE 8 if that matters Quote Link to post Share on other sites
alcr 135 Posted June 21, 2010 Report Share Posted June 21, 2010 Oh I'm talking about the box next to the browse button, before you get that window open. Quote Link to post Share on other sites
chamich 0 Posted June 21, 2010 Author Report Share Posted June 21, 2010 Now I am completely confused What box you speak about? Next to browse I have just save and cancel buttons. Generally my question is following - if I have a page with links to some files ( torrent, doc, pdf, whatever ) and links to files are not direct ( download starts only after the click ) how can I download these files to specific folder on my computer? Quote Link to post Share on other sites
alcr 135 Posted June 21, 2010 Report Share Posted June 21, 2010 Check the attached file. And I'm not sure on what you're trying to ask on your second question? Quote Link to post Share on other sites
chamich 0 Posted June 23, 2010 Author Report Share Posted June 23, 2010 My question is it possible to save files ( pdfs for example ) from webpages with Ubot? Quote Link to post Share on other sites
alcr 135 Posted June 23, 2010 Report Share Posted June 23, 2010 My question is it possible to save files ( pdfs for example ) from webpages with Ubot?Yes. That is possible with the download-command. Quote Link to post Share on other sites
webautomationlab 21 Posted June 23, 2010 Report Share Posted June 23, 2010 Yes. Use the download file command, and supply a web path to the file, and a local path to save to. I haven't tested PDFs but it should work just fine. Quote Link to post Share on other sites
chamich 0 Posted June 24, 2010 Author Report Share Posted June 24, 2010 Thanks, figured out how to save multiple files from the page -scraped urls to list 1, and file names to list 2. Download command looks following It is working, but just curious maybe someone did the same more elegantly? Quote Link to post Share on other sites
gilad 0 Posted July 2, 2010 Report Share Posted July 2, 2010 Sorry to bring this subject back up but I am trying to do the same on a download link on ShareASale. Seems that if I save the link to file, it saves the php itself. They must have something that either protects from hot linking or redirects to the real download when you click on the "download" button.Is there a way to tell uBot to "save" the file when the "Save/open/cancel) pop up comes up from IE? Quote Link to post Share on other sites
alcr 135 Posted July 2, 2010 Report Share Posted July 2, 2010 Sorry to bring this subject back up but I am trying to do the same on a download link on ShareASale. Seems that if I save the link to file, it saves the php itself. They must have something that either protects from hot linking or redirects to the real download when you click on the "download" button.Is there a way to tell uBot to "save" the file when the "Save/open/cancel) pop up comes up from IE?Yes thats possible. Look at click dialog button Quote Link to post Share on other sites
gilad 0 Posted July 2, 2010 Report Share Posted July 2, 2010 Hi,I've seen "click dialog button" and tried it but it seems that the Save/Run/Cancel box is somewhat modal, hence the script doesn't click the button (I've put "Save" as the text to search and click.Is there any example out there you can recommend I take a look at to learn how to operate the save/run/cancel popup box? Quote Link to post Share on other sites
alcr 135 Posted July 2, 2010 Report Share Posted July 2, 2010 Yes you would have to put the node which brings out the dialog in a different thread, and then a delay. And in the first thread (your script), click dialog button. Quote Link to post Share on other sites
gilad 0 Posted July 3, 2010 Report Share Posted July 3, 2010 Thanks for your advice Alcr!I just tried it but the save/run/cancel popup seems to stop the flow execution all together (modal state window).Do you have any ubot source file I can peek into to see how you overcome this? Quote Link to post Share on other sites
alcr 135 Posted July 3, 2010 Report Share Posted July 3, 2010 I can make one in a few hours!But the navigate node (or whatever node that brings up that dialog) should be in the thread with a delay of a few seconds. And then in the real script put click dialog button. Quote Link to post Share on other sites
gilad 0 Posted July 3, 2010 Report Share Posted July 3, 2010 Thanks,That's actually what I did, yet it seems it's unable to click or continue the flow once the popup shows.I'm attaching a snapshot of the relevant part of my code. Any feedback would be highly appreciated. http://img18.imageshack.us/img18/5274/floww.jpg 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.