Skip to content

Commit 4e79355

Browse files
author
Arun Kumar Singh
authored
Create vol_up_down.py
1 parent 32e9027 commit 4e79355

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

python/vol_up_down.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# script to control system volume
2+
3+
4+
import pyautogui
5+
import time
6+
7+
while True:
8+
pyautogui.press('volumedown')
9+
time.sleep(2)
10+
pyautogui.press('volumeup')
11+
time.sleep(5)

0 commit comments

Comments
 (0)