@omz Perhaps, my post was not clear, I speak about a "script" of the Shortcut app, not a Pythonista script. It only does:
Text "test"
Copy to Clipboard