Jump to content

Recommended Posts

Posted

Hello,

Iam really new to autoIT but I really like the programm. Actually my problem is that I want to run a programm and klick a button named "OK" after startup.

First I tried it with the ID (works great) but the ID changes after every programm start, so it is not possible to use for me.

Here is the data of the AutoIT Window Info:

Titel: Settings

Class: WindowsForms10.BUTTON.app.0.30.....

Name: mOkBtn

Position: 111,151

 

Here is the script I've tried:

 

Run("C:\Program Files\REMOVED")
WinActive("Settings")
MouseClick("left",111,151,1,0)

 

Hope that anyone have an idea ;)

Thanks in advanced

Schmand

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
  • Recently Browsing   0 members

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