darkwarrior

Detect new changes in web pages

7 posts in this topic

Hi, Im new to autoit and am trying to find a way to detect new changes in web content before using a third-party software to take a screen shot of the window. How can I go about doing this?

Share this post


Link to post
Share on other sites



Welcome to AutoIt and the forum!
Read the web content, create a hash, repeat this after a period of time and compare the two hashes. If they changed then the web content has changed.
Or do you have specific changes in mind?


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

Thank you!

For instance, changes in the web page due to the scrolling of up and down. The screen capture will take place at the first half of the web page and when I scroll down to the second half of the page, the screen will be captured again.

Share this post


Link to post
Share on other sites

Hi, Im new to autoit and am trying to find a way to detect new changes in web content before using a third-party software to take a screen shot of the window. How can I go about doing this?

Thank you!

For instance, changes in the web page due to the scrolling of up and down. The screen capture will take place at the first half of the web page and when I scroll down to the second half of the page, the screen will be captured again.

Share this post


Link to post
Share on other sites

Welcome to AutoIt and the forum!
Read the web content, create a hash, repeat this after a period of time and compare the two hashes. If they changed then the web content has changed.
Or do you have specific changes in mind?

Thank you!

For instance, changes in the web page due to the scrolling of up and down. The screen capture will take place at the first half of the web page and when I scroll down to the second half of the page, the screen will be captured again.

Share this post


Link to post
Share on other sites

Did you have a look at all those screen capture tools available? A lot of them allow to capture web pages by grabbing all the content. I know because I use Greenshot for this purpose.


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

Did you have a look at all those screen capture tools available? A lot of them allow to capture web pages by grabbing all the content. I know because I use Greenshot for this purpose.

Yes, I did take a look at all those screen capture tools available. But I just want to take screen capture based on that particular window and from there, take the next following window after scrolling it down, however, to do this, is there a way for autoit to identify the change in window?

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