Is there a way to determine which application launched a Automator Service?
The idea is to check the app that launched the service, with a shell/apple script and react differently depending which app it was.
So when I do something like this...
the service, created in Automator, can tell which application was that it was launched from.
The solution suggested, to query for the front most app using Applescript, while a possible solution is far from ideal. It seems to me that if the system is busy or there are delays in the launching of the workflow, it could return the wrong app and confuse the workflow.