问题描述
我想要的是为用户提供以下几种选择:例如
"关闭"
"拍摄照片"
"搜索海豚"
使用该字符串我想激活命令,就像当你说"Hey cortana",MY COMMAND时,cortana会这样做,但是没有语音交互。
我不介意通过调用cortana或任何其他方式来做到这一点。我不想只搜索网页。
可以这样做吗?
What I am trying to to is provide the user with a couple of options: For example
"Turn off"
"Take a Photo"
"Search for Dolphins"
And using that string I want to activate the command, like cortana does when you say "Hey cortana ", MY COMMAND, but without voice interaction.
I dont mind doing that by calling cortana, or by any other way. I dont just want to search the web.
Can this be done?
推荐答案
>>我不想只是想搜索网页。
>>I dont just want to search the web.
我很遗憾地说,目前在UWP中无法做到这一点。如果命令未在命令文件中定义,则此行为是设计使然。
I'm sorry to say that it is not possible to do that in UWP currently. This behavior is by design if the command is not defined in the command file.
您可以在FeedBack Hub中提交反馈。你可以在明星菜单中找到它。
You could submit a feedback in the FeedBack Hub. You could find it in the Star Menu.
祝你好运,
Roy
这篇关于模仿cortana语音命令或通过文本字符串编程使用cortana的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!