bdoehring Posted January 7, 2010 Share Posted January 7, 2010 I have myself a small script written with which I unite klicks automated. script functions actually perfectly. as soon as I however the actual program do open (directory of austria) the mousemoves didnt work any more. are there programs, which can ignore autoit simply? Link to comment Share on other sites More sharing options...
water Posted January 7, 2010 Share Posted January 7, 2010 Hi, welcome to the AutoIt forum. To help you solve your problem we need more information. Usually people post the source code they have so far and any error message they receive. 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...
bdoehring Posted January 7, 2010 Author Share Posted January 7, 2010 Hi,welcome to the AutoIt forum.To help you solve your problem we need more information.Usually people post the source code they have so far and any error message they receive.Hi,my script is not the problem, it works very well. It makes some mouseklicks on special positions.for Example: if i open Excel and start my script, the mouseklicks works well.(makes no sence in Excel but it works)If i open my special Program (austria directory) the mousemoves and klicks didnt works. My question is:the programmers from this special program (austria directory) has blocked autoit. did you see somethingbefore and maybe can i hack this blocking?here my simple sript:Sleep(3000)MouseClick("left",30,384,1,1) MouseClick("left",30,403,1,1) MouseClick("left",30,422,1,1) MouseClick("left",30,441,1,1) MouseClick("left",30,460,1,1) MouseClick("left",30,479,1,1) Link to comment Share on other sites More sharing options...
water Posted January 7, 2010 Share Posted January 7, 2010 I don't think there is an application blocking AutoIt. Is the Austria Directory a Windows application (e.g. herold) or a Web-Application? 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...
bdoehring Posted January 7, 2010 Author Share Posted January 7, 2010 I don't think there is an application blocking AutoIt. Is the Austria Directory a Windows application (e.g. herold) or a Web-Application?yes it is a windows application and it is herold! Beleave me- if the program herold is the active window - the mousestop moving! my script works at any other programs but on herold not! Link to comment Share on other sites More sharing options...
water Posted January 7, 2010 Share Posted January 7, 2010 Could you please change your script as follows so you can see if the script is blocked and whether the mouse moves to the correct position: Sleep(3000) MouseMove("left",30,384,1,1) Sleep(2000) MouseClick("left",30,384,1,1) MouseMove("left",30,403,1,1) Sleep(2000) MouseClick("left",30,403,1,1) MouseMove("left",30,422,1,1) Sleep(2000) MouseClick("left",30,422,1,1) MouseMove("left",30,441,1,1) Sleep(2000) MouseClick("left",30,441,1,1) MouseMove("left",30,460,1,1) Sleep(2000) MouseClick("left",30,460,1,1) MouseMove("left",30,479,1,1) Sleep(2000) MouseClick("left",30,479,1,1) 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...
water Posted January 7, 2010 Share Posted January 7, 2010 (edited) To make your script run in every situation (different screen resolution, different position of the window) you should use ControlClick ( "title", "text", controlID [, button [, clicks [, x [, y ]]]] ) Use the Window Info Tool that comes with AutoIt to get the controlId of the Control you want to click. Edited January 7, 2010 by water 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