electrico Posted April 29, 2009 Share Posted April 29, 2009 Greetings! Can anybody help me with my (may be stupid) question. Using function RegWrite("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings", "TEST", "REG_BINARY", "10 00 00 00") i always get the 31 instead of 1 displayed in binary value inside regedit, 30 instead of 0, and accordingly, 39 instead of 9. Can anybody describe me how to CORRECTLY write REG_BINARY values in to registry, so they will appear like simple 10 00 00 00 and so on.. Actually tired scanning google.. Link to comment Share on other sites More sharing options...
trancexx Posted April 29, 2009 Share Posted April 29, 2009 What is written to console when you run this: ConsoleWrite(Binary("10 00 00 00") & @CRLF) ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
ProgAndy Posted April 29, 2009 Share Posted April 29, 2009 Binary Data in AutoIt is representet as this: $Bin = Binary("0x10000000") *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
electrico Posted April 30, 2009 Author Share Posted April 30, 2009 What is written to console when you run this: ConsoleWrite(Binary("10 00 00 00") & @CRLF) Thank you for quick replying! Actually I am a newbie and I dont know how to use ConsoleWrite, as it does nothing. I red there is something about STDOUT, but this is dark picture for me. Can you explain pls more details? Link to comment Share on other sites More sharing options...
JamesDover Posted May 11, 2009 Share Posted May 11, 2009 Try This RegWrite("HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings", "TEST", "REG_BINARY", "3130203030203030203030") 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