Blog articles
In my case I wanted to make an automation for OBS. The best way for me to share a window is to make a macOS Screen Capture source and chose there Window Capture method. The goal was to find the ID, which changes on reopening. The journey starts with CGWindowListCopyWindowInfo, but it takes unexpected turn. At least for me.