If you prefer or need to use NVDA you can use these simple functions in nvda.ahk
This is posted here just to make the information easier to find and have a link to the GitHub repository https://github.com/hi5/nvda-autohotkey
See GitHub for more info and the files, if you want to play around with it you need:
- NVDA, the free and open source Screen Reader for Microsoft Windows, more information at https://www.nvaccess.org/ and https://github.com/nvaccess/nvda (you can install it as a portable application)
- NVDA Controller DLL files: http://www.nvda-project.org/nvdaControllerClient/nvdaControllerClient_20100219.7z if they are not available on the NVDA website you can download them at the GitHub repository as well.
- nvda.ahk