Contents

AXUIElementCreateApplication(_:)

Creates and returns the top-level accessibility object for the application with the specified process ID.

Declaration

func AXUIElementCreateApplication(_ pid: pid_t) -> AXUIElement

Parameters

  • pid:

    The process ID of an application.

Return Value

The AXUIElementRef representing the top-level accessibility object for the application with the specified process ID.

See Also

Miscellaneous