Sign in to follow this  
Followers 0
MaybeTomorrow

interacting with certain objects in browsers

4 posts in this topic

Hi everyone, this is my first post on the forums.

I came across autoit when looking for a way to automate certain actions. I've done quite a few mouseclick-send-sleep-loops, but it's time for me to start scripting properly

I'm having trouble findding the correct helpfile on how to find cetain objects in browsers and then interact with them.

I've really tried to tackle this by myself, but the time has come to ask for help.

i'm looking to:

- Identify a specific text or object in my browser and click (or otherwise interact)

(think of buttons or text in a browser, flash objects etc)

Could someone pls forward me to the right direction on where to find/how to do this?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Welcome to AutoIt and the forum,

It depends on the browser you use. If it's Internet Explorer then AutoIt comes with an UDF (User Defined Library). Check the examples in the help file especially function _IEDocGetObj, _IEGetObjById or _IEGetObjByName.

BTW: As a new user make sure to read the forum rules!

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

Excellent, thank you so much for your reaction, will try to use it,

My default browser is Chrome, but let me see if i can workout if IE works.

I've also read the forum rules and see what you are referring to. *noted*

My main objective is to learn programming in autoit, since it was adviced to me over C++ and the like.

For my job i sometimes have to do alot of repeat work and testing, i'm looking to speed that up.

Share this post


Link to post
Share on other sites

There is also an UDFs available for FireFox but for the IE UDF you will get most support here.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

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