Search the Community
Showing results for tags 'adwcleaner'.
-
I am trying to automate an ADWcleaner Clean but i can even move the windows and even push the "Accepte" My code .......... shame on me. And OFCOURSE i tryed a lot of thing to try that... like change the Opt or change the Variable calculation but i cant get it move or push the button. Strange thing: WinActivate is working so why the rest is not ! ??????? WinActivate ($handle) WinActivate ("Conditions d'utilisation") I am feeling noob. or wait... i am a noob. what does i am missing. * #include <Misc.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <Array.au3> #include <File.au3> #include <Word.au3> #include <FileConstants.au3> #include <MsgBoxConstants.au3> #include <ColorConstantS.au3> #include <ButtonConstants.au3> #include <EditConstants.au3> #include <ListViewConstants.au3> #include <GuiListView.au3> #include <ProgressConstants.au3> #include <StaticConstants.au3> #include <GDIPlus.au3> #include <WinAPI.au3> #include <_IsUACAdmin.au3> Opt("WinTitleMatchMode", 2) Opt("WinTextMatchMode", 2) $handle = 0 MsgBox ( $MB_SYSTEMMODAL , "test", "test ="&$handle) $handle = WinWait("Conditions d'utilisation") MsgBox ( $MB_SYSTEMMODAL , "test", "test ="&$handle) WinActivate ("Conditions d'utilisation") MsgBox ( $MB_SYSTEMMODAL , "test", "test ="&$handle) WinMove ($handle,"Conditions d'utilisation",0,0) ControlClick($handle, "J'accepte", "Button1") ControlClick($handle, "", "Button1") ControlClick($handle, "", "",3)