Last active
September 4, 2021 18:05
-
-
Save nomeyer/c90d884c3a9c48060e8d to your computer and use it in GitHub Desktop.
Create an app reference from a PID (accessibility)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <CoreFoundation/CoreFoundation.h> | |
AXUIElementRef app = AXUIElementCreateApplication(pid); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment