For a Macro, I’m running through 20 to 30 tabs which I open beforehand to keep the automation understandable. I want to loop to repeat itself in each next tab, without having to specify all 30 tabs with selectWindow:tab=0-29.
The “best way” I’ve managed to do this, is to close the tab that’s finished (selectWindow:TAB=CLOSE). That seem to be the only way, to just run through the tabs and let the plugin refocus on the next in line.
But idealy, I want to leave them open. If something goes wrong.
Is there a trick to run through the tabs, dynamically? Like tab=next. or previous? And let the plugin focus on the newly selected tab.
(I’ve tried the Xtype cmd+tab solution + bring window to front, but that won’t put the focus on the next tab for the chrome plugin. And the loop will repeat on the tab where I kicked it of, but then out of sight.)
Thanks so much.