Jump to content

autoit didnt works at the program of austria directory


Recommended Posts

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

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 - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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)

Link to comment
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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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!

Link to comment
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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

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 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...