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

Support regex for application_findMenuItem with a path #3737

Open
med8bra opened this issue Jan 8, 2025 · 0 comments
Open

Support regex for application_findMenuItem with a path #3737

med8bra opened this issue Jan 8, 2025 · 0 comments

Comments

@med8bra
Copy link

med8bra commented Jan 8, 2025

application:findMenuItem(itemPattern,isRegex=false) doesn't use isRegex flag when itemPattern is a path (array of strings). Ideally it should consider the last item in the path a regex if isRegex=true.

foundItem = _findmenuitembypath(L, app.elementRef, path);

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