You have to login in order to post a reply to this topic.

5 replies [Last post]
Wyatt
User offline. Last seen 1 year 19 weeks ago. Offline
Joined: 06/30/2010
Posts: 4

Is there any way to mute the volume in a macro? I have a mute button on my keyboard and tried using that when recording a macro (it shows up as "Send Keys {VolumeMute}") but when I play it back it does nothing.

The Internet raido station I listen to plays the same announcements over and over so I would like to have a macro that will mute the volume for 15 seconds then un-mute it. I don't want to use mouse clicks to do it because it disrupts what I'm doing if I'm working on something.

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: Mute Volume?

 I have just tested {VolumeMute} and it works absolutely perfect for me. Your job should probably look like this:

Send Keys: {VolumeMute}{Delay 15000}{VolumeMute}

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==

Wyatt
User offline. Last seen 1 year 19 weeks ago. Offline
Joined: 06/30/2010
Posts: 4
Re: Mute Volume?

I'm afraid it doesn't work for me. I have three steps in the Job Designer:

Send Keys
Send the following keystrokes {VolumeMute} to the active window

Wait
Wait for 5 seconds

Send Keys
Send the following keystrokes {VolumeMute} to the active window

Should this look different? Or is there some other way I should be doing this besides the Job Designer?

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: Mute Volume?

 You can use an external solution. There is a small application that allows you to perform the mute sound operation. Check this article. You do not have to assign a hotkey to it, just download the small application and create a job that will "Run Application" with the specific arguments that are described in the article.

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==

JosephB
User offline. Last seen 8 hours 8 min ago. Offline
Joined: 11/13/2009
Posts: 107
Re: Mute Volume?

D.M.Altizer,

The below also worked on my pc:

Send Keys: {VolumeMute}{Delay 15000}{VolumeMute}

Question

1.  Where are special key values listed in documentation or actions ? ... I can not find any help/documenation listing indicating that the special key values of  {VolumeMute}  or  {Delay 15000} (and what their function is) can be placed in the Send Keys Action

2.  Also, are there other special key values, that can be placed in the Send Keys ?

D.M.Altizer
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 01/12/2010
Posts: 204
Re: Mute Volume?

 @JosephB:

- Regarding the delay, I have found it here.

I did not know about the VolumeMute either. I just use the Macro Recorder and press various buttons in my keyboard to see how they are "translated" into WinAutomation actions. I am guessing that these buttons are not documented because not all keyboards have them and if the keyboard does not have the button, it cannot be sent properly.

- Besides the keys that you can find by using the Macro Recorder, a very interesting technique to avoid copying and pasting the same keystroke over and over can be found here.
 

__________________

==Dedicated Automation Solutions==

__________________

==Dedicated Automation Solutions==