Hi,
First sorry for my bad english, then, i am trying to automated ADWCleaner with AutoIt. I don't really understand how to use the ControlClick function i have tried something like that:
WinWaitActive("Malwarebytes AdwCleaner 6.047")
ControlClick("Malwarebytes AdwCleaner 6.047", "Analyser", "[Class:Button; Instance:5]")
But its not working, the name of the window is correct cause when she became activate, the script stop but without clicking.
With AutoIt Window Info i have this.
>>>> Window <<<<
Title: Malwarebytes AdwCleaner 6.047
Class: AutoIt v3 GUI
Position: 806, 310
Size: 644, 338
Style: 0x14CE0000
ExStyle: 0x00000100
Handle: 0x00040448
>>>> Control <<<<
Class: Button
Instance: 5
ClassnameNN: Button5
Name:
Advanced (Class): [CLASS:Button; INSTANCE:5]
ID: 49
Text: Actions
Position: 10, 173
Size: 605, 80
ControlClick Coords: 93, 49
Style: 0x50020007
ExStyle: 0x00000000
Handle: 0x00040496
>>>> Mouse <<<<
Position: 917, 582
Cursor ID: 0
Color: 0xDADADA
>>>> StatusBar <<<<
>>>> ToolsBar <<<<
>>>> Visible Text <<<<
En attente.
AdwCleaner fait maintenant partie de Malwarebytes. En savoir plus à propos des solutions pour particuliers et entreprises.
Analyser
Nettoyer
Rapport
Actions
>>>> Hidden Text <<<<
0 menaces trouvées
Thanks for the help !