Metadata-Version: 2.1
Name: pyWinActivate
Version: 1.2.1
Summary: Activate and focus on any opened window by using the window title.
Home-page: https://github.com/InfiniteNex/pyWinActivate
Author: SimeonTodorov
Author-email: the_nexus@mail.bg
License: UNKNOWN
Description: # pyWinActivate
        
        ## Just like WinActivate in AutoHotkey, this module lets you easily activate and focus an opened window.
        
        
        ### Examples
        ```py
        from pyWinActivate import win_activate, win_wait_active
        
        
        # Activate window with partial winTitle string.
        win_activate(window_title="Book1", partial_match=True)
        
        # Activate window with exact winTitle string.
        win_activate(window_title="Book1.xlsx - Excel", partial_match=False)
        
        
        
        
        # Wait for the specified window to be active.
        # You can pass an exception for a popup window's title. If not needed leave as None or skip entirely.
        # Note: works only with a full title
        win_wait_active(win_to_wait=Book1.xlsx - Excel, exception="potential popup window", message=False)
        
        ```
        
        
        ## Changes
        ### 1.2.1
        #### Made winWaitActive to work with partial matching of the titles.
        
        
        ### 1.2.0
        #### Refactored win_activate()
        #### It now takes window_title and partial_match(T/F) as arguments instead of window and titlematchmode(0/1)
        
        
        ### 1.1.1
        #### Changed function names to follow PEP8 guidelines
        #### Changed get_app_list() to not use mutable deafults
        #### Added argument to win_wait_active() to turn off the message while waiting. Its True by default.
        #### Changed some function argument names to be more desriptive.
        
        
        
        #### Special thanks to reddit user u/JohnnyJordaan with help on the code simplification.
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Description-Content-Type: text/markdown
