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

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