import win32api
import win32gui
import time
 
if __name__ == '__main__':
    while True:
        point = win32api.GetCursorPos()
        print(point)
        print("%x" % win32gui.WindowFromPoint(point))
        time.sleep(0.5)

 

相关文章:

  • 2021-11-25
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2021-12-12
猜你喜欢
  • 2022-12-23
  • 2021-07-06
  • 2022-01-30
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
相关资源
相似解决方案