how to get current window name, process

I'd like to create CAG which supports to differentiate per fields below.
How can I get the info below?

  • Window name
  • process name
  • execution path
  • running process
  • focus element role
  • ...

image

Imprint | Privacy Policy