Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No ControlClick recording for basic Windows Forms app #218

Open
mihaifm opened this issue Apr 15, 2022 · 1 comment
Open

No ControlClick recording for basic Windows Forms app #218

mihaifm opened this issue Apr 15, 2022 · 1 comment

Comments

@mihaifm
Copy link

mihaifm commented Apr 15, 2022

Hey, thanks for this great tool, it's really nice.

I noticed that recording ControlClick doesn't really work, even for a basic Windows Forms app.
To replicate, create a Windows Forms app with Visual Studio, containing just a button.
Enable "Record ControlClick", start recording. The control is not identified, only normal Click events with coordinates are generated:

Click, 88, 109 Left, , Down
Sleep, 93
Click, 87, 111 Left, , Up

The button is correctly identified if I use the Control (F4) window (althought oddly enough there is no ControlClick command there). It's just the recording that doesn't seem to identify it....or maybe I'm missing something.

@mihaifm
Copy link
Author

mihaifm commented Apr 15, 2022

Looks like there's an artificial restriction here

Don't fully understand what that does but if I remove the (InStr(m_Class, "#32") > 1) part, it works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant