Answered
select document 1
I always use many open documents
from 3 to 10 documents
I need a script that immediately selects the first one as in the figure.
I tried to make an action, but it takes into account the open documents,
so when I create the action that has 3 open documents and then I want to use it when I have 6, it doesn't work.
do you have any idea how to proceed

