Is it possible to receive the output of a shortcut in a Pythonista script?

Hi. I am planning to write a Pythonista script that calls a shortcut that requires some input and returns some output. Would anyone know a good way to make the call to the shortcut and receive its output in the Pythonista script?

Is this covered by the answer to a similar question here?

I have updated my reply on the other thread with the actual solution.

1 Like

Yes, I believe that it is covered in the answer in the other topic. Thank you both for taking the time to respond. Have a good day.