Acc library (MSAA) and AccViewer download links

Post your working scripts, libraries and tools
hasantr
Posts: 151
Joined: 05 Apr 2016, 14:18

Re: Acc library (MSAA) and AccViewer download links

11 Jun 2019, 03:20

I have such a problem.
---------------------------
iWB2 Learner UPDATED.ahk
---------------------------
Error: Call to nonexistent function.

Specifically: Acc_ObjectFromPoint(child).accSelect(0x3, child)

Line#
112: temp := clipboard := %A_GuiControl%
113: ToolTip,"clipboard= " (StrLen(temp) > 40 ? SubStr(temp,1,40) "..." : temp)
114: SetTimer,RemoveToolTip,1000
115: }
116: Else
116: if (A_GuiControl = "TView")
116: {
---> 117: Acc_ObjectFromPoint(child).accSelect(0x3, child)
118: Hotkey,~LButton Up,On
120: if TV_GetParent(TVsel:=TV_GetSelection())
120: {
121: TV_GetText(text, TVsel)
122: RegExMatch(text, "\d+", child)
123: clicked := Stored.pelt.childNodes[child]
124: }

The program will exit.
---------------------------
Okey
---------------------------
User avatar
jeeswg
Posts: 6457
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Acc library (MSAA) and AccViewer download links

11 Jun 2019, 21:37

- 3 possible solutions:
- (1) Create a folder called 'Lib' (in the same folder as the AutoHotkey exe), and copy Acc.ahk and Anchor.ahk into that folder.
- (2) Edit 'iWB2 Learner UPDATED.ahk', add these 2 lines at the top (or bottom):

Code: Select all

#Include %A_ScriptDir%\Acc.ahk
#Include %A_ScriptDir%\Anchor.ahk
- (3) Edit 'iWB2 Learner UPDATED.ahk', add the contents of Acc.ahk and Anchor.ahk into it at the bottom (or top).
homepage | tutorials | wish list | fun threads | donate
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
hasantr
Posts: 151
Joined: 05 Apr 2016, 14:18

Re: Acc library (MSAA) and AccViewer download links

12 Jun 2019, 02:57

jeeswg wrote:
11 Jun 2019, 21:37
- 3 possible solutions:
- (1) Create a folder called 'Lib' (in the same folder as the AutoHotkey exe), and copy Acc.ahk and Anchor.ahk into that folder.
- (2) Edit 'iWB2 Learner UPDATED.ahk', add these 2 lines at the top (or bottom):

Code: Select all

#Include %A_ScriptDir%\Acc.ahk
#Include %A_ScriptDir%\Anchor.ahk
- (3) Edit 'iWB2 Learner UPDATED.ahk', add the contents of Acc.ahk and Anchor.ahk into it at the bottom (or top).
Yeah, that worked. Thanks.

Return to “Scripts and Functions”

Who is online

Users browsing this forum: Bon, digidings and 40 guests