Jump to content

IE get text on screen


Recommended Posts

Hi, hello.

I have a question about IE, the purpose is as follows;

In example : AutoIt Forums > AutoIt v3 > General

Lets say i hover with my mouse over the word "General". Is it possible to make the script recognize the word i'm hovering over and place that in a listbox? Or if i rightclick the word a popupmenu comes up with "move to my listbox" or something. The script doesn't have to know the meaning of the word, just that it recognizes that it IS a word. Without having to copy paste it to a textbox or something.

I'm not sure where to start in my search to build this.

I was hoping for help from you guys :idea:

Link to comment
Share on other sites

I'm not new to IE.au3.. but i cannot figure out how to determine wheter my mousearrow is on an image or hovering over text and how to recognize that.

Edit: in general, how to determine what happens in IE, events etc.

Edited by notsure
Link to comment
Share on other sites

You need to read up on ObjEvent and the Event model in the DOM (see my sig for pointers).

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

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...