Thanks for making this! Have this now integrated with PushBullet and running commands from Google Home on my machine. Wanted to ask if there was any way to integrate ingredients. Tell my computer to $. $ is matched to a defined phrase within Push2Run. But is it possible to carry the $ through to the execution options?
Scenario:
"hey google, tell my computer to play Wild Wild Country"
In Push 2 Run, listen for "open $"
execute: chrome.exe https://www.netflix.com/search?q=$
Basically looking for a tighter integration with netflix and other sites / executables.
Any support for ingredients?
Re: Any support for ingredients?
Yes, infact that is already supported. It's documented in the help here: https://www.push2run.com/help_v2.0.0.0.html but in short, you can add the $ to either the open field or the parameters field. There is even support for replacing the spaces between words you speak by something else if you need to - like for example a comma. Again, that's written up in the help linked to above.
-
- Posts: 5
- Joined: Fri Jan 17, 2020 5:30 am
Re: Any support for ingredients?
The option "$[,]" doens't work on my side with batch files.
I can see only the first word...
e.g. I invoke with "one two three" and I see the batch invoked only with "one" instead of being "one,two,three".
If I use instead "$[]"... it works and I get "onetwothree"
I can see only the first word...
e.g. I invoke with "one two three" and I see the batch invoked only with "one" instead of being "one,two,three".
If I use instead "$[]"... it works and I get "onetwothree"
Re: Any support for ingredients?
Can you be more specific, what does your batch file need. If its just the whole string, the you can try this in your batch file:
https://stackoverflow.com/questions/161 ... batch-file
https://stackoverflow.com/questions/161 ... batch-file
Re: Any support for ingredients?
Can you be more specific, what does your batch file need? If it's just the whole string, then you can try this in your batch file:
https://stackoverflow.com/questions/161 ... batch-file
https://stackoverflow.com/questions/161 ... batch-file
-
- Posts: 5
- Joined: Fri Jan 17, 2020 5:30 am
Re: Any support for ingredients?
I need to take the input of "$" that is a string with spaces and pass it to the batch file, replacing spaces with commas being one single parameter.
As I already wrote in my original request
$ = "one two three" --> I want to pass to the batch file "one,two,three" as one single parameter
As I already wrote in my original request
$ = "one two three" --> I want to pass to the batch file "one,two,three" as one single parameter
Re: Any support for ingredients?
if the $[,] is not working for you, perhaps you can pass the variable with spaces between the words - have them come into your batch file as multiple parms, and then in your bat file knit them together with the commas you need between the spaces.
-
- Posts: 5
- Joined: Fri Jan 17, 2020 5:30 am
Re: Any support for ingredients?
This is also not working... If I leave space, only the first word is passed to the batch...
Why can't you just fix this bug?
Why can't you just fix this bug?
Re: Any support for ingredients?
I'm not sure it is a bug, it is the way Microsoft has designed batch files to accept parameters. I've been googling to see if I can find a work around, maybe surrounding things with quotes - I will keep looking. If you find something, please let me know.
-
- Posts: 5
- Joined: Fri Jan 17, 2020 5:30 am
Re: Any support for ingredients?
Your software has a bug... $[,] --> This is not working...
can you fix it?
can you fix it?