Mecano Posted June 30, 2011 Share Posted June 30, 2011 (edited) Hey there, I converted a registry key with reg2au3 This is the registry key: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\MadDog\MadDog\MadDog] "lastdog"=hex(B):f9,03,01,00,00,00,00,00 "lastcat"=hex(B):6c,21,08,00,00,00,00,00 "maxdog"=dword:0001869f "maxcat"=dword:00989680 Converterd to au3: RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog", "maxdog", "REG_DWORD", "99999") RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog", "maxcat", "REG_DWORD", "10000000") But lastdog and lastcat are REG_Qword values I tried: $val= "hex(B):f9,03,01,00,00,00,00,00" RegWriteRegWriteRegWriteRegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog", "lastdog", "REG_QWORD", $val ) but no luck Any one Thanks in advance Edited July 1, 2011 by Mecano Link to comment Share on other sites More sharing options...
sleepydvdr Posted June 30, 2011 Share Posted June 30, 2011 Try this: RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog","lastdog","REG_SZ",'hex(B):f9,03,01,00,00,00,00,00') RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog","lastcat","REG_SZ",'hex(B):6c,21,08,00,00,00,00,00') RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog","maxdog","REG_DWORD",'0001869f') RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog","maxcat","REG_DWORD",'00989680') #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
Mecano Posted June 30, 2011 Author Share Posted June 30, 2011 (edited) Nope didn't work but you pointed me to the right direction RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog","lastdog","REG_QWORD",'66553') RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog","lastcat","REG_QWORD",'532844') RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog","maxdog","REG_DWORD", "99999") RegWrite("HKEY_CURRENT_USER\MadDog\MadDog\MadDog","maxcat","REG_DWORD", "10000000") What I did was regedit.exe --> lookup the key --> REG_QWORD --> decimal value Thanks Greetings, Mecano Edited July 1, 2011 by Mecano Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now