Zifro Posted February 14, 2016 Share Posted February 14, 2016 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 Link to comment Share on other sites More sharing options...
AutoBert Posted February 14, 2016 Share Posted February 14, 2016 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! Link to comment Share on other sites More sharing options...
water Posted February 14, 2016 Share Posted February 14, 2016 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Bert Posted February 14, 2016 Share Posted February 14, 2016 If you are using a web based database - look at the IE.au3 tools in the AutoIt help file. That should make things much easier for you. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Zifro Posted February 14, 2016 Author Share Posted February 14, 2016 @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 Link to comment Share on other sites More sharing options...
Bert Posted February 15, 2016 Share Posted February 15, 2016 Is the website internal or can we get to it? we may be able to figure out how to do what you need if we can see it. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Zifro Posted February 15, 2016 Author Share Posted February 15, 2016 Unfortunately it is an internal page ... And I can just see it I do not have access to the source it for nothing ... Link to comment Share on other sites More sharing options...
Zifro Posted February 16, 2016 Author Share Posted February 16, 2016 @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 Link to comment Share on other sites More sharing options...
water Posted February 16, 2016 Share Posted February 16, 2016 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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now