the_over_ape Posted April 26, 2021 Posted April 26, 2021 Hi guys, Sorry I am very new to AutoIt. I have tried quite a few stuffs and read quite a few posts on these forums but I cannot get this simple click to work. If I click on "openfile..." manually it of course open a standard windows dialogue to choose a file. Bellow, it does not. Memtool is free of charge if you wanna try, you can download it here $Success= ControlClick("Infineon - Memtool 4.9 on mPAD with TC39x B-Step (DAS)", "", "[CLASS:Button; INSTANCE:2]") Switch $Success Case 0 MsgBox(16,"Autoit","ControlClick Failed") Case 1 MsgBox(0,"Autoit","ControlClick Success") EndSwitch
Trong Posted April 26, 2021 Posted April 26, 2021 It work on my pc: ;#RequireAdmin WinActivate("Infineon", "") Local $Success= ControlClick("Infineon", "", "[CLASS:Button; INSTANCE:2]") If $Success Then MsgBox(32+262144,"Autoit","ControlClick Success", 5) Else MsgBox(16+ 262144,"Autoit","ControlClick Failed", 5) EndIf the_over_ape 1 Regards,
the_over_ape Posted April 26, 2021 Author Posted April 26, 2021 WinActivate("Infineon - Memtool 4.9 on mPAD with TC39x B-Step (DAS)", "") This is what I was missing... I am surprised it work with just "Infineon" though. Thank you very much!
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