siclark wrote:Cool. I think.
So in your example, broadcast is your key word, which runs a python script so that "this rules" is put into the variable and your trigger causes"this rules" to be read out?
I presume I can have different key words to run different python scripts?
I'm beginning to see how this could be good.
My first thought is can we get a spoken "ten" converted to a number 10 so we can do sums or timers based on that value, ie not a string?
Clearly I should stick to simple tests first but where is the fun in that??
Simon
Sent from my iPhone using Tapatalk
To be specific, in this example:
1) Hey Siri (or a button push, which I use) activates Siri
2) “Broadcast” is the word I have Siri listen for to activate the Shortcut (you record the activation word in Shortcuts)
3) Shortcuts
a) listens for dictated text, stopping when I pause
b) sends that text to a Pythonista script on my phone
4) Pythonista
a) accepts the text argument
b) sends the argument to Indigo as a variable
5) Indigo does stuff
Yes, you can use python to convert “ten point five” to “10.5” on the iPhone or on the host Mac, for sure.
Sent from my iPhone using Tapatalk