Jump to content
Sign in to follow this  
max123

Class TButton

Recommended Posts

max123

Hello,

I have a problem with the class TButton.

Here is the code

ShellExecute(fz306.exe)
WinWaitActive("Setup-Sprache auswählen", "Wählen Sie die Sprache")
ControlClick("Setup-Sprache auswählen", "OK", "TButton1")

autoit doesn't click on the Button "OK".

Where is the mistake?

Greeting

Max

Share this post


Link to post
Share on other sites
max123

It doesn't work.

Windows Info

===========

Class: TButton

Instance:1

ClassnameNN: TButton1

Share this post


Link to post
Share on other sites
max123

Thank you for the code, but it doesn't work.

Picture: Posted Image

Edited by max123

Share this post


Link to post
Share on other sites
max123

It doesn't work.

The code selected the Combobox.

Share this post


Link to post
Share on other sites
JLogan3o13

Hi, max123. What is the application you are trying to install? It appears to be an MSI, which means you should be able to install it from command line and choose your language with a switch. You would then be able to skip trying to click on boxes and buttons.


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites
JLogan3o13

I would suggest doing something like this:

ShellExecuteWait(@ScriptDir & "fz306.exe", "/verysilent")
RegWrite("HKCUSoftwareFilzipConfigSettings", "Language-Ini", "REG_SZ", "C:Program FilesFilziplanguagesGerman.ini")
  • Like 1

√-1 2^3 ∑ π, and it was delicious!

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  

×