-
Content Count
133 -
Joined
-
Last visited
-
Days Won
6
dyvel last won the day on April 14 2015
dyvel had the most liked content!
Community Reputation
20 ExcellentAbout dyvel
-
Rank
Advanced Member
- Birthday 02/07/1981
Profile Information
-
Gender
Male
-
Location
Denmark
System Specs
-
OS
Windows 8
-
Total Memory
8Gb
-
Framework
v3.5 & v4.0
-
License
Developer Edition
Recent Profile Visitors
-
Hi I have a bot that is scraping content from a website - when I only have a single tread running, it's working fine. But when I change it to multiple threads, then I experience issues with a task where it should download an image to a folder. I have a wait for a complete page load and wait for element, but still no joy on multiple threads. And as it's working fine on a single tread, my code regarding download of the image should be ok... I'm using only local variables inside the "in new browser" node. Any of you experts have an idea about what could be the issue?
-
My GUI is all HTML and I load the dynamic dropdown values as shown in my post #3 Have you checked you have values in your variable (check debugger). Again - post some code - makes it easier to help
-
Try and share some of you code - makes it easier to help
-
[Example] How To Fill A Table With Data In A Ui Html Panel
dyvel replied to dyvel's topic in Tutorials, Tips and Tricks
Download the bot I've attached - problem solved Anyway - hope you can use it... Cheers -
[Example] How To Fill A Table With Data In A Ui Html Panel
dyvel replied to dyvel's topic in Tutorials, Tips and Tricks
And here's the final example using a table to populate the HTML table. The header and footer are created manually in the define makeDemoTable. The rest is done automatically calculating the number of columns and rows in the table. on load("Bot Loaded") { makeDemoTable() makeHTMLTableRows() } define makeDemoTable { set(#i,0,"Global") loop(10) { add list to table as row(&data_table,#i,0,$list from text("Cell 1, Cell 2, Cell 3, Cell 4",",")) increment(#i) set(#table_head,"<tr> <th>This is my header</th> <th>This is my header&l -
[Example] How To Fill A Table With Data In A Ui Html Panel
dyvel replied to dyvel's topic in Tutorials, Tips and Tricks
And a closer to real world example using a list to populate the table set(#tabledata,$nothing,"Global") set(#i,0,"Global") clear list(%data_list) add list to list(%data_list,$list from text("Table data 0 Table data 1 Table data 2 Table data 3 Table data 4 Table data 5 Table data 6 Table data 7 Table data 8 Table data 9 Table data 10 Table data 11 Table data 12 Table data 13 Table data 14 Table data 15 Table data 16 Table data 17 Table data 18 Table data 19 Table data 20 Table data 21 Table data 22 Table data 23 Table data 24 Table data 25 Table data 26 Table data 27 Table data 28 Table data 2 -
[Example] How To Fill A Table With Data In A Ui Html Panel
dyvel replied to dyvel's topic in Tutorials, Tips and Tricks
And here using jQuery + Bootstrap to prettify it a bit... <html> <head> <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> <script type="text/javascript" charset="utf8" src="https://code.jquery.com/jquery-2.1.3.min.js"></script> <script type="text/javascript" charset="utf8" src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> </head> <body> <div class="table-container"> <table id="grid-basic" class="table table-condensed table-hover table- -
Hi guys Here's a small snippet I made showing an example, how to fill a table with data in a UI HTML panel. This can easily be extended to use a ubot table to fill the UI HTML table. ui html panel("<style> body \{ font-family: arial; font-size: 12px; \} .container \{ height: 200px; overflow: auto \} table \{ border: 1px solid #000; \} tbody td, thead th \{ border-bottom: 1px solid #000; \} th, td \{ padding: 4px; \} </style> <div class=\"container\"> <table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"> <thead> <tr> <t
-
How To Make Ubot Use Contents In Order In A Text File?
dyvel replied to traviscreate's topic in Scripting
Here's the example code in ubot form. Standard version can't use code view... only node view travis.ubot -
How To Make Ubot Use Contents In Order In A Text File?
dyvel replied to traviscreate's topic in Scripting
Take a look at this small example save to file("{$special folder("Desktop")}/list.txt","email 1 email 2 email 3") clear list(%myList) add list to list(%myList,$list from file("{$special folder("Desktop")}/list.txt"),"Delete","Global") set(#i,0,"Global") loop while($comparison($list total(%myList),">",#i)) { comment("Do your stuff here") alert($list item(%myList,#i)) increment(#i) } It will save a list to file, read the content of list.txt from your desktop and alert you with the content of each line of text... I think this will get you started. -
Take a look at "append to file" - I think it will suit you needs... http://wiki.ubotstudio.com/wiki/Append_to_File EDIT: You'll also find this helpful: http://www.ubotstudio.com/forum/index.php?/topic/14205-howtorun-thread-safe-container/
-
[Howto] Create A Commercial Bot Without Updating Ever Again!
dyvel replied to diskwizz's topic in Tutorials, Tips and Tricks
I understand... you example could easily be modified to deliver code to the bot on runtime. Speaking of protection, that would be pretty difficult to hack as the bot wouldn't be able to run without the code from the server - no license - no code :-) So even if a hacker cracked the protected bot, it wouldn't matter as it wouldn't run without access to the server. -
Browse To Upload File Pops Under The App Window
dyvel replied to dyvel's topic in General Discussion
It's a flash based "browse" function, so that might be the reason... -
Hi I have a problem with a "browse" button on a site, where the ubot standard popup opens behind my window. The window loads full screen, so I don't see the select file dialog... Have you guys experience with that? Doesn't seem logic to me - looks more like a bug, as I have no controls over it...
-
[Howto] Create A Commercial Bot Without Updating Ever Again!
dyvel replied to diskwizz's topic in Tutorials, Tips and Tricks
Nice example, showing just how versatile the communication plugin is. But why not just use meters Locker to both protect your bot, and deliver the updates when they are ready? Other than that - the communication plugin looks pretty sweet... Need to have it someday