ScreenReader#
- class ScreenReader#
ScreenReader provides access to virtual widget trees for applications identified by process ID.
- __init__() None#
Create a new ScreenReader instance.
- from_pid(pid) PyScreenReader.virtual_widgets.VirtualWidget#
Retrieve the virtual widget tree associated with the specified process ID (PID).
- Parameters:
pid – The process ID identifying the target application.
- Returns:
Shared pointer to the VirtualWidget corresponding to the given PID.