Jump to content

read and evaluate Websides


Denrie
 Share

Recommended Posts

Hello,
i want too wright a script thats read the website and if the is al link with the text (Bob) it shut klick on it
or if it's not search for (Bread) and klick on it
but i am a bloody noob in scripting (or englisch)

Please help,

Denrie ;)

 

Link to comment
Share on other sites

  • Moderators

Look at the _IE* functions in the help file.

There are plenty of examples to get you started.

Once you've attempted to accomplish what you wanted, it there are still issues, post back with the code and a detailed explanation on what you think is actually the issue and where you think it might be failing.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

ahhh but how i can say do it in the opend webside not only in one

and did it go on firefox?

Local $oIE = _IE_Example("basic")
_IELinkClickByText($oIE, "user forum")

how to cange it?

and what of it is the link? basic or _IE_Example

Edited by Denrie
Link to comment
Share on other sites

Why don't you look at the examples and try them ;-)

; Create a browser window and navigate to a website

#include <IE.au3>

Local $oIE = _IECreate("www.autoitscript.com")

Also, if you want firefox there is a UDF (user defined function) called >ff.au3 that you can use.  It is a bit trickier so you will need to read that thread and dig into how it works.

Build your own poker game with AutoIt: pokerlogic.au3 | Learn To Program Using FREE Tools with AutoIt

Link to comment
Share on other sites

  • Moderators

Read all the IE* functions in the help file.

To answer your question.

1.  Get the Internet explorer object; see _IEAttach

2.  Figure out what you want it to do; see the rest of the _IE* functions

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...