LoWrIdErTJ - BotGuru 904 Posted September 14, 2012 Author Report Share Posted September 14, 2012 screenshot: http://screencast.com/t/My3cAy8o Quote Link to post Share on other sites
ajacko 15 Posted September 15, 2012 Report Share Posted September 15, 2012 screenshot: http://screencast.com/t/My3cAy8o Hi - thanks for your post. I tried that but I'm getting an error - given key not present in dictionary. This is the code view if it shows where the problem might lie. Greatly appreciate your help. define $google(#google) { navigate("http://www.google.com", "Wait")}ui html panel("<button onclick=\"ubot.runScript(\'google(#google)\')\">Go</button>", 40) Using the standard ui button NOT in the html panel (as below) works fine: ui button("Go") { google(#google)}define google(#google) { navigate("http://www.google.com", "Wait")} Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted September 15, 2012 Author Report Share Posted September 15, 2012 Removed your other 2 posts made in separate threads for the same question.. Ask once in 1 location is plenty good.. Variable wasn't needed,Not a function its a command.Functions return a value, commands perform actions. code: define google { navigate("http://www.google.com", "Wait") } ui html panel("<button onclick=\"ubot.runScript(\'google()\')\">Go</button>", 40) screenshot:http://content.screencast.com/users/lowridertj/folders/Snagit/media/82b52ba8-5c2c-4c70-a7a2-6705e3de6124/09.15.2012-05.png Quote Link to post Share on other sites
ajacko 15 Posted September 15, 2012 Report Share Posted September 15, 2012 Thanks BotGuru. Sorry for additional posts - just saw similar threads so asked there. Won't do it again - promise ;-) I had meant 'command' but in my haste last night wrote function. I had tried putting functions and commands in - thanks for sorting that out and big thanks for the ui html panel tabbed code - brilliant! Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted September 15, 2012 Author Report Share Posted September 15, 2012 no problem anytime. Quote Link to post Share on other sites
AutomationNinja 194 Posted November 26, 2012 Report Share Posted November 26, 2012 Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you THANK YOU! I just don't know what else to say. Quote Link to post Share on other sites
VaultBoss 310 Posted November 26, 2012 Report Share Posted November 26, 2012 Thank youThank youThank youThank youThank youThank youThank youThank youTHANK YOU!I just don't know what else to say. Just hit the LIKE THIS button, mate .. add some love to the man's profile. Quote Link to post Share on other sites
Twitter Dominator 125 Posted November 27, 2012 Report Share Posted November 27, 2012 Removed your other 2 posts made in separate threads for the same question.. Ask once in 1 location is plenty good.. Variable wasn't needed,Not a function its a command.Functions return a value, commands perform actions. code: define google { navigate("http://www.google.com", "Wait") } ui html panel("<button onclick=\"ubot.runScript(\'google()\')\">Go</button>", 40) screenshot:http://content.screencast.com/users/lowridertj/folders/Snagit/media/82b52ba8-5c2c-4c70-a7a2-6705e3de6124/09.15.2012-05.png i have a quick question to clear things up for me , maybe im over tired not sure but ok this is second tab in original code example <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td>Input Example</td> <td><input name=\"inputexample\" type=\"text\" variable=\"#inputexample\" fillwith=\"value\" /></td> </tr> <tr> <td>Dropdown Example</td> <td><select name=\"dropdownexample\" variable=\"#dropdownexample\" fillwith=\"value\"> <option selected=\"selected\" value=\"0\">Choose a category</option> <option value=\"1\">Option 1</option> <option value=\"2\">Option 2</option> </select></td> </tr> <tr> <td>Checkbox Example</td> <td><input name=\"checkboxexample\" type=\"checkbox\" variable=\"#checkboxexample\" fillwith=\"checked\"/></td> </tr> </table></td> <td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\"> <tr> <td>Textarea Example</td> </tr> <tr> <td><textarea name=\"textareaexample\" cols=\"20\" rows=\"5\" variable=\"#textareaexample\" fillwith=\"value\"></textarea></td> </tr> </table></td> </tr> </table> and here is the other code you setup for him now can you make it show in this tab box code so its clear to me how this works define google { navigate("http://www.google.com", "Wait") } ui html panel("<button onclick=\"ubot.runScript(\'google()\')\">Go</button>", 40) thanks Quote Link to post Share on other sites
AutomationNinja 194 Posted December 5, 2012 Report Share Posted December 5, 2012 I don't know why but when in ubot the tabs seem to reset and all of the info vanishes. Is that normal? Is that something that will stop when the bot is compiled? Quote Link to post Share on other sites
rocket976 62 Posted December 5, 2012 Report Share Posted December 5, 2012 Sounds like a prob with a script in the head, try moving it to the end of body I had this prob a few times, 1 Quote Link to post Share on other sites
AutomationNinja 194 Posted December 5, 2012 Report Share Posted December 5, 2012 No script in the head, but I think I figured it out. I was using variable instead of name. silly rabbit. Quote Link to post Share on other sites
AutomationNinja 194 Posted January 25, 2013 Report Share Posted January 25, 2013 Man o man I never did deal with this until today and then it took me forever to search the forum and get the answer. and here it is answered for me many moons ago. Thanks Rich. Quote Link to post Share on other sites
rocket976 62 Posted January 26, 2013 Report Share Posted January 26, 2013 No prob yea this one took me for a loop too Quote Link to post Share on other sites
heruma 0 Posted July 5, 2013 Report Share Posted July 5, 2013 How do I download this? I click the download button and it just pop up the picture. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 5, 2013 Author Report Share Posted July 5, 2013 Will fix it shortly. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted July 6, 2013 Author Report Share Posted July 6, 2013 link fixed Quote Link to post Share on other sites
unibotsi 7 Posted November 15, 2018 Report Share Posted November 15, 2018 Hey Man The download page (Error 500, after sending the form) AND your message plugin do not work on your website :-) Best Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted November 15, 2018 Author Report Share Posted November 15, 2018 Hey Man The download page (Error 500, after sending the form) AND your message plugin do not work on your website :-) Best Usehttps://www.botguru.net/wp-content/downloads/UIHTML-CSSTabbedUIArea.zip Quote Link to post Share on other sites
unibotsi 7 Posted November 15, 2018 Report Share Posted November 15, 2018 Awesome - a zillion thanks! Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted November 15, 2018 Author Report Share Posted November 15, 2018 Your welcome this was just an example setup, but you might want to take a look at UStrap for something more robust for building interfaces. 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.