Jump to content

cjacobs's Content

There have been 8 items by cjacobs (Search limited from 17-October 18)

By content type

See this member's

Sort by                Order  

#136799 Problem With Backlink Checker

Posted by cjacobs on 29 December 2018 - 07:44 PM in Scripting

Thanks Pash! I missed that! I tried so many different things I forgot to add that back.
Still having trouble though, UBot keeps shutting down after it runs a few urls. No pattern really.

Thanks again!

#136764 Problem With Backlink Checker

Posted by cjacobs on 23 December 2018 - 08:10 PM in Scripting

Hi all,

I building a backlink checker but keep getting "True" alerts on every url. Can you see what I'm doing wrong?



clear list(%URLs)
clear list(%target)
clear table(&data)
ui text box("URL/Text to Find",#target)
ui block text("URLS to Crawl",#websites)
set list position(%target,0)
add list to list(%target,$list from text(#target,$new line),"Delete","Global")
set list position(%URLs,0)
add list to list(%URLs,$list from text(#websites,$new line),"Delete","Global")
add list to table as column(&data,0,0,%URLs)
loop($table total rows(&data)) {
    clear list(%html)
    navigate($table cell(&data,#row,0),"Wait")
    wait for browser event("Page Loaded","")
    set(#scrape,$scrape attribute(<innerhtml="">,"innerhtml"),"Global")
    if($contains(%html,#target)) {
        then {
        else {
    pause script

#135189 Table Comparison And Scraping Problem

Posted by cjacobs on 05 September 2018 - 09:04 PM in Scripting

if $list total is => #max results:

    stop script


something like that

This almost got me there but the Stop Script of course stops the primary loop. I need it to exit this 2nd loop if the condition (#maxresults) is met.
Any ideas?

#135175 Table Comparison And Scraping Problem

Posted by cjacobs on 04 September 2018 - 09:52 PM in Scripting

Thanks for your input guys! Got it working using Sanjeev's code.


Is there a way to set a maximum number of results it will return?

#135160 Table Comparison And Scraping Problem

Posted by cjacobs on 04 September 2018 - 08:57 AM in Scripting



Wondering if anyone could help me with a problem I am having.


I am wanting to loop through a table and only scrape Cities if their latitude number (Column 5) is +2.00 more than the row (City) my app is currently on.


So in the table below my original position (#row) is 0 (Adak with has a latitude of 51.88), and I want to scrape the next cities that have a latitude number up to 53.88 which in this case would be:

Adak, Atka, Attu Station, Nikolski, Unalaska

<img src="https://imgur.com/a/PUrFojF">

I can't figure out what I need to qualify (comparison, eval etc) and extract the cities needed.


    clear list(%NearbyCities)
    loop($table total rows(&data)) {
        set(#Plus2,$table cell(&data,#row,5),"Global")
        if($comparison($table cell(&data,#tableloop,5),"> Greater than",#Plus2)) {
            then {
                add item to list(%NearbyCities,$table cell(&data,#tableloop,0),"Don\'t Delete","Global")
            else {
Any ideas?

#134617 Ui Html Panel - Open File & Run Button Problem

Posted by cjacobs on 17 June 2018 - 04:06 PM in Scripting

Problem solved.

I got it working with another UI builder.

#134579 Ui Html Panel - Open File & Run Button Problem

Posted by cjacobs on 12 June 2018 - 06:26 AM in Scripting

Hi Darryl,


I saw the file select but didn't want to use the images shown. There has to be a way to use an image button.




#134568 Ui Html Panel - Open File & Run Button Problem

Posted by cjacobs on 11 June 2018 - 05:43 PM in Scripting

I'm working on a UI html panel and I cannot get my Open File button or Start buttons to function. I defined the Start but am not having any luck.
Can anyone see my problem in the following code?
--Open File Button--
<button variable="#localBizs" fillwith="value" type="file" id="addimager89966" dialogtype="open" name="file" class="button08" style="text-decoration:none;padding:7px 15px;font-family:Georgia;font-size:18px;font-weight:800;color:#000000;border-radius:9px;"><!--lab-->Load Local Business File</button>
--Run Button--
<button id="addimager246634"  onclick="ubot.runScript('Start()')" class="button02" style="text-decoration:none;padding:7px 15px;font-family:Georgia;font-size:18px;font-weight:400;color:#ffffff;border-radius:6px;"><!--lab-->Create Driving Directions</button>