registry: list keys/values via DllCall

Post your working scripts, libraries and tools
User avatar
Posts: 4991
Joined: 19 Dec 2016, 01:58
Location: UK

registry: list keys/values via DllCall

11 Oct 2017, 19:26

I had wanted AutoHotkey to be able retrieve keys (and values) in alphabetical order. Another potential use for this is to retrieve data from value types that AutoHotkey can't handle.

I also think it's good to know how AutoHotkey's commands/functions work in case you ever need similar functionality in another programming language.

Note: I seem to be getting a list of keys that almost exactly matches RegEdit when it exports keys to a reg file. However, occasionally some keys are missing either from this script's list or RegEdit's list.

Btw does anyone know of any dll functions or any good examples of code for creating reg files? I don't really need this myself, although it seems like a potentially useful thing to do if AutoHotkey could generate reg files when given a path to a registry key.

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

Creating a Windows registry key with no default value (NOT blank) using AutoHotkey - Stack Overflow
RegRead64() and RegWrite64() - no redirect to Wow6432Node - Scripts and Functions - AutoHotkey Community
create empty registry key - AutoHotkey Community

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 27 guests