Look here (an example of how to send text to the called application)
in your case: let's say you have 2 applications (app1 and app2) and 2 url schemes ( protocolThatCallsApp1://and protocolThatCallsApp2://)
1, app2 protocolThatCallsApp2://
2 app1 protocolThatCallsApp1://+yourCalculations, , 1