windows_accesibility_features

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: 7 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

View Source
var IID_IUIAutomationLegacyIAccessiblePattern = &ole.GUID{0x828055ad, 0x355b, 0x4435, [8]byte{0x86, 0xd5, 0x3b, 0x51, 0xc1, 0x4a, 0x9b, 0x1b}}

https://github.com/mmarquee/ui-automation/blob/ec43c1449b11b5d0f3fd313367e242c6ce456bd9/src/main/java/mmarquee/uiautomation/IUIAutomationLegacyIAccessiblePattern.java

Functions

func Finalize

func Finalize()

func GetActiveElement

func GetActiveElement(name string, elementType int64) (*wa.IUIAutomationElement, error)

func GetAllChildren

func GetAllChildren(parentElement *wa.IUIAutomationElement, elementType int64) (*wa.IUIAutomationElementArray, error)

func GetElementFromParent

func GetElementFromParent(parentElement *wa.IUIAutomationElement, name string, elementType int64) (*wa.IUIAutomationElement, error)

func GetElementFromParentByType

func GetElementFromParentByType(parentElement *wa.IUIAutomationElement, elementType int64) (*wa.IUIAutomationElement, error)

func GetElementRect

func GetElementRect(element *wa.IUIAutomationElement) (*win32wam.RECT, error)

func GetElementText

func GetElementText(element *wa.IUIAutomationElement) (string, error)

// https://github.com/goldendict/goldendict/blob/master/guids.c var IID_IUIAutomationTextPattern = &ole.GUID{0x32eba289, 0x3583, 0x42c9, [8]byte{0x9c, 0x59, 0x3b, 0x6d, 0x9a, 0x1e, 0x9b, 0x6a}}

func Initalize

func Initalize()

func SetElementValue added in v0.0.2

func SetElementValue(element *wa.IUIAutomationElement, value string) error

Types

type IUIAutomationLegacyIAccessiblePattern added in v0.0.2

type IUIAutomationLegacyIAccessiblePattern struct {
	ole.IUnknown
}

func (*IUIAutomationLegacyIAccessiblePattern) SetValue added in v0.0.2

func (pat *IUIAutomationLegacyIAccessiblePattern) SetValue(value string) error

https://docs.microsoft.com/en-us/windows/win32/api/uiautomationclient/nf-uiautomationclient-iuiautomationlegacyiaccessiblepattern-setvalue HRESULT SetValue(

LPCWSTR szValue

);

func (*IUIAutomationLegacyIAccessiblePattern) VTable added in v0.0.2

type IUIAutomationLegacyIAccessiblePatternVtbl added in v0.0.2

type IUIAutomationLegacyIAccessiblePatternVtbl struct {
	ole.IUnknownVtbl

	DoDefaultAction             uintptr
	Get_CachedChildId           uintptr
	SetValue                    uintptr
	Get_CachedDefaultAction     uintptr
	Get_CachedDescription       uintptr
	Get_CachedHelp              uintptr
	Get_CachedKeyboardShortcut  uintptr
	Get_CachedName              uintptr
	Get_CachedRole              uintptr
	Get_CachedState             uintptr
	Get_CachedValue             uintptr
	Get_CurrentChildId          uintptr
	Get_CurrentDefaultAction    uintptr
	Get_CurrentDescription      uintptr
	Get_CurrentHelp             uintptr
	Get_CurrentKeyboardShortcut uintptr
	Get_CurrentName             uintptr
	Get_CurrentRole             uintptr
	Get_CurrentState            uintptr
	Get_CurrentValue            uintptr
	GetCachedSelection          uintptr
	GetCurrentSelection         uintptr
	GetIAccessible              uintptr
	Select                      uintptr
}

Jump to

Keyboard shortcuts

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