Answers for "refresh windows desktop python"

1

how to refresh windows 10 with python

import pyautogui as dp
import time

dp.hotkey('win', 'd')

dp.position(x = 1920,y =540) ### You can change x and y based on the resolution of your pc
dp.click(x = 1920,y =540,button = 'right')

dp.click(x = 1900,y =620)## These coordiantes are not universal, changes as per the pc resolution
Posted by: Guest on March-30-2021

Python Answers by Framework

Browse Popular Code Answers by Language