ux

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	WINDOW   = "window"
	BUTTON   = "button"
	LIST     = "list"
	LISTITEM = "listitem"
	GROUP    = "group"
	TEXT     = "text"
	MENU     = "menu"
	MENUITEM = "menuitem"
	CHECKBOX = "checkbox"
	EDIT     = "edit"
	PANE     = "pane"
	COMBOBOX = "combobox"
)

Variables

This section is empty.

Functions

func Finalize

func Finalize()

func Initialize

func Initialize()

Types

type UXElement

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

func GetActiveElement

func GetActiveElement(name string, elementType string) (*UXElement, error)

func (UXElement) Click

func (u UXElement) Click() error

func (UXElement) GetAllChildren

func (u UXElement) GetAllChildren(elementType string) ([]*UXElement, error)

func (UXElement) GetElement

func (u UXElement) GetElement(name string, elementType string) (*UXElement, error)

func (UXElement) GetElementByType

func (u UXElement) GetElementByType(elementType string) (*UXElement, error)

func (UXElement) GetFullName

func (u UXElement) GetFullName() string

func (UXElement) GetName

func (u UXElement) GetName() string

func (UXElement) SetValue added in v0.0.2

func (u UXElement) SetValue(value string) error

Directories

Path Synopsis
+build windows
+build windows

Jump to

Keyboard shortcuts

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