Skip to content

Commit

Permalink
Improved methods documentation
Browse files Browse the repository at this point in the history
Windows and macOS: homogenized getMenuItemRect() args
macOS (Apple Script version): fixed getMenu() method
  • Loading branch information
Kalmat committed Mar 9, 2022
1 parent 9d5a9ea commit 9caaca1
Show file tree
Hide file tree
Showing 8 changed files with 1,006 additions and 567 deletions.
2 changes: 2 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
0.0.25, 2022/03/09 -- Improved methods documentation, homogenized getMenuItemRect() args, and fixed macOS (Apple Script version) getMenu() method
0.0.24. 2022/03/06 -- Added getAllAppsTitles() and getAllAppsWindowsTitles() functions, and getChildren() method
0.0.23, 2022/03/05 -- Fixed Apple Script getAllWindows() not returning all open windows
0.0.19, 2022/03/02 -- Added getWorkArea() and version() methods; and improved performance of macOS Apple Script lists-related methods (getAllTitles(), getAllWindows() and getWindowsWithTitle())
Expand All @@ -6,3 +7,4 @@
0.0.12, 2022/02/27 -- Brown paper bag version
0.0.11, 2022/02/22 -- Added Menu info and methods for Windows and macOS
0.0.10, 2021/11/12 -- Added Linux and macOS support
0.0.9, 2021/09/14 -- Forked from PyGetWindow
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ macOS doesn't "like" controlling windows from other apps, so there are two separ

#### Available in: MS-Windows and macOS Apple Script version (MacOSWindow() class)

Menu info and control functions (from asweigart's original ideas), accessible through 'menu' submodule. E.g.:
Menu info and control methods (from asweigart's original ideas), accessible through 'menu' submodule. E.g.:

subprocess.Popen('notepad')
windows = pywinctl.getWindowsWithTitle('Untitled - Notepad')
Expand Down
Binary file removed dist/PyWinCtl-0.0.24-py3-none-any.whl
Binary file not shown.
Binary file added dist/PyWinCtl-0.0.25-py3-none-any.whl
Binary file not shown.
4 changes: 2 additions & 2 deletions src/pywinctl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# PyWinCtl
# A cross-platform module to get info on and control windows.
# A cross-platform module to get info on and control windows on screen

# pywin32 on Windows
# pyobjc (AppKit and Quartz) on macOS
# Xlib and ewmh on Linux


__version__ = "0.0.24"
__version__ = "0.0.25"

import sys, collections, pyrect

Expand Down
Loading

0 comments on commit 9caaca1

Please sign in to comment.