-
Content Count
107 -
Joined
-
Last visited
Posts posted by spa3212
-
-
i ran into that a couple times, try this
set condition no
loop while condition = no
if element exist set condition to yes
dont ask me why
but setting your loop to look for something always sems to fail
also ad a 1 sec delay before testing for condition
-
would be great if you can give code what you did.
-
Hi,
This can be very simple for someone..
loop while($not($find regular expression(#website, #website))) { wait(5) click(<innertext="Next">, "Left Click", "No")
actually loop and click next untill it find particular regular expression..But the loop never stops even it find that regex on page..I want it to stop or break loop and move to next command..
plz help
-
I have ubot 4 can UIBUILDER works with ubot 4 also..due you have more precise tutorial like how to implement the new layout etc..
-
Hi,
I want to know if selection of content is possible with ubot, for example let say
I find a page of amazon products, But there are 100 items out which ,I want to scrape content from 20 items only.
I mean some kind of check bot system we can implement
if yes how..your help is appriciated.
-
This was just what I wanted..Many Many thanks for your help..
-
Hi,
I want to scrape google's Result title in csv file, but when it see the csv file it add the content into 10 cells, is it possible IF this can be limited to single cell, may be with some kind of seperator or some custom text like "ahsn" instead just coma seperated..
if no then how to have all 10 results into single cell with coma seperated?
-
@meter
can you please send me PM as I can't I am from india is there any other way I can pay for this ubotlocker?
-
NO, I want to save every url in new line..
Iike if bot visit yahoo.com, then bot will save yahoo.com
and then if bot have bing.com then bot will add bing.com in next line
so that file looks like
yahoo.com
bing.com
please help this is urgent.
-
I am looking to find a solution how to store the cookies of gmail and use these cookies to login next time..
I tried google but do not find a solution for this..
Please help
-
Hi,
I am getting Object reference not set to an instance of an object.
though I could log in to my emails and can see emails..
-
I don't know if this help..coz I am new to ubot..
ui open file("Get CSV", #CSVfile)ui text box("keyword number", #picknumber)set(#row, #picknumber, "Global")create table from file(#CSVfile, &keywordcsv)define checkvideo {navigate("https://google.com/ncr","Wait")wait(5)type text(<name="q">, $table cell(&keywordcsv, #row, 0), "Standard")wait(5)click(<login button>, "Left Click", "No")if($search page("youtube.com")) {then {}else {}}}I stuck under if command..Now I want if youtube.com found on search page then bot should create a csv file and type yes else no..for all keywordand then move to next keyword do the same..please help.. -
I wants to create a bot..which is very simple just involve few steps hope you can help..
1. bot will open list of urls from a url.csv file
2. search for a text on page if found will say yes and "yes will be saved to 1.csv file"
and if not found will type "No" in the same 1.csv in next row..
3 this will go in loop using all urls of url.csv
Thats all..
But if possible...if we can add yes or no in next column of url.csv file instead of created new csv file.
please help..I tried a lot but everytime bot is not able to add yes or no..items in new csv..
Thanks in advance.
-
Hi,
I want to scrape 4 fields of a webpage But I want to show the scraped data in UI section of bot so that I can copy it easily..
Now issues is How this can done ..if possible if not possible is it possible to have a single text file of example below..
and is there any way I can have all 4 field scraped data in single UI box
But single UI box should have data according to fields.
like if the webpage have 10 parts from 1 ...10 and part have 4 fields...name,age,address,city
now is this possible to have data in this manner in a UI box or a text file single
example
Line 1 of text file = Name of part 1
Line 2 of text file = age of part 1
Line 3 of text file = address of part 1
Line 4 of text file = city of part 1
Line 5 of text file = Name of part 2
Line 6 of text file = age of part 2
Line 7 of text file = address of part 2
Line 8 of text file = city of part 2
-
thanks this works great.
-
I search on google and here but could not find any good tutorial on reading a csv file..
I have 5 col in my csv how I can read the file..bot will pick data from row 1 to 20 and from cold a to e one by one..
please help
-
got it working with winautomation
-
I think, I fail to explain what is required let me try once more..
I have firfox page in this page there is text "close this"
Now time is not specific when this text "close this" appear in the firefox or webpage..
Now what I want ubot to loop while till it see "close this" text on webpage soon it find , it just close the firfox window..
But if bot don't see "close this" text string..bot will not do anything
I hope this clears my point.
-
I need help, I have a particular test written in a external application window, I want ubot to read that text if found true then do a particular task..if not keep waiting..
This can be simple for you guys But I failed..
How can this be done..
-
yes, I think loop while do the trick for me..
my condition was like..
if account got suspended I add loop while just after clicking login, here loop while check for a condition if met , it reopen page and loop till login again, and I add rest of the command after loop while command..if bot don't find that search string it continue..
Thanks
-
Hey
I love this script.
However, it sometimes gets stuck. Mainly 2 things happen HMA just will not connect and the little HMA icon bottom right is flashing. 2nd thing is that it says connected but has not actually connected. Is there away to set some kind of timeout that after 2 minutes if the IP has not changed it moves on to the rest of my script...
Obviously the script wont work but once it finishes that run it will start from the beginning again.
Also, sometimes HMA will just disconnect - is there a way to ensure it is connected first before clicking the change IP - if connected it just changes IP. If not connected it just clicks connect? (cant do both because HMA only allows me to change every 5 minutes on my 10 license pack)
I'm sorry Im complete newb and have spent hrs trying to figure this out
Thanks in advance
Very good question, need help on this.
-
so there is not way, except pasting that command after every action...that,s makes code ugly
-
sorry but no, result lead to desired results need to discuss again..
-
Hi,
My bot uses hma and change IP once one task is over, But sometime hma don't change IP address and bot after its pause time move to next task without knowing the fact that hma has changed IP or not, means it move to next task using previous IP..
is there any way bot can compare previous IP, and New IP and see if they are both same, and if same bot must stop or pause..
I know you guys must have a good solution for this..and I think many of us would be facing such problem please HELP
Help Stoping Loopwhile Once Condition Met
in Scripting
Posted
I there anyone who can help