How to make Ms Teams status always show as Available

One way is to automatically generate keystroke in a regular interval so your computer will never go into sleep.


import pyautogui
import time
value = True
while (value): #infinite loop
   pyautogui.press('left')     # press the left arrow key
   time.sleep(60) #wait 60 seconds

For more info, check out https://pyautogui.readthedocs.io/en/latest/keyboard.html

Comments

Popular posts from this blog

How to know or track something change on screen