Hi, I'm trying to use this library which seems great and it all works easily from the terminal with python, but if I drop that into a simple script, any get window function always returns empty data arrays.
import pygetwindow as gw
all = gw.getAllTitles()
print(all)
Paste the same three lines in a terminal, they return the window list. but in script, always returns empty. Any ideas do to fix this or what I'm doing wrong?
Bizzare, but I found out that some stupid antivirus containment feature was causing this. Not affecting the terminal window in the same CMD prompt, but it did affect the script running. Lame. Anyway, fixed.
Hi, I'm trying to use this library which seems great and it all works easily from the terminal with python, but if I drop that into a simple script, any get window function always returns empty data arrays.
import pygetwindow as gw
all = gw.getAllTitles()
print(all)
Paste the same three lines in a terminal, they return the window list. but in script, always returns empty. Any ideas do to fix this or what I'm doing wrong?