Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

How would I create a program that does this?

I want to create a program that loads a webpage, checks a certain piece of text on the page, checks if the value is higher or lower than a specified value, then either reload the webpage or click a button, depending on if the value satisfies the given value. How would I go about doing this?

1 Answer

Relevance
  • John
    Lv 7
    8 years ago
    Favorite Answer

    You mentioned Click a button, it means you request Graphic User Interface.

    Microsoft C# and VB.Net will do.

    >checks a certain piece of text

    Regular expression can do the job well.

    >if the value is higher or lower than a specified value

    Declare a variable to check against the obtained value.

    If the value is not equal specified value take the previous action again

    In VB.Net create a button and named as btnProceed

    Sub btnProceed_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnProceed.Click

    Create a timer to click the button says 15 seconds later. Otherwise the button will be called the web site unstopable until the variable same as the value on the page.

    Source(s): myself
Still have questions? Get your answers by asking now.