DuyQuangnvx Posted August 2, 2019 Posted August 2, 2019 Hi everyone, I had a problem while I was learning Autoit in C#. I wanted to use ControlClick on a window without control, example: Notepad Here is my code: var hwd = AutoItX.WinGetHandle("Untitled - Notepad"); AutoItX.ControlClick(hwd, IntPtr.Zero, "left", 1, 426, 320); It not working. Nodepad don't have control handle. I want to auto on processes. I also try using ControlClick(string title, string text, string control) but processes are the same title. Please help me, thank you so much! Sorry for my bad English
Earthshine Posted August 2, 2019 Posted August 2, 2019 are you on windows 10? because native autoit won't work on it. You need to use UIAutomation My resources are limited. You must ask the right questions
DuyQuangnvx Posted August 2, 2019 Author Posted August 2, 2019 28 minutes ago, Earthshine said: are you on windows 10? because native autoit won't work on it. You need to use UIAutomation I'm using windows 10. Thank you for reply. I will see more about UIAutomation
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