Jump to content

interacting with certain objects in browsers


Recommended Posts

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?

Link to comment
Share on other sites

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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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.

Link to comment
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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

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