https://github.com/samithseu/win-set-sound
Controlling the volume using keypresses in Windows OS
https://github.com/samithseu/win-set-sound
autohotkey-v2 project windows-sound
Last synced: 4 months ago
JSON representation
Controlling the volume using keypresses in Windows OS
- Host: GitHub
- URL: https://github.com/samithseu/win-set-sound
- Owner: samithseu
- Created: 2024-08-09T04:18:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-26T08:56:41.000Z (about 1 year ago)
- Last Synced: 2025-06-24T01:48:18.374Z (12 months ago)
- Topics: autohotkey-v2, project, windows-sound
- Language: AutoHotkey
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Windows Sound Setter 🔊
---
I'm tired of moving my cursor to the bottom right of monitor to set the volume, so I created this small those that I can control it by key presses.
> [!IMPORTANT]
> AutoHotKey has to be installed in computer!
>
> you can install it using `winget`:
>
> ```powershell
> winget install --id Lexikos.AutoHotkey
> ```
### Start Using
You can run the following command in **powershell** and it will download the `ahk` script into startup folder of current user:
```powershell
$path = "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\volume-ctrl.ahk"; iwr "https://github.com/samithseu/win-set-sound/raw/main/set-sound.ahk" -OutFile $path; Invoke-Item $path
```
### Stop Using
If you want to remove it, run the following command in **powershell** to delete:
```powershell
rm -Force "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\volume-ctrl.ahk"
```
### Controls
- Pressing `F8` to show the GUI. If you manually input the volume over `26`, it will ask you first
- Pressing `Alt + NumpadPlus` to volumn up by 2%
- Pressing `Alt + NumpadSub` to volumn down by 2%
You can customize `keys` to your liking by editing the script.