Sign in to follow this  
Followers 0
sleep100

Automating/interacting with IE Websites navigation and cursor

3 posts in this topic

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!
 
:)
 

Share this post


Link to post
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 :)

Share this post


Link to post
Share on other sites

Seems like you're heading in the right path. Usually the help file describes exactly how every function works. Don't worry I'm sure someone will be along in a few to answer your question in more detail.

Share this post


Link to post
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
Sign in to follow this  
Followers 0