ax

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Rendered for darwin/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAppByBundleAndTitleRootAXElement

func GetAppByBundleAndTitleRootAXElement(bundleID, title string) (axAPI.OSAXElement, error)

Get an app based on the bundle id and the title

func GetForegroundRootAXElement

func GetForegroundRootAXElement() (axAPI.OSAXElement, error)

Types

type AXElement

type AXElement struct {
	// contains filtered or unexported fields
}

func (AXElement) GetAllChildren

func (a AXElement) GetAllChildren() ([]axAPI.OSAXElement, error)

func (AXElement) GetID

func (a AXElement) GetID() (string, error)

func (AXElement) GetType

func (a AXElement) GetType() (*appElements.ElementType, error)

func (AXElement) GetValue

func (a AXElement) GetValue() (string, error)

func (AXElement) Press

func (a AXElement) Press() error

func (AXElement) SetValue

func (a AXElement) SetValue(value string) error

func (AXElement) SetValueOnFocus

func (a AXElement) SetValueOnFocus(value string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL