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

Cycle through all app windows across spaces #1

Open
Porco-Rosso opened this issue Dec 17, 2021 · 0 comments
Open

Cycle through all app windows across spaces #1

Porco-Rosso opened this issue Dec 17, 2021 · 0 comments

Comments

@Porco-Rosso
Copy link

Hi, firstly great config, it's saved me a lot of time, however I have been banging my head trying to figure this one out.
I want to cycle though open windows of an app, but I haven't been able to get it working on all windows of an app across spaces.

As I understand in the following line you build an index of all the app windows, however based on the docs this only applies to windows in the same space. The docs suggest using window.filter, but I haven't been able to accomplish it.

local standardWindows = hs.fnutils.filter(runningApp:allWindows(), function(win)

Do you have any suggestions? It would be greatly appreciated.

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