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

Making the command closeAllExplorers close all except the last focussed #132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paul-dab
Copy link

No description provided.

@paul-dab
Copy link
Author

Forgot to comment.
I found that I could close all explorer windows if we don't use ahk_group for this function and instead get a list of the ahk_id's then only close the windows with each individual ahk_id except for the first we received from WinGet
Autohotkey doesn't give us an ability to remove individual windows from a group. There is an extended method using alternate methods to create the group initially but it didn't work well (at all) for me and I don't trust using it for long if these extended functions stop working.
This method by creating an array of ahk_id's can probably be used for the other functions where you want to manipulate window focus in other ways - for example activate windows in reverse order.

@TaranVH
Copy link
Owner

TaranVH commented Oct 29, 2020 via email

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

Successfully merging this pull request may close these issues.

2 participants