Jump to content
UBot Underground

IRobot

Members
  • Content Count

    508
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by IRobot

  1. The problem is with the code; if there's nothing in the list, the first item cannot be accessed.

    Stat Monitors should only be used to display variables, not for example; $list items.

     

    To fix your problem:

    Set a variable to $list item > Position 0.

    Then use a Stat Monitor to display the variable's value after the list has been populated (i.e. after the $add to list).

  2. Is there a fast/simple way to do this for a whole bunch of directories?

    That would depend on whether all of the directories were built using a common platform; if they were it's likely they would have common attributes, which Ubot could easily select; if not, you would have to go through each one to check if they had anything in common which Ubot could select.
  3. A check box is to be the choice for filling in text fields automatically or to provide a variable

    ...

    If I understand correctly, the user clicks on a check box and the relevant ui text box is filled in?

     

    If so, this functionality is not available in Ubot standard, but could be implemented in Ubot Pro/Dev, using the HTML UI.

  4. For sake of making small simple modules I am compiling each process as an executable.

    Do you mean each script?

     

    When I try to chain one event to the next I get an a error "Xenocode Postbuild 2008" The application was unable to load required virtual machine component. Please contact the publisher of this application for more information.

    What do you mean by "chain one event to the next"?

     

    Do you mean you are using the include command?

    If so, you can only include .ubot files, not compiled .exe's.

  5. Is it possible to scrape two bits of adjacent data from a line on a page and pop them into a CSV file?

    Yes, mate.

     

    For example, I'm trying to get all the image URLs and the product descriptions from this page : http://www.pinchinpipesandfittings.co.uk/ABS_Pipe_Fittings.html into a CSV list so I can match them up in a database.

     

    Possible? If so, can anyone point me to a tutorial, or i'll even bung someone a few quid if they can knock out a script.

    Yes. The attached example shows how to scrape the image URL's to a .txt file. You will need to create another list for the descriptions, and save to a CSV. For further info., please see the tutorials on scraping and CSV files here: http://ubotstudio.com/tutorials.aspx

     

    scraper.ubot

  6. I can't compile have tried to compile both the actual bot and a bot with just a NAV command in it pointing to Google - started from scratch.

    As it's a simple bot, why not upload the .ubot file for others to compile?

     

    This may help to determine whether Ubot is at fault, the computer system or something else.

×
×
  • Create New...