Hi --

Is there any way for a Pythonista script triggered from the Share Sheet to know what app the user was in? I have a single script that I want to trigger from 4-5 different apps. Right now I have created separate Share Sheet entries/icons for each use case, triggering the same script but with a different (manually configured) argv parameter. It would be great if the script could just figure this out on its own but I can't find it in the libraries.

Any suggestions or workarounds?

Thanks!
Ramon