Code:
If ReadValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run","RunBGInfo")
   "Value is in registry."+@CRLF
Else
   "Value is not in registry (or is empty)"+@CRLF
EndIf