Brutal 164 Posted September 19, 2014 Report Share Posted September 19, 2014 I found a thread from 2012 and 2013 that talked about this, but didn't find a solution that works, so I'm hoping someone knows how to achieve this. I have a ui html window that gathers various user data from the user (a.k.a., login credentials) I don't want the user to have to click menu links to find it, I want to be able to put a button in my ui html panel and when the user clicks that button, the ui html window opens for them. I did try the windows commands, and do understand how to achieve it OnLoad using keyboard events, but because the user may need to change the data multiple times, I need a simple button click option to get him into that screen. Any ideas? Quote Link to post Share on other sites
Brutal 164 Posted September 19, 2014 Author Report Share Posted September 19, 2014 I guess a reasonable workaround would be to put the ui panel contents into a var, and then on button click load var with different content. Of course then I will need to figure out how to get the new var content to refresh in the uihtml panel. Quote Link to post Share on other sites
Marton 48 Posted September 19, 2014 Report Share Posted September 19, 2014 Hi, I think this might be a good solution for you: You can even use this if you hide the menu. It's done by Pash's Advanced Ubot plugin: http://www.ubotstudio.com/forum/index.php?/topic/16097-sell-plugin-advanced-ubot/ All the best,Marton Quote Link to post Share on other sites
Brutal 164 Posted September 19, 2014 Author Report Share Posted September 19, 2014 Thanks man, I have that plugin.... Will check out your method. Update - That was exactly what I was needing to achieve - Thanks again. 1 Quote Link to post Share on other sites
Brutal 164 Posted September 19, 2014 Author Report Share Posted September 19, 2014 Do you know of a way to close that same window on button click from within that window? Quote Link to post Share on other sites
Brutal 164 Posted September 19, 2014 Author Report Share Posted September 19, 2014 Ok, I figured out the close option i needed. Quote Link to post Share on other sites
bigmatt 0 Posted September 19, 2014 Report Share Posted September 19, 2014 Hey, maybe you could write what you did to close it? Quote Link to post Share on other sites
Brutal 164 Posted September 19, 2014 Author Report Share Posted September 19, 2014 Here's what I did... define close credentials window { plugin command("WindowsCommands.dll", "set active window", "Credentials", "") plugin command("WindowsCommands.dll", "close window", "Credentials", "")} I put it into a define, and then called the define using a button. I don't really know if I needed the "set active" call in there, but it made sense while I was doing it, and it worked as expected. Quote Link to post Share on other sites
Jaro 6 Posted November 16, 2015 Report Share Posted November 16, 2015 Has finally Ubot 5 upgrades implemented this (in my opinion) very basic option into the Ubot itself without needing some unprofessional workarounds? It's been a few years since people talked about it already on forums. 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.