Jump to content

Automating/interacting with IE Websites navigation and cursor


sleep100
 Share

Recommended Posts

Hi all ,

I'm a beginner with Autoit :(

Excuse me, I'm sorry

And this is the first time that I write here, I hope that it is the right place.

I seem stupid but I'm trying to understand if there is a chance to automate or interact with a website to personally improve its navigation.

This is my issue, at present:

1)

include <IE.au3>
 
Dim $hWND ; IE Handle
 
$oIE = _IECreate() ; Create a new browser window, ok
_IENavigate($oIE, "http://www.autoitscript.com/site/") ; You go to the webpage, ok
 
 
And now, I would like to know if it is possible to manage and/or help certain human events/decisions.
IF they will happen, of course.
 
For example, 
IF I click on the "Code" Button I would like that after that the new Webpage is loaded
 
 
To automate a scroll down action on the new Page. Maybe with
 
WinActivate($hWND)
 
and
 
Send("{DOWN}")
or
MouseWheel("down", 50)
or
$oIE.document.parentwindow.scroll(0,200)
 
 
 
2)
 
include <IE.au3>
 
$oIE = _IECreate(); Create a new browser window
_IENavigate($oIE, "http://www.autoitscript.com/site/")
 
Now, instead, IF
the mouse cursor will be over the "Forum" Button I would like to show a
 
ToolTip("Press the Button to go the Forum!")
 
 
So that.. this is my question.
Can someone help me to understand if there is a method or some function that can help me to do this?
 
I'm a little confused.. :( I don't know if this is possible, and/or if I have to think about HTML or Javascript or Mouse functions or whatever else to monitor these events :(
 
Thank You very much to all!
 
:)
 
Link to comment
Share on other sites

Maybe I should use ObjEvent() 

If I am right I would appreciate that someone could say it to me.

And, of course, one example or some example would be really appreciated.

 

Instead, if I am wrong, I would be very happy if someone could show me the right direction, thanks again guys :)

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