Acc library (MSAA) and AccViewer download links

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Acc library (MSAA) and AccViewer download links

Re: Acc library (MSAA) and AccViewer download links

Post by jeeswg » 12 Jun 2018, 11:12

- Try v1.1.29.01 or a version before v1.1.29.00.
- If you have any further queries re. the dialog boxes, I would suggest starting a new thread.

Re: Acc library (MSAA) and AccViewer download links

Post by Nixcalo » 12 Jun 2018, 10:51

AccViewer.ahk is not working in my system. I don't really know what it's supposed to do, but probably it's not supposed to crash when I press the Show Acc Structure... Unless I press that button, it does abssolutely nothing

My AHK version is 1.1.29.00

Edit: I have managed to do something, first changing the hotkey to CTRL+P (no idea why CTRL+/ did not work). However, it does not seem to find any difference between two dialog boxes I am using within a page :facepalm:

Re: Acc library (MSAA) and AccViewer download links

Post by AHKStudent » 28 May 2018, 02:59

jeeswg wrote:There are some links here:
jeeswg's Acc tutorial - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=7&t=40590

This is pretty much the only link I've used:
IAccessible interface (Windows)
https://msdn.microsoft.com/en-us/library/windows/desktop/dd318466(v=vs.85).aspx

That was helpful thank you

Re: Acc library (MSAA) and AccViewer download links

Post by jeeswg » 27 May 2018, 14:40

There are some links here:
jeeswg's Acc tutorial - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=7&t=40590

This is pretty much the only link I've used:
IAccessible interface (Windows)
https://msdn.microsoft.com/en-us/library/windows/desktop/dd318466(v=vs.85).aspx

Re: Acc library (MSAA) and AccViewer download links

Post by AHKStudent » 27 May 2018, 14:18

Question: Does anyone know where in MSDN it talks about ACC? Curious to read up about it and how windows works within its api for this.

I tried doing acc or other searches but was not successful.

Thank you

Re: Acc library (MSAA) and AccViewer download links

Post by jeeswg » 04 May 2018, 08:15

- @malcev: I did some tests and got the same results as you, the error message appeared when used with #If but otherwise the function worked.
- Since #If has to be fast, perhaps it's placing certain limits on what functions can do.

Code: [Select all] [Expand]GeSHi © Codebox Plus


[EDIT:] The issue is further discussed here:
#If and ComObjCreate return error 0x8001010D - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=48444

Re: Acc library (MSAA) and AccViewer download links

Post by malcev » 30 Apr 2018, 12:40

I found that ACC library does not work with directive #if.
1 example - open google chrome, move cursor to address bar, and press f10, f11.
When we press f10 - the result will be wrong.

Code: [Select all] [Expand]GeSHi © Codebox Plus


2 example - open google chrome and press f10.
I get error - "Error 0x8001010D - An outgoing call cannot be made since the application dispatching an input-synchronous call".
If I press f11 - all works OK.

Code: [Select all] [Expand]GeSHi © Codebox Plus


Is it bug of autohotkey or acc library or I do something wrong?

Re: Acc library (MSAA) and AccViewer download links

Post by partof » 26 Dec 2017, 13:25

For the (others) dummies who(also) struggle to understand the syntax:
https://autohotkey.com/boards/viewtopic ... 72#p190772

Re: Acc library (MSAA) and AccViewer download links

Post by jeeswg » 15 Sep 2017, 07:31

I've since investigated AHKHID. Try these scripts in case they help to solve your problem.
NEW Barcode Input Capture (USB and RS232 compatible) - Page 2 - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=36241&p=170673#p170673
AHK keyboard hook + AHKHID causing buggy behavior - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=5&t=18079&p=87925#p87925

Re: Acc library (MSAA) and AccViewer download links

Post by jeeswg » 07 Sep 2017, 20:29

I haven't personally done anything like that. Not that it's impossible, but I can't see how Acc would help with this, I view it more for interacting with GUIs as you say. Perhaps AHKHID (the word does look a little like 'Acc') or Lua? I'd say more if I knew any more. Best of luck.

Re: Acc library (MSAA) and AccViewer download links

Post by derz00 » 07 Sep 2017, 20:01

Hallo @jeeswg

@jNizM recommended this library to make usable a key on my keyboard that AHK does not natively see. All I can see in forum threads, etc, is GUI related, so I feel lost. Any tips? Or who would know, or how do I learn?

Thanks :wave:

Re: Acc library (MSAA) and AccViewer download links

Post by Tomer » 13 Aug 2017, 12:11

Gr8 tool.tnx!

Re: Acc library (MSAA) and AccViewer download links

Post by jeeswg » 06 Feb 2017, 19:32

I compared your version with the version I have using WinMerge.
Since I have the corrected the (two brackets) error also,
the only difference was:
;#INCLUDE %A_ScriptDir%\Query.ahk
#INCLUDE %A_ScriptDir%\Anchor.ahk
#INCLUDE %A_ScriptDir%\Acc.ahk

Indeed iWB2 Learner requires Anchor.ahk and Acc.ahk,
this can be done by putting them in
C:\Program Files\AutoHotkey\Lib,
but yes sometimes I include scripts directly using #Include.
Query.ahk is no longer needed, and is correctly commented out.

I don't know which variable you moved, WinMerge did not show
any moved variable.
Thank you for your comments.

Re: Acc library (MSAA) and AccViewer download links

Post by burque505 » 06 Feb 2017, 18:10

For a copy that works with my 64-bit Win7 box you can try https://dl.dropboxusercontent.com/u/67647214/iWB2%20Learner%20UPDATED.ahk.
I corrected the typo listed above and moved a variable. Please let me know if it doesn't work or the link dies.
Edit: That link is dead due to Dropbox policy changes, but it's apparently irrelevant now. April 30, 2018
Thanks!
burque505

Re: Acc library (MSAA) and AccViewer download links

Post by jeeswg » 20 Jan 2017, 10:12

Cheers, an absolute pleasure. And just so everyone knows I did not write these great functions!

Re: Acc library (MSAA) and AccViewer download links

Post by wolf_II » 20 Jan 2017, 09:51

Thank you very much for this.

Acc library (MSAA) and AccViewer download links

Post by jeeswg » 28 Dec 2016, 09:31

I couldn't find a page on the new forum with up-to-date links for the Acc library and AccViewer so I'm posting some here:

See AccPack.zip at the bottom of this post, it contains AHK v1 versions of:
Acc.ahk
AccViewer.ahk
Anchor.ahk
iWB2 Learner UPDATED.ahk

==================================================

[Acc.ahk]
Autohotkey-scripts-.ahk/Acc.ahk at master · Drugoy/Autohotkey-scripts-.ahk · GitHub
https://github.com/Drugoy/Autohotkey-scripts-.ahk/blob/master/Libraries/Acc.ahk

[AccViewer.ahk]
Autohotkey-scripts-.ahk/AccViewer.ahk at master · Drugoy/Autohotkey-scripts-.ahk · GitHub
https://github.com/Drugoy/Autohotkey-scripts-.ahk/blob/master/DevTools/AccViewer.ahk

[Anchor.ahk (for use with AccViewer)]
AutoHotkey-Scripts/Anchor.ahk at master · polyethene/AutoHotkey-Scripts · GitHub
https://github.com/polyethene/AutoHotkey-Scripts/blob/master/Anchor.ahk

TO DOWNLOAD:
Go to the right-hand side of the page and right-click Raw.

TO INSTALL:
Place Acc.ahk and Anchor.ahk in the folder:
C:\Program Files\AutoHotkey\Lib

TO RUN:
Double-click AccViewer.ahk.

TO USE:
Drag the crosshair to a window/control/object.
Or hover over a window/control/object and press Ctrl+/.

TIPS ON RETRIEVING TEXT/INFORMATION VIA THE ACC LIBRARY:
jeeswg's Acc tutorial - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=7&t=40590
AccViewer Basic - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=32039

==================================================

[iWB2 Learner UPDATED.ahk (23,803 bytes)]
New item: iWB2 Learner · Issue #94 · ahkscript/awesome-AutoHotkey · GitHub
https://github.com/ahkscript/awesome-AutoHotkey/issues/94

TO DOWNLOAD:
Go to iWB2 Learner UPDATED.zip and right-click,
or instead, use the direct download link:
https://github.com/ahkscript/awesome-AutoHotkey/files/211139/iWB2.Learner.UPDATED.zip

TO RESOLVE THE ERROR ('Error: Invalid function declaration.'):
[note: this error has already been fixed in the AccPack.zip download below]
Edit the script, replace:
TV_GetDiffCount(p1, p2))
with:
TV_GetDiffCount(p1, p2)

==================================================

[Excel_Get function][new version][doesn't require Acc]
MS-Office-COM-Basics/Excel_Get.ahk at master · ahkon/MS-Office-COM-Basics · GitHub
https://github.com/ahkon/MS-Office-COM-Basics/blob/master/Examples/Excel/Excel_Get.ahk

[Excel_Get function][old version][requires Acc]
excel and com? - Ask for Help - AutoHotkey Community
https://autohotkey.com/board/topic/73940-excel-and-com/#entry469769
Attachments
AccPack.zip
(19.83 KiB) Downloaded 173 times

Top