Volume Up and Down in Windows: Monitor Its Growth

In general, the keyboard of our computer has direct access keys with which we can raise and lower the volume of the sound of our PC. Once we press it, a volume bar appears in the upper left, showing us the intensity in a scale from 0 to 100. If we raise or lower the volume we can do it in an increment of 2 by 2, something that we cannot change from the GUI. In order to change the volume settings, a little trick will be necessary that we will see below.

In the event that we want to change the levels at which we can raise or lower the volume, for example, from 5 to 5 or from 10 to 10, we will not be able to do it from the Windows interface itself, since it always applies by default. in levels of 2 by 2. In this way we can increase the volume from 2 to 2, so we would go from 0 to 2 to 4 … thus up to 100. The problem is that we cannot configure it so that the interval is of another quantity , for example, from 5 to 5, so that it will go from 0 to 5 to 10 to 15 … up to 100. In order to solve it and change the rise and fall of the Windows volume to our liking we will need an AutoHotkey script for it.

Volume Up and Down in Windows

What is AutoHotkey and what is it for

For those who do not know what we are talking about, AutoHotkey is a free and open source tool that has been created to be able to automate anything through a shortcut on our Windows 10 PC. With it we can create actions and macros of complex key combinations .

That is why we can use it for all kinds of operations on our computer such as compiling scripts, complex macros, linking keys, etc. We are, before something more than a simple application of keys since its use is mainly intended for advanced users, for which it uses scripts written in specific syntax to be able to carry out its various options.

In order to change the volume increase in Windows 10, it will be necessary to use an AutoHotkey script, so it will be necessary to download it from this link and install it on our computer easily with a couple of clicks.

AutoHotkey Setup

How to create a script in Notepad

Once we have AutoHotkey installed on our computer, we must know how to create a script. For this we will use the classic Notepad , the plain text editor that Windows 10 incorporates. This application will always save the files in TXT format by default, so it will have to be modified so that we can create scripts.

Basically what it is about is to change the file extension (TXT) by the AutoHotkey extension (AHK). To do this, we must open Notepad and paste the script that we want to create. Later we use the keyboard shortcut Ctrl + S or the option “Save as ..” from the “File” menu to save it. Now we will select the option “All files (*. *)” And we will introduce the name that we want to give the script, for example, “TestScript1”, accompanied by the extension AHK , such that: TestScript1.ahk and save the file.Bloc de notas añadir archivo extensión ahk

In case we have made a mistake and have created a file with a TXT extension, simply change the extension. To do this, right-click on the file and select “Rename”. We remove the TXT extension and put AHK in its place. An alert will appear on the screen that will indicate that changing the extension could render the file unusable. We accept and the file extension will be changed.

Adjust volume up and down in Windows 10

Once we know and have AutoHotkey installed on our PC and we know how to save a script with Notepad, we can carry out the process to be able to increase the volume in Windows.

For this, it will be necessary to open Notepad and copy and paste the following script :

  • ; Fix Windows Volume:
  • $ Volume_Up ::
  • SoundGet, volume
  • Send {Volume_Up}
  • SoundSet, volume + 1
  • Return
  • $ Volume_Down ::
  • SoundGet, volume
  • Send {Volume_Down}
  • SoundSet, volume – 1
  • Return

As you find this script, it will take care of setting the volume to increase or decrease in 1-by-1 levels . This is something that we can completely customize to our liking, so we can set a different level to increase and decrease the volume.

Copiar Script en Bloc de notas

Change the volume level

To change the level of volume increase, go to the line “SoundSet, volume + 1” and change the number value of +1 for the one we prefer. To change the volume reduction level, we will go to the line “SoundSet, volume -1” and change the value from -1 to our liking. For example , if we want the volume to increase by +5 and decrease by -5, the lines should be “SoundSet, volume +5” and “SoundSet, volume -5”.

Bloc de notas variaciones en el Script

Once we have the script in Notepad, we can only save it with an AHK extension , as we saw previously, with the name we want, for example “Script.ahk”. Once saved, we will click on the file with the right button and select “Open as”, and “Choose another application”. Here we will select AutoHotkey and mark the bottom box “Always open this application to open .ahk files”. In this way every time we create an AHK file with the notepad, and we execute it, it will automatically be launched with AutoHotkey. Now we can only check by raising and lowering the volume that the increase we have added is made with the values we have added.

Abrir con AutoHotkey

Move script to home folder

If we have been satisfied with the increase in volume that our keys now perform, we can make the script run automatically when we turn on the computer. We will achieve this by moving the file with the script that we have created to the home folder.

To do this, just use the keyboard shortcut “Windows + R” to open the “Execute” command where we will write “Shell: start” and press “Enter”. Next, the start menu folder will open where we must move the file with the script , just by dragging and dropping. From there, we can edit it whenever we want at any time and load the script to execute the new order. If we wish, we can edit the file at any time in order to change the values in the way that suits us at all times.

Join The Discussion

This site uses Akismet to reduce spam. Learn how your comment data is processed.