Phrase Parameters
Parameters allow parts of a phrase to change dynamically. Instead of creating separate phrases for every variation, you can define placeholders inside your phrase and capture values when you speak.
Placeholder Format
Variable placeholders are enclosed within two sets of curly braces:
{{text}}
{{number}}
{{source}}
{{pagenumber}}
Basic Parameters
Action Phrase supports two parameter types:
text
Captures spoken words.
Example:
When I Say:
Show lower third {{text}}
You say:
Show lower third John Smith
The value “John Smith” is captured and passed into your actions.
{{number}}
number
Captures numeric values.
Example:
When I Say:
Set volume to {{number}}
You say:
Set volume to 45
The value 45 is captured and sent to your action.
Multiple Parameters
You can include more than one parameter in a phrase.
To distinguish them, use numbered versions:
{{text1}}
{{text2}}
{{text3}}
{{text4}}
When I Say:
Push Companion button at {{number1}} and {{number2}} and {{number3}}
You say:
Push Companion button number 16 and 2 and 2
{{number1}} = 16
{{number2}} = 2
{{number3}} = 2
Each captured value can be used separately inside your actions.