Skip to content

Commit e696167

Browse files
committed
Linux and macOS experimental support
1 parent 3d55417 commit e696167

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@ First off, my most sincere thanks and acknowledge to macdeport (https://github.c
33
PyGetWindow-MP (Multi-Platform)
44
==============================
55

6-
This a fork from asweigart's PyGetWindow module (https://github.com/asweigart/PyGetWindow)
6+
This is a fork from asweigart's PyGetWindow module (https://github.com/asweigart/PyGetWindow)
77

88
It adds Linux and macOS experimental support, in the hope others can use it, test it or contribute.
99

1010
You can test it on your system by adding pygetwindow folder to your PYTHONPATH, and then executing: "pytest -vv test_pygetwindow.py" (script located within "tests" folder)
1111

12-
###IMPORTANT NOTICE:
12+
### IMPORTANT NOTICE:
1313

1414
macOS doesn't "like" controlling windows from other apps, so there are two separate classes you can use.
15+
1516
One is based on NSWindow Objects (you have to pass the NSApp() Object. It means you have to be the "owner" of the app).
16-
The other one is based on Apple Script, so it is not fully trustable, but it's working fine in most cases.
1717
To test macOS NSWindow class, you can execute "python3 test_MacNSWindow.py" (also located within "test" folder)
18+
19+
The other one is based on Apple Script, so it is not fully trustable, but it's working fine in most cases.
20+
This other class can be tested together with the others modules, as described above.
21+

0 commit comments

Comments
 (0)