Sign in to follow this  
Followers 0
bdoehring

autoit didnt works at the program of austria directory

7 posts in this topic

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?

Share this post


Link to post
Share on other sites



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 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

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 something

before 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)

Share this post


Link to post
Share on other sites

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 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

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 mouse

stop moving! my script works at any other programs but on herold not!

Share this post


Link to post
Share on other sites

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 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

#7 ·  Posted (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 by water

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
Sign in to follow this  
Followers 0