That's something that should be possible in a Sandstorm app, if you want to make it do that. (-:
To do it securely in Sandstorm would have to wait for our secure inter-app communication system, similar to Android intents, called the Powerbox. But we're working on it.