I have multiple monitors connected to my iMac. When I invoke KM's Application Switcher, the window that it pops up sometimes appears on one of the other monitors instead of the main iMac screen. What controls the choice of monitors/screens, and is there any way to tell it to always use the same one?
Basically, I'd like KM to always display the application switcher window on my main/iMac screen. Currently it sometimes doesn't do that, and I haven't figured out why or how to make it behave consistently.
Edit 2022-04-21: the screen that KM picks usually seems to be the one that has input focus at the time. For example, if the frontmost application is Safari and the last window I typed in is on screen 2, and I invoke the Application Switcher, the list of applications is shown on screen 2.
So I tried this, but it doesn't seem to make a difference. I looked at all the options it offers, but none involve selecting a screen. The best I could do is choose "Center":
Yes, I think the SCREENVISIBLE bit is okay (seems to be heritage version of SCREEN). But the second part should be Right in top field and Bottom in lower field.
@Zabobon and @tiffle do you actually use the application switcher with this construct, and it works for you? Or are you only suggesting these settings based on other principles? (I appreciate your answers in any case.)
Ah yes. The second one.
I must admit I never use the Keyboard Maestro Application Switcher and just assumed it would be treated as another Engine Window. But I can see you are right, it ignores any positioning command. In testing that, I did notice there is an option to position it under the mouse...
Regarding positioning under the mouse: I saw that option, but unfortunately it's not useful in this context—the mouse might have been left somewhere over some window on some random screen and I will have long since switched to another app, so the mouse position often bears no relationship to the activity of the moment.
That’s the elephant in the room: I never use the KM app switcher and assumed, like @Zabobon, that it behaved like other KM Engine windows. Now I know better and it seems there could be a work-around thanks to Zabobon. Sorry that my initial advice was off-target - I guess we’re all still learning!
A minor issue is that it causes another application (my Point Light S) to trigger because the pointer is being moved, but I may be able to find a combination of settings that avoids it. In any case, your macros does in fact make the application switcher window consistently show on the main screen.