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

[FEAT]: Focus HWND #785

Open
midrare opened this issue Apr 24, 2024 · 0 comments
Open

[FEAT]: Focus HWND #785

midrare opened this issue Apr 24, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@midrare
Copy link

midrare commented Apr 24, 2024

Is your feature request related to a problem? Please describe.
In AutoHotkey, focusing a window based on HWND doesn't work when the window is stacked or in another (not current) workspace.

Describe the solution you'd like
komorebic focus-hwnd 3113648 switches to the relevant workspace and automatically cycles the stack so that the window is visible.

Describe alternatives you've considered
A workaround is to run komorebic state, parse it, and switch workspace and cycle the stack, then activate it. But AutoHotkey is not designed for this sort of work (can't parse JSON, can't capture stdout). You can switch to e.g. Python, but this adds startup lag.

Additional context
There seems to be no command for switching to a specific index in a stack e.g. komorebic focus-stack-index 3.

@midrare midrare added the enhancement New feature or request label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant