1import pyautogui as dp
2import time
3
4dp.hotkey('win', 'd')
5
6dp.position(x = 1920,y =540) ### You can change x and y based on the resolution of your pc
7dp.click(x = 1920,y =540,button = 'right')
8
9dp.click(x = 1900,y =620)## These coordiantes are not universal, changes as per the pc resolution