joshua
-
Content Count
16 -
Joined
-
Last visited
-
Days Won
1
Posts posted by joshua
-
-
Hmm so when the "click chosen" command don't work sometimes, can we use this method to simulate the "press enter"?
What is "\n"? Is it inserting the string "\n" as the variable? I am using the $new line constant, is it the same?
Absolutely yes. This method is god to submit forms when "click chosen" does not work.
What you need to do is, just press enter once when entering text into a variable. This will simulate pressing enter.
i have not used the #new line constant, but i suppose the result is the same.
-
Find the url of the iframe and then navigate to it directly.
The url of the iframe is dynamically created by the javascript. That's what i need to take.
-
ui stat monitor is very helpful for monitoring and debugging the bots, and useful for compiled bots to show the user where the bot is working on, what items are found etc.
the problem with that is, the ui stat monitor output is limited to a few chars, so, an url for example, is displayed in plenty of lines and cannot be read.
my suggestion is to provide more readable uistatmonitor output.
-
There is a javascript in the web page i want to scrape. This javascript loads an HTML file in an IFrame. I want to access the HTML in this IFrame which is dynamically created by the javascript, and scrape the content in it.
How to do this with ubot?? Any suggestions.
Thank you all
-
Yes, and this is a good point Alcr. There's practically no instruction on how to implement javascript with ubot and it's desperately needed.
Javascript automatically covers many things that are not in ubot and the more I use javascript in ubot, the more I think it should stay that way! Why try to fix something that already has a tool for it but we don't know about the tool.
Anyhow, I'm working on a new website, www.ubotjunkie.com - hold off, there's little content on it yet, but I'll be putting up videos and tutorials as well on how to use javascript with ubot.
Frank
It is great that Ubot can use Javascript! Javascript is powerful.
And i agree that Ubot should not provide tons of functions and procedures which would make it a thick platform.
But, in terms of string functions, they are really, really essential for writing Bots. I am not comfortable with including a library and using the returned value of a sub just only to find the length of the newest line i have scraped from a page. Any programmer using Ubot will need access to Length of a string, need to find a substring in another string, etc.
Btw, good luck with Ubotjunkie, Frank.
Ubot rocks!
-
You can have two different compiled bots for different tasks and run them simultaneously. If you design your bots in a manner that they can work together - in terms of inputs and outputs, a full automation is possible.
Ubot is an excellent piece of software!!
-
use a min-max random delay between actions e.g. RAND(3, 6)
i am using random delays in my bots and it works great.
-
Tweak to change IE referer is a workaround, but this feature is really important for Ubot.
IF every different bot should have the option to change the Useragent and the referer, this would be awesome.
-
I am using "send keys chosen" on a form, and send a "\n" to the form by pressing enter instead of entering some text into the variable. it works fine and simulates enter whereever i need.
i hope i did not understand the case wrong.
- 1
-
Ubot is fantastic!
But i am stuck when i need string operators.
The following string operators, which are pretty easy to implement,
will be a great addition to UBot.
Length(string) : integer
Concat(strings) : string
Find(substring,string) : pos (0 if not found)
Copy(string,startpos,numchars) : string
Trim(string) : string
Btw, i am aware of the great string library for Ubot. But it takes quite effort and time to return values from subroutines etc...
Loading an iframe called by a javascript
in Scripting
Posted
How can i call run the javascript.js on the page which creates the iframe and get the output/variables of it to a variable?