<< DiscussionsReply

Variable numbers in voice command?

Henrik Eriksson15377
3 discussion posts

I was just wondering if it's possible to have a part of the voice command with variable numbers or the like.
For example, I'm been experimenting with automating Netflix in various ways. I can play/pause, go to fullscreen et.c. (and when command is given, if Netflix isn't the top tab of the top window, Chrome gets focus, and I'm trying to get the Netflix tab to get the focus, but that's besides the point).
If I now want to be able to set the volume in Netflix, or skip/rewind it I would like to have commands like:
"Increase volume by x%"
or "Skip by x minutes".
Is there any possibility to do this?

I know in Cortana you can set an interval that Cortana listens for, if the command expects something like this. Is there any similar feature here?

Kind regards
Aug 10, 2016  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There isn't currently a way to do this, but it is on our feature request list, so I've added your vote to it. We'll be sure to let you know if/when we're able to implement it in the future.

Aug 11, 2016  • #2
Henrik Eriksson15377
3 discussion posts
Thanks for the answer.
Is there some kind of backlog somewhere where we can go an vote on features we would like to to see implemented, or this an internal process?

Followup question though.
I was going to try something else tonight I thought. A script that will read in the first paragraph of a Wikipedia article and read it out to you.
This will however require that I'm able to access the log somehow. I've tried in Visual Studio to access the log through the UIAutomationElement, but I have not been successful in my attempts so far (it should be said also that I'm stumbling my way through C#).
From what I can see in your own scripting you have the ability to write to, and clear the log, but is there anyway to read from it?

Kind regards
Aug 12, 2016  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We keep the feature request list internal, but if there's anything else you'd like to see added, feel free to let us know and we'll put it on the list!

Regarding reading from the log, there isn't currently a way to do that, aside from using C# to read in the file manually and then parse it from there. But that's not as easy as something like BFS.General.ReadLog would be

Can I ask what you need to read the log for? Maybe there's a different way to do what you're thinking of.
Aug 19, 2016  • #4
Henrik Eriksson15377
3 discussion posts
As I said, I was trying to get the first paragraph of a wikipedia article read out to me. This means I would like to catch the word or phrased uttered after my command, so for example if I say "Give me information on" and then "the moon", the script would run (as the command says) and would read the log to catch the phrase I said and use that as the search criteria in wikipedia.
Possibly first confirming the accuracy of the phrase caught in the log, for example:
"Please confirm criteria: 'The loon'" where I would have to say "Confirmed" or something similar (just a matter of setting up possible answers), have a command that triggers specifically for those confirmations to set a VoiceBot variable that I can access from the first script.
You see where this is going. Basically using the log as a freetext parameter.

In my previous question I was wondering more about setting up a list of possible variables, as expected words have a higher chance of getting caught by the recognizer (I assume), where as this would be completely unknown before hand (and of course have a lower chance of getting recognized properly, but still have the ability).

With a BFS.General.ReadLog this would be a fairly simple task. I tried to access the log through the UI programatically, but I'm not a smart man and failed constantly.

You say however there's a file I can read instead? I'll be looking into that. It would be much easier to access the file than the UI element directly.
Aug 19, 2016 (modified Aug 19, 2016)  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, I think there's an easier way to do what you're looking for with a Macro Script. We're going to write up a sample here so that you can try it out.
Aug 23, 2016  • #6
Was this helpful?    
<< DiscussionsReply