Sign in to follow this  
Followers 0
max123

Class TButton

10 posts in this topic

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



It doesn't work.

Windows Info

===========

Class: TButton

Instance:1

ClassnameNN: TButton1

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

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

It doesn't work.

The code selected the Combobox.

Share this post


Link to post
Share on other sites

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

I try to install filzip free

Share this post


Link to post
Share on other sites

I would suggest doing something like this:

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

√-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  
Followers 0