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

getDesktopNumOfWindow when multiple windows have same title #42

Closed
nathanvercaemert opened this issue May 29, 2023 · 1 comment
Closed

Comments

@nathanvercaemert
Copy link

nathanvercaemert commented May 29, 2023

getDesktopNumOfWindow only gets the VD of one of the windows if multiple windows have the same title. Would be nice if there was a function to getDesktopNumOfWindow by id instead of just title. I'm currently using _desktopNum_from_Hwnd, but it doesn't feel right using one of your internal methods.

If it's an easier change, returning the current desktop (if there's a window with the title on the current desktop) would solve my problem too.

Thanks for a great package.

@nathanvercaemert
Copy link
Author

Realized that I should be fine just using _desktopNum_from_Hwnd.

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