Volume Example with $

Here you are welcome to report any Push2Run bugs you may have encountered

if you know of a workaround, it would be great if you would mention that too
Post Reply
bepowell
Posts: 1
Joined: Fri May 11, 2018 4:24 am

Volume Example with $

Post 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.
RobLatour
Site Admin
Posts: 1003
Joined: Mon Feb 19, 2018 11:43 am

Re: Volume Example with $

Post 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
RobLatour
Site Admin
Posts: 1003
Joined: Mon Feb 19, 2018 11:43 am

Re: Volume Example with $

Post 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.
faulkj
Posts: 2
Joined: Wed Apr 21, 2021 4:22 pm

Re: Volume Example with $

Post 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!!
RobLatour
Site Admin
Posts: 1003
Joined: Mon Feb 19, 2018 11:43 am

Re: Volume Example with $

Post by RobLatour »

the following works fine for me:
Set_computer_volume.p2r
(673 Bytes) Downloaded 243 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
faulkj
Posts: 2
Joined: Wed Apr 21, 2021 4:22 pm

Re: Volume Example with $

Post 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!
Post Reply