On Tue, Jan 12, 2021 at 3:16 PM Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > > Currently I'd like to write something to iterate > > through open windows and save them to different folders depending on > > if the titlebar contains certain strings. > > That sounds like it should be doable if you can get access to the > right Windows API functions. Check out the pywin32 package. If that > doesn't provide what you need, there's always ctypes (part of the > standard python distribution, gives low-level access to C library > functions). >
Sounds like an awful lot of work. On Linux, I'd just subprocess out to wmctrl and parse its output - way easier. ChrisA -- https://mail.python.org/mailman/listinfo/python-list