corvuscorax 0 Posted December 27, 2014 Report Share Posted December 27, 2014 How can I open links in the users standard browser? Have made a bot that logs into my mail accounts. I can open and delete the mails, but when I click an external link in the mail nothing happens. I cannot open links, and don´t know why. I want to open the links in my standard browser, and not in Ubot´s browser. Can anyone help me? THX 4 helping Quote Link to post Share on other sites
Edward_2 85 Posted December 27, 2014 Report Share Posted December 27, 2014 use a shell command heres the ubot code define lala { shell("cmd.exe /c start http://google.com")}ui button("lala") { lala()} Quote Link to post Share on other sites
giganut 109 Posted December 27, 2014 Report Share Posted December 27, 2014 or use this: shell("rundll32 url.dll,FileProtocolHandler https://www.google.com") Quote Link to post Share on other sites
UBotDev 276 Posted December 27, 2014 Report Share Posted December 27, 2014 Or you could just use the snippet I published here: http://ubotdev.com/snippet-open-url-in-users-default-browser Quote Link to post Share on other sites
corvuscorax 0 Posted December 28, 2014 Author Report Share Posted December 28, 2014 (edited) Or you could just use the snippet I published here: http://ubotdev.com/snippet-open-url-in-users-default-browserI have tested your script before, but I cannot change to node view, because there is a error in line 27...? The plugin command did not work right... Edited December 28, 2014 by corvuscorax Quote Link to post Share on other sites
corvuscorax 0 Posted December 28, 2014 Author Report Share Posted December 28, 2014 Thanks for helping mates, will check out your tips...Greets from Austria Quote Link to post Share on other sites
corvuscorax 0 Posted December 28, 2014 Author Report Share Posted December 28, 2014 use a shell command heres the ubot code define lala { shell("cmd.exe /c start http://google.com")}ui button("lala") { lala()} When i implement this snippet only the cmd.exe command window opens..? Quote Link to post Share on other sites
corvuscorax 0 Posted December 28, 2014 Author Report Share Posted December 28, 2014 or use this: shell("rundll32 url.dll,FileProtocolHandler https://www.google.com")Hi,I don´t want to open google, I want to open a link in an email, and the URL from the link in the email, in a new standardbrowser window. Is this possible? thx for helping 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.