|
|
|
NirCmd Command Reference - setappvolume
|
setappvolume [Process] [volume level] {Device Name/Index}
Set 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 set 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 number between 0 and 1.
For example, if you want to set the volume to 50%, 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:
setappvolume iexplore.exe 0.2
setappvolume wmplayer.exe 0.75 Speakers
setappvolume /1275 0.25 1
setappvolume Firefox.exe 0.5
setappvolume focused 0.75
Other commands:
NirCmd Web Page
Download NirCmd
NirSoft Web Site
|
|
|