You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is no longer possible to read window titles using the private SLSCopyWindowProperty function for some reason on Catalina. Fix is to return to using the slower AX API instead.
The text was updated successfully, but these errors were encountered:
Just an FYI: All CGWindow APIs seem to require "Screen Recording Permission" as of Catalina to return window titles. This affects the public API such as CGWindowListCopyWindowInfo and the private ones we used previously.
There is a private function that allows an application to request/check for access:
# returns 0 and opens a prompt for access if the application does not have permission
# returns 1 and does not prompt the user if the application already has permission
extern uint8_t SLSRequestScreenCaptureAccess(void);
It is no longer possible to read window titles using the private SLSCopyWindowProperty function for some reason on Catalina. Fix is to return to using the slower AX API instead.
The text was updated successfully, but these errors were encountered: