-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.py
More file actions
41 lines (34 loc) · 721 Bytes
/
app.py
File metadata and controls
41 lines (34 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#/
# author: coder-ashish
# created: 04.04.2023 21:23:38
#/
from pynput.keyboard import Key, Controller
import time
keyboard = Controller()
def pressTab():
keyboard.press(Key.tab)
time.sleep(0.1)
keyboard.release(Key.tab)
time.sleep(0.1)
def pressDown():
keyboard.press(Key.down)
time.sleep(0.1)
keyboard.release(Key.down)
time.sleep(0.1)
def fill_feedback():
pressDown()
time.sleep(2)
pressDown()
pressDown()
pressDown()
pressDown()
pressDown()
pressDown()
pressDown()
pressDown()
pressDown()
pressTab()
print("Get ready, and point your cursor at the first index position...")
time.sleep(3)
while(True):
fill_feedback()