Arcanne Posted June 6, 2017 Share Posted June 6, 2017 (edited) 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 ! Edited June 12, 2017 by Arcanne Link to comment Share on other sites More sharing options...
Arcanne Posted June 6, 2017 Author Share Posted June 6, 2017 Any idea? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 6, 2017 Moderators Share Posted June 6, 2017 @Arcanne please do not bump your topic without waiting at least 24 hours. We have forum members from all over the world that volunteer their time helping; show some patience and give them a chance please "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Danyfirex Posted June 6, 2017 Share Posted June 6, 2017 Hello. Check AutoIt help file. ControlClick("Malwarebytes AdwCleaner 6.047","","Button5") Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Arcanne Posted June 7, 2017 Author Share Posted June 7, 2017 (edited) thank you @Danyfirex but it's not working. The script not clicking Its working on your computer? And how did you find that its Button5? And sorry @JLogan3o13 i will be more patient ^^ Edited June 7, 2017 by Arcanne Link to comment Share on other sites More sharing options...
Arcanne Posted June 9, 2017 Author Share Posted June 9, 2017 No ideas ? Link to comment Share on other sites More sharing options...
Subz Posted June 9, 2017 Share Posted June 9, 2017 What exactly are you trying to do? Link to comment Share on other sites More sharing options...
Danyfirex Posted June 9, 2017 Share Posted June 9, 2017 Hello the correct Button instance is 1 do this. #RequireAdmin WinActivate("Malwarebytes AdwCleaner 6.047") ControlClick("Malwarebytes AdwCleaner 6.047","","Button1") Saludos Arcanne 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Arcanne Posted June 12, 2017 Author Share Posted June 12, 2017 Hello @Subz i just want to have an automatic run of ADWCleaner @Danyfirex i have try but again the app not start the analysis, is it possible that an app block scripts like autoIt to interact? I have the same problem, the script stop when the ADWCleaner window is active Thank you again for the help @Danyfirex ! Link to comment Share on other sites More sharing options...
Danyfirex Posted June 12, 2017 Share Posted June 12, 2017 It's working right for me. Saludos Arcanne 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Arcanne Posted June 12, 2017 Author Share Posted June 12, 2017 @Danyfirex Sorry, i forget to build and compile beginner errror Thanks a lot for the help how to close topic? Link to comment Share on other sites More sharing options...
Danyfirex Posted June 12, 2017 Share Posted June 12, 2017 You can edit your topic's title add (SOLVED) You're welcome Saludos Arcanne 1 Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now