Python Forum

Full Version: help wnck please
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?