Is there a way to give Cortana a text command through the URI?

Viewed 504

So I am referencing this question here. Basically, right now I am using the URI to launch Cortana in listening mode in a UWP Unity App. Something like this:

ms-cortana://Reactive/?StartMode=Reactive&ListeningMode=True

However, is there a way to launch Cortana and give it a string with what I want to say? For example, launching Cortana with a string variable sent to the URI like "Call ContactName" or "What's the weather like today".

My user would use something like a list to select pre-defined commands because maybe some reason they are mute or their mic quits working.

1 Answers

If you want to add some search content, you could use the following format:

ms-cortana://search/?q={0}

For example: ms-cortana://search/?q=What's the weather like today

Related