123456789101112131415161718192021 |
- '''
- Created on Jan 28, 2020 @author: levente.marton
- '''
- import pyautogui as gu
- import pywinctl as gw
- import unittest
- import re
- # from hotboards import ciel_keys
- from time import sleep
- # t = 5
- # while t > 0:
- # print(gw.getAllTitles())
- # sleep(1)
- # t -= 1
- if __name__ == "__main__":
- print(gw.getAllTitles())
- # active_win = gw.getActiveWindowTitle()
- # print(active_win)
- # my_win = gw.getWindowsWithTitle('ECLIPSE')[0]
- # print(my_win.title in active_win)
|