Brand new to AHK, but not new to coding. I installed AHK to play with and already have run into an issue.
I'm just trying to read the value of a reg key, and it's coming back empty (I've confirmed there's in fact, a value in the actual registry key itself). I copied & pasted the exact RegRead code straight from the help file, changing only the key.
Here's the entire code in my file so far:
Code: Select all
#NoEnv
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
RegRead, OutputVar, HKEY_LOCAL_MACHINE\SOFTWARE\Oracle\VirtualBox, InstallDir
MsgBox, Program files are in: %OutputVar%
Running this on Windows 10 x64. Any ideas? Thought this lang was supposed to be almost n00b-proof?