Python Forum
help wnck please - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: help wnck please (/thread-35906.html)



help wnck please - rnesheik - Dec-28-2021

Hello friends I'm trying to develop a macro, in python but I'm learning. the function would be as follows wnck look for the name [google] between the open browser tabs and open it. i have the code in pygetwindow, i just want to convert it to wnck
    import pygetwindow
     windows = []
    
    for w in pygetwindow.getWindowsWithTitle('google'):
        windows.append({
            "window": w,
could someone help me convert this function to wnck?