Jump to content
GATN

Variable Html read datas

Recommended Posts

GATN

Hi to all!!!

I need some Help, please!!!

I have to download some information within an HTML page.

I recorded the steps but, they are all mouse X Y references ( MouseClick("left",327,390,1) for example)

The problem its that when the page change the composition of information, the X,Y reference doesnt work any more.

Theres any way to change those references by static object?

Thanks a lot!!!

Share this post


Link to post
Share on other sites
water

Welcome to AutoIt and the forum!

There are UDFs (User Defined Functions libraries) available for different browsers to do what you want to do.
So the first question is: Which browser do you run?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - 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
GATN

Thanks Water...

Could be on Mozilla Firefox or Google Chrome.

Share this post


Link to post
Share on other sites
water

In this thread you can find the FF UDF. Remember that you need to run the MozRepl Addon as well.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - 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
GATN

Thanks!!!  

But how can i use it?

Im sorry my ask

Share this post


Link to post
Share on other sites
water

You have chosen a rather complex subject to start with AutoIt ;)

On http://thorsten-willert.de/ > Software, Windows > FF.au3 you will find the english help file plus examples. Which function to use depends on which information you need to extract from the web site.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - 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
GATN

Water

i think i have to descript the problem in other way.

In this page  https://www.emp.santanderrio.com.ar/nb/  i need to feel the 3 text boxes with values, and them, press the "ACEPTAR" button.

Can you help me?

I have change the browser. Im using Google Chrome.

Thanks!

Share this post


Link to post
Share on other sites
water

Automating a banks website this way is a huge security problem.
Where do you retrieve userid/password from?

  • Like 1

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - 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
GATN

Im putting the values on the script.

I know its not the best option but, first i want to make it works, them illl see the security problem.

So, lets suposse that the values are hardcode.

Share this post


Link to post
Share on other sites
water

I suggest to FIRST solve the security issue and then do the coding. Else you might have to throw away what you have coded so far.

If you need to automatically insert name / password into a website I suggest to use the password manager Keepass plus the Keeform plugin. This combination securely stores the credentials in an encrypted database plus automatically fills them into the web site.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-01-27 - Version 1.3.3.1) - 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
GATN

water, please, let me the security issue.

I need the solution by putting the values and them, pressing the button.

Thanks!

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

×