tjmako 1 Posted February 4, 2013 Report Share Posted February 4, 2013 Hello,I just updated to 4.2.12 and I'm using the "Allow Popups : In New Window" feature.When a new window pops up, however, I cant figure out how to close it after a specified length of time.Can this be done with an existing function or even with javascript?The problem is that I'm accumulating TONS of popup windows and they never close.Thanks! Quote Link to post Share on other sites
HelloInsomnia 1103 Posted February 5, 2013 Report Share Posted February 5, 2013 You should be able to do it using the close page command. Quote Link to post Share on other sites
tjmako 1 Posted February 5, 2013 Author Report Share Posted February 5, 2013 I'm not having any luck with close page. (using "in popup")The windows stay open. Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted February 5, 2013 Report Share Posted February 5, 2013 Put to "close page" command at the end of your in pop up sub. That should close that current window.However, if you pause or stop your bot while the in popup window is open it will get stuck there. It should auto close so i guess its better to report this on support. Quote Link to post Share on other sites
tjmako 1 Posted February 5, 2013 Author Report Share Posted February 5, 2013 To clarify, the popups I'm opening are inside of a new thread -> "In New Browser" window. The popup is produced when the bot clicks a link. Could the fact that my "in popup" is inside a thread be the reason they aren't closing properly? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted February 5, 2013 Report Share Posted February 5, 2013 theres a tutorial for it in the forumhttp://www.ubotstudio.com/forum/index.php?/topic/12812-example-popups-in-new-window-source/ Quote Link to post Share on other sites
tjmako 1 Posted February 5, 2013 Author Report Share Posted February 5, 2013 Thanks for the tutorial. This is exactly how I have it set up (other than the fact that mine uses multi-threading), but the popups aren't closing. It looks like they might be freezing/crashing when I attempt to close them.I'll try submitting a ticket to support. Quote Link to post Share on other sites
luis carlos 94 Posted February 9, 2013 Report Share Posted February 9, 2013 (edited) any updates about the OP? Without the close page, how can I close several windows I have opened in the right side? Edited February 9, 2013 by luis carlos Quote Link to post Share on other sites
tjmako 1 Posted February 11, 2013 Author Report Share Posted February 11, 2013 any updates about the OP? Without the close page, how can I close several windows I have opened in the right side? I submitted a ticket and they said this issue has been fixed, and the fix will be included in the next update. 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.