Skip to content

Instantly share code, notes, and snippets.

@robinmanuelthiel
Last active December 2, 2015 10:29
Show Gist options
  • Save robinmanuelthiel/a7dafd1d8e7fdb90962b to your computer and use it in GitHub Desktop.
Save robinmanuelthiel/a7dafd1d8e7fdb90962b to your computer and use it in GitHub Desktop.
<VoiceCommands xmlns="http://schemas.microsoft.com/voicecommands/1.1">
<CommandSet xml:lang="en" Name="CortanaCommands_en">
<CommandPrefix>Switch the light</CommandPrefix>
<Example>Switch the light in the bathroom on.</Example>
<Command Name="switchLight">
<Example>in the bathroom on</Example>
<ListenFor>in [the] {room} {status}</ListenFor>
<Feedback>{room}light will be switched {status}.</Feedback>
<Navigate />
</Command>
<PhraseList Label="room">
<Item>Bathroom</Item>
<Item>Kitchen</Item>
<Item>Livingroom</Item>
</PhraseList>
<PhraseList Label="status">
<Item>on</Item>
<Item>off</Item>
</PhraseList>
</CommandSet>
</VoiceCommands>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment