Closed yjmd2222 closed 1 year ago
Hi! Sorry for the late reply. I was out and with limited access to my mail.
To be honest, I didn't expect a "missing value" in the window title (empty is ok, but... missing?). Anyway you are totally right, it shouldn't crash. Thank you so much for pointing out this issue! I will upload a new version solving this as soon as I can (by next week, I hope). Just curious, which app/window is the one returning "missing value" as title?
Hi, there. It's great to hear that you are fixing this issue. I got the job done using AppleScript, but I might come back to pywinctl because I'm still confused with AppleScript. Most of zoom.us/Zoom Meetings app's window titles/names return "missing value" like "Zoom Meeting" shadow window (Something empty gets created when I start or join a new meeting), "Agree to recording", and "Update needed." They have their respective proper title in Windows. Anyways, "missing value" seemed to be a very common placeholder in AppleScript when I Googled it; it may go in the title or other props. I don't know anything else though.
Hi. I'm trying to use pywinctl on macOS Ventura, but I encountered a problem which I believe is due to "missing value" not being evaluated correctly. I think the issue occurs when a window does not have a valid title which would be translated to "missing value," but this very "missing value" is not interpreted as a valid single object, hence the SyntaxError: forgot a comma.