← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #699326]: Access Windows Registry from Sikuli IDE

 

Question #699326 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/699326

RaiMan proposed the following answer:
This works:
import com.sun.jna.platform.win32.Advapi32Util as WIN32
import com.sun.jna.platform.win32.WinReg.HKEY_CURRENT_USER as HKCU

print WIN32.registryGetStringValue(HKCU,
"Software\\Microsoft\\Edge\\BLBeacon", "version")

Look here for the API of the JNA modules:
http://java-native-access.github.io/jna/5.9.0/javadoc/

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.