|
|
|
NirCmd Command Reference - changeappvolume
|
changeappvolume [Process] [volume level] {Device Name/Index}
Increase/decrease the volume level of specific application under Windows 7/Vista/2008.
In the [process] parameter, you can specify the .exe filename
(For example: Firefox.exe, iexplore.exe, wmplayer.exe), or full path filename (For example: 'F:\Program Files\Internet Explorer\iexplore.exe')
or the process ID (For example: /3426)
You can also specify 'focused' for this parameter, if you to want to change the volume of the focused application.
You can also specify 'SystemSounds' for this parameter, if you to want to set the 'System Sounds' volume.
The [volume level] parameter is a positive or negative number between 0 and 1.
positive number increases the volume, negative number decreases the volume.
For example, if you want to increase the volume from 20% (current volume) to 70%, you should set this parameter to 0.5
The {Device Name/Index} is optional parameter.
If you don't specify it, the default output device is used.
You can specify the device index as numeric value (0 = first device, 1 = second device, and so on)
You also specify the full device name, like Speakers or Headphones.
In order to find out what sound devices are available in your system, use the showsounddevices command.
Examples:
changeappvolume iexplore.exe -0.2
changeappvolume wmplayer.exe 0.55 Speakers
changeappvolume /1275 -0.25 1
changeappvolume Firefox.exe 0.5
Other commands:
NirCmd Web Page
Download NirCmd
NirSoft Web Site
|
|
|