kate
-
Content Count
35 -
Joined
-
Last visited
-
Days Won
2
Posts posted by kate
-
-
thank you for this plugin heopas
btw, any documentation how to use sqlite feature ?
-
thank you nick
- 1
-
-
-
menu "tools" - "option"
-
maybe your 5 user has slow internet connection
as we know, ubot download files when first start. Its lot if youre using slow internet connection
-
best practice is to count total first, then do iteration ($next list item)
you stated that this error occurs when using headless feature, isnt ?
add list to list(%shorturls,$scrape attribute(<class="short-url">,"href"),"Delete","Global")
then maybe, when using headless feature ubot failed to scrape data. Check you list if its empty
- 1
-
your link is broken dan
For support please open a ticket at:
http://www.bot-factory.com
Had to remove the support via Email. It got out of hand a bit.Thank you
Dan
-
Hello,
I search how always focus on the ui text box?
If somebody can help me for this, i will be very happy, because i search since longtime.
Thanks by advance.
hi
sorry, i dont get it
maybe an image will make me understand
-
I'm trying to test how ubot treat boolean value, this is WIP, hope it helps
CONCLUSION:
- if somehow ubot skip your "if" command then maybe the condition is wrong
- WIP
set(#log,"","Global") ui html panel("<html><body><div variable='#log' fillwith='innerhtml'></div></body></html>",700) comment("python, TODO") comment("ubot") set(#test,"false","Global") purpose("Testing false string from variable") if(#test) { then { log("true") } else { log("false") } } set(#test,"true","Global") purpose("Testing true string from variable") if(#test) { then { log("true") } else { log("false") } } set(#test,"true","Global") purpose("Testing #test = \"true\"") if(#test="true") { then { log("true") } else { log("false") } } set(#test,"true","Global") purpose("Testing #test = $true") if(#test=$true) { then { log("true") } else { log("false") } } purpose("Testing string \"true\"") if("true") { then { log("true") } else { log("false") } } purpose("Testing string \"false\"") if("false") { then { log("true") } else { log("false") } } purpose("Testing 1") if(1) { then { log("1 is true") } else { log("1 is false") } } purpose("Testing 1=1") if(1 = 1) { then { log("1=1 is true") } else { log("1=1 is false") } } purpose("Testing \"1\"") if(1) { then { log("1 is true") } else { log("1 is false") } } purpose("Testing $true") if($true) { then { log("$true is true") } else { log("$true is false") } } purpose("Testing $false") if($false) { then { log("$false is true") } else { log("$false is false") } } comment("javascript") purpose("Testing $eval(\"true\")") if($eval("true")) { then { log("$eval(\"true\") is true") } else { log("eval(\"true\") is false") } } purpose("Testing $eval(\"false\")") if($eval("false")) { then { log("$eval(false) is true") } else { log("$eval(false) is false") } } purpose("Testing $eval(\"TRUE\")") if($eval("TRUE")) { then { log("$eval(TRUE) is true") } else { log("$eval(TRUE) is false") } } purpose("Testing $eval(\"True\")") if($eval("True")) { then { log("$eval(1) is true") } else { log("$eval(1) is false") } } purpose("Testing $eval(\"1\")") if($eval(1)) { then { log("$eval(1) is true") } else { log("$eval(1) is false") } }
RESULT:Purpose: Testing false string from variable Log: false Purpose: Testing true string from variable Log: true Purpose: Testing #test = "true" Log: true Purpose: Testing #test = $true Log: true Purpose: Testing string "true" Log: true Purpose: Testing string "false" Log: false Purpose: Testing 1 Purpose: Testing 1=1 Log: 1=1 is true Purpose: Testing "1" Purpose: Testing $true Log: $true is true Purpose: Testing $false Log: $false is false Purpose: Testing $eval("true") Log: $eval("true") is true Purpose: Testing $eval("false") Log: $eval(false) is false Purpose: Testing $eval("TRUE") Purpose: Testing $eval("True") Purpose: Testing $eval("1")
missing "Log: false / Log: true" it means ubot skip that "if" command -
Kate. Should I downgrade to a previous version?
Brutal, I have already disabled all my av/fw etc. So I'm assuming that's a no
if you dont need bug fixes in .36 version, yes you should
-
check also what python says about True/False
-
Python boolean values is "False" and "True", hence ubot is "true" ($true) and "false" ($false)
-
Just to point out that this is in fact a really annoying bug in Ubot Chrome 49,or any version post 21,if you run with Ubot 4 or I guess Ubot 5.9 with Chrome 21 it executes perfectly and doesn't execute the following node until completed
should we add it to tracker.ubotstudio.com ?
-
compiled bot first run will download browser data, if you have version .36, theres bug that download .36 & .33 browser. So before that complete, your bot will not working as it should.
-
to assign default value to ubot, you can put it in "on load" command. But still, you need to know variable names
-
its good to add "wait" command after "run javascript" command. Let javascript command finish their work
-
$false And $Is Number return value is different
http://network.ubotstudio.com/forum/index.php/topic/19847-comparison-and-is-number/
-
pash
thank you for pointing me that. In future if somebody need documentation, they can find it here
maybe because "is number" is bot bank command so there's different way to say true/false
-
Hi
Code:
ui text box("Test Value",#test) ui button("Test 1") { if($is number(#test)) { then { alert("Yes its number") } else { alert("It should be number") stop script } } } ui button("test 2") { if($comparison($is number(#test),"= Equals",$false)) { then { alert("It should be number") stop script } else { alert("Yes its number") } } }
This test to prove
$is number
return value is not same as
$comparison
return value
image:
http://i.imgur.com/ANRPIkp.png
i cant find doc on this, hope it helps others.
( btw, is it bug ? )
-
yes, yesterday(or day before yesterday), happend to me too
-
Save your HTML template in separate file, then load it with ui html panel, if you change the html file, just edit "ui html panel" and save. Ubot will reload that html file.
This is usefull if you have huge html, it will not clutter your code view, and make ubot studio happy(at least on my crappy comp)
ui html panel($read file("{$special folder("Application")}\\template2.html"),350)
???
sorry too fast to hit enter
-
Hi
First, if its not right place feel free to move it
As ubot beginner, there's learning curve that we must pass.
Here i'll post Miscellaneous Tips that i find usefull as ubot beginner, hope it helps other
i'll also shamelessly post other uboter tips that i can find(offcourse, credit due where its due)
TO SENIOR UBOTTER :
Please jump in and add, we need your wisdom here
#1. Save HTML Template in separate file
#2. Separate your work into defines, One, two
#3. Ubot studio crash, missing some source code ? Check here
#4. How to add JQUERY in your ubot browser#6. Ubot custom selector : XPATH, CSS Selector
#7. Want to test random HTML panel's without needing to compile a whole new bot ?
#8. $false not same as $is number 's "false"
-
Thanks!
How do you create that UI ? Using bootstrap css framework ?
Ubot Browser Gibberish Response
in General Discussion
Posted · Edited by kate
Got this gibberish response while visiting a site (see atachment)
Using chrome 21 & 49 same result
Any clue ?
Or is it Ubot Studio bug ?
Or is it Ubot Studio feature ?