Good idea,
but actually, for "Edit" mode I paid attention to have "my table" active before clicking on run.
And: it is the "Edit" mode which works
maybe it's related to a current data table() somewhere in the code - which might act differently if the script is started via the play icon - or via the Run button.
just putting a current data table() directly into a table script did not show a difference between the two approaches.
But my code is a lengthy chain of JSL, Main Menu (" ... "), open file, join, concatenate ...
I will try to reduce the complexity to show the difference - or to generate an anonymized example ...