Documentation ¶
Rendered for windows/amd64
Index ¶
- Variables
- func Finalize()
- func GetActiveElement(name string, elementType int64) (*wa.IUIAutomationElement, error)
- func GetAllChildren(parentElement *wa.IUIAutomationElement, elementType int64) (*wa.IUIAutomationElementArray, error)
- func GetElementFromParent(parentElement *wa.IUIAutomationElement, name string, elementType int64) (*wa.IUIAutomationElement, error)
- func GetElementFromParentByType(parentElement *wa.IUIAutomationElement, elementType int64) (*wa.IUIAutomationElement, error)
- func GetElementRect(element *wa.IUIAutomationElement) (*win32wam.RECT, error)
- func GetElementText(element *wa.IUIAutomationElement) (string, error)
- func Initalize()
- func SetElementValue(element *wa.IUIAutomationElement, value string) error
- type IUIAutomationLegacyIAccessiblePattern
- type IUIAutomationLegacyIAccessiblePatternVtbl
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}}
Functions ¶
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 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
func (pat *IUIAutomationLegacyIAccessiblePattern) VTable() *IUIAutomationLegacyIAccessiblePatternVtbl
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 }
Click to show internal directories.
Click to hide internal directories.