Acc library (MSAA) and AccViewer download links
Posted: 28 Dec 2016, 09:31
- To whom it may concern -
as this thread is from 2016, you might get interested to use UIA , ACC's successor instead: viewtopic.php?f=6&t=104999
"UIAutomation is a Microsoft accessibility framework that allows interacting with user-accessible elements (clicking buttons, sending text etc) in a programmatic way. It is the successor to the Acc/MSAA framework."
... and why that makes even more sense: viewtopic.php?p=467030#p467030
But just in case you stick with ACC, UIAViewer.ahk (provided on the page linked above) offers the option to run in "Acc-Mode" to identify Acc-paths more reliable!
[(BoBo) Moderator: Added 2022-06-10]
; ----------------------------------------------------------------------
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
as this thread is from 2016, you might get interested to use UIA , ACC's successor instead: viewtopic.php?f=6&t=104999
"UIAutomation is a Microsoft accessibility framework that allows interacting with user-accessible elements (clicking buttons, sending text etc) in a programmatic way. It is the successor to the Acc/MSAA framework."
... and why that makes even more sense: viewtopic.php?p=467030#p467030
But just in case you stick with ACC, UIAViewer.ahk (provided on the page linked above) offers the option to run in "Acc-Mode" to identify Acc-paths more reliable!
[(BoBo) Moderator: Added 2022-06-10]
; ----------------------------------------------------------------------
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