Zifro

Help me

9 posts in this topic

Goodmorning everyone,

start right away by saying that I am Italian and my English is derived from a translator then possibly the answers into simple English. thank you.
So, I have to work to run a big number of searches in a web page in full screen and when I find the result I must move it to a second database ... I tried to write the code using the "pixelsearch", the cycle "If IsArray (variable) = True / False" and "MouseClick" but it seems to me quite cumbersome ...
Since I am new to this language, I wanted to know if you had any advice you experts to make the program more functional and efficient as possible.

Thank you :)

Share this post


Link to post
Share on other sites



It's no good idea to interact with DB with mouseclicks. In forum are UDFs for nearly every DB-server. Have a look in the wiki to find the UDF you need.

And please give your thread a better title, everybody creating a thread in general-help-and-support/ needs help!

Share this post


Link to post
Share on other sites

Welcome to AutoIt and the forum!

To help you we need at least

  • the database you need to write to
  • the browser you want to use

For DBs and Browsers there are UDFs (User Defined Function libraries) available to automate your tasks.


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

@water thanks for the welcome! And thank you all for having responded to me, then:
saying database I expressed myself badly ... I do not know what language it is written but I do I access the pages with my work data and have to perform searches by clicking two buttons, if the search result is to me no more, click the second button, but click on another to transfer the information to another place in the same browser screen ... as it often happens that the search will result would prefer to automate this thing so that the control night what he has found and moved.
Thanks always

Share this post


Link to post
Share on other sites

Unfortunately it is an internal page ... And I can just see it I do not have access to the source it for nothing ...

Share this post


Link to post
Share on other sites

@Bert @water

I managed to create what I wanted, but it only works for my pc ... How do I make it work on all PCs with different resolutions?
Thank you

Share this post


Link to post
Share on other sites

It is not only related to screen resolution but on screen size and the (user defined) window size as well.
That's why I suggested to use an UDF to automate your Browser and DB. The UDFs use an API to interact with the application and do not automate the GUI - hence they do not run into the problems you see.
At first glance it seems to be easier to automate the GUI - but sooner or later you run into problems.


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