Jump to content

ControlClick on window (handle) without controlin C#


Recommended Posts

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

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...