Comment by stavros

5 days ago

What was the solution?

Well, I'm not going to share either solution as this is actually a pretty useful utility that I plan on releasing, but the short answer is: 1) don't use ScreenCaptureKit, and 2) take advantage of what CGWindowListCreateImage() offers through the content server. This is a simple IPC mechanism that does not trigger all the SKC limitations (i.e., no multi-space or multi-desktop support). In fact, when using SKC, the user cannot even minimize the "watched" window.

Claude realized those issues right from the start.

One of the trickiest parts is tracking the window content while the window is moving - the content server doesn't, natively, provide that information.

  • Huh, Claude one-shotted it out of a single message from me. Man, LLMs have gotten good.

    • No it didn't. Like I said... it may have gotten something that worked but there is no way Claude got it to work while supporting multi-spaces, multi-desktops, and using under 2% cpu utilization. My solution can display app window content even when those windows are minimized, which is not something the content server supports.

      My point was that Claude realized all the SKC problems and came up with a solution that 99% of macOS devs wouldn't even know existed.

      9 replies →

    • It one-shotted what exactly?

      Because LatencyKills is clearly describing a broader set of requirements related to their solution.