Quick and clean Ethernet ↔ Wi-Fi switching with custom sounds and smart tray icons, built with AutoHotkey v2.
- Hotkey toggling between Ethernet and Wi-Fi
- One-Click Functionality by left-clicking tray icon
- Sys Tray Right Click toggling between Ethernet and Wi-Fi
- Custom tray icons for different network statuses:
- Ethernet connected
- Ethernet disconnected
- Wi-Fi connected
- Wi-Fi disconnected
- Both adapters enabled (warning)
- Both adapters disabled
- Unique notification sound
- Automatically detects active adapter every 15 seconds (or 5 minutes if a game is running)
- AutoHotkey v2.0
- Windows
- SoundVolumeView by NirSoft (optional, for muting system sounds during notification) You can download SoundVolumeView from NirSoft
Important: If you want to install SoundVolumeView into C:\Program Files\ or any other location, make sure to add its folder path to your System Environment Variables. Otherwise, the script won't find SoundVolumeView.exe when muting/unmuting system sounds during the notification. (Or just toss the SoundVolumeView.exe in the same folder as the script if you want to keep it easy.)
- Install AutoHotkey v2 if you haven't already (optionally Ahk2Exe compiler)
- Place the script
.ahkfile, the following.icofiles in the same folder:ethernet.icoethernetnoconnect.icowifi.icowifinoconnect.icocaution.iconeither.ico
- Make sure SoundVolumeView is accessible (see above).
- Use the system tray right-click menu or press Ctrl + Alt + N to toggle adapters.
- The script uses
netshcommands, which may require administrator privileges depending on your system settings. - The script creates
interfaces.txtfile to read network statuses which is overwritten with each status check. - This script expects your adapters to be named exactly Ethernet and Wi-Fi. If your adapters have custom names, just edit the script accordingly based on the names reported in the interfaces.txt file .
- The script slows the status check timer while cod.exe (Call of Duty) is running. Edit for whichever app you would like to slow the timer for.
- If you encounter any issues or have suggestions for improvements, please open an issue. We appreciate your feedback and are always looking to improve the tool.
Enjoy and customize to your liking!