nikivi
December 4, 2024, 2:27pm
1
have above macro but there is issue that when activate last application
activates it sometimes hides the window/app it's switching from, demo below:
https://storage.ronin.co/spa_tjx1cghqk8ngbjws/68973c4c-bff0-4df5-ade5-c3a704ec487d
how can I modify the macro so that it does not do that, it switches focus
to the app that is split without hiding from view the app it is switching from
switch between windows of same app (or switch to another app if no more than 1 window).kmmacros (25.1 KB)
Your link isn't working; can you post a working link so we can see the movie?
-rob.
nikivi
December 4, 2024, 3:50pm
3
can you try again? i think linked died for a min there, it should work now
Nige_S
December 4, 2024, 4:20pm
4
Is it hiding it? Or is it simply bringing all the windows of "Last Application" to the front -- just like you've told it to with the "Activate" action-- which is covering up the old window.
nikivi
December 4, 2024, 4:24pm
5
Yea I think you are right, it does that.
What I want is to focus on the last window of the app (so it only brings that up).
Is it possible to do?
Nige_S
December 4, 2024, 5:39pm
6
Yep -- at least, it's working here...
For "reasons" I don't understand, if you use the "Use Variable " action to activate an app by name you'll only pop the frontmost window. So:
switch between windows of same app (or switch to another app if no more than 1 window) v2.kmmacros (3.9 KB)
Image
1 Like
nikivi
December 5, 2024, 1:07pm
7
yep this macro works perfectly, thank you