Page 1 of 1

Volume Example with $

Posted: Fri May 11, 2018 4:38 am
by bepowell
I was following the example on this page https://www.push2run.com/examplecards.html for controlling the volume.

When I enter a $ in the parameters field, the session log says "The system cannot find the file specified". If I replace the $ with a constant like 40 then the program runs as expected and changes the volume. Using a $ causes the program to fail to execute.

This is what I am entering:
https://imgur.com/s1Yuc1p

This is the error I am having:
https://imgur.com/W8gK5Pn

I am able to run commands that do not utilize a '$' in the parameters field.

Re: Volume Example with $

Posted: Fri May 11, 2018 6:46 am
by RobLatour
Thanks.

I'll need to take a look at that.

It appears to work ok if you issue the command via your Google home/mini, but not if you use the Run command from the menu.

Rob

Re: Volume Example with $

Posted: Fri May 11, 2018 6:33 pm
by RobLatour
Thanks again for reporting this.

The issue is now resolved in version 2.0.1 which has now just been released.

You are welcome to upgrade to it from the website.

Once you've upgraded you won't need to do anything additional, the fix should just work with your existing Push2Run card.

Re: Volume Example with $

Posted: Wed Apr 21, 2021 4:30 pm
by faulkj
Hey Rob,

I'm trying to do a Mute action using SetVol that just passes "mute" in the Parameters field, but it isn't working. Also, when using the action from this thread and I say "set the volume to mute", it doesn't work. Will it only work with numeric values?

Thanks!!

Re: Volume Example with $

Posted: Wed Apr 21, 2021 5:35 pm
by RobLatour
the following works fine for me:
Set_computer_volume.p2r
(673 Bytes) Downloaded 736 times
when I say OK Google, tell my computer to set its volume to mute.

Of course, you could also set up a similar card with a listen for phrase of:

mute its volume

and instead of the dollar sign use the word "mute" (without quotes) in the parameters field.

Similar setup for

unmute its volume

Re: Volume Example with $

Posted: Thu Apr 22, 2021 12:28 pm
by faulkj
Well nevermind... For some reason mute functionality isn't working at all in my Windows installation! The mute button on my keyboard isn't working and even the Toggle Mute button on the volume control in the system tray isn't working. So the issue is with Windows, not Push2Run!

In any case, thanks for the quick response. Love the tool!