Delta Posted December 14, 2007 Share Posted December 14, 2007 What code is this? hex? \xF4\xBE\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00 and is there a way to convert it back and forth between plain text? [size="1"]Please stop confusing "how to" with "how do"[/size] Link to comment Share on other sites More sharing options...
eltorro Posted December 14, 2007 Share Posted December 14, 2007 (edited) What code is this? hex? \xF4\xBE\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00 and is there a way to convert it back and forth between plain text? This will convert it to the integer value. Substitute Chr for Int if you want characters. $x = StringSplit(StringTrimLeft("\xF4\xBE\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00",1),"\") for $y = 1 to $x[0] ConsoleWrite(Int("0"&$x[$y])& @CRLF) Next Edited December 14, 2007 by eltorro Regards, [indent]ElTorro[/indent][font="Book"] Decide, Commit, Achieve[/font]_ConfigIO.au3Language Translation --uses Google(tm) MsgBox Move XML wrapper UDF XML2TreeView Zip functionality Split your GUI Save Print ScreenZipPluginEdit In Place listviewSome of my scripts on Google code Link to comment Share on other sites More sharing options...
Delta Posted December 14, 2007 Author Share Posted December 14, 2007 I think its a mixture of ints and chrs [size="1"]Please stop confusing "how to" with "how do"[/size] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted December 14, 2007 Moderators Share Posted December 14, 2007 (edited) $sConvert = BinaryToString("0x" & StringRegExpReplace("\xF4\xBE\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00", "\\x", "")) MsgBox(0, 0, $sConvert) $sConvertBack = StringTrimLeft(StringToBinary($sConvert), 2) MsgBox(0, 0, $sConvertBack)oÝ÷ جµ©è¶Ú,!£hvÂ+a¢ëe¢lØN¬Æ§¢Ø^¯²¶è{¶¥G¢·¬mçè殶sbb33c·46öçfW'BÒ&æ'Fõ7G&ærgV÷C³gV÷C²fײ7G&æu&VtW&WÆ6RgV÷C²b3#·cBb3#·$Rb3#·2b3#·b3#·b3#·b3#·b3#·b3#·b3#·b3#·b3#·b3#·b3#·b3#·b3#·gV÷C²ÂgV÷C²b3#²b3#·gV÷C²ÂgV÷C²gV÷C²¤×6t&÷ÂÂb33c·46öçfW'B¢b33c·46öçfW'D&6²ÒgV÷C²b3#·gV÷C²fײ7G&æuG&Õ&vB7G&æu&VtW&WÆ6R7G&æuG&ÔÆVgB7G&æuFô&æ'b33c·46öçfW'BÂ"ÂgV÷C²ç³'ÒgV÷C²ÂgV÷C²b3#³b3#²b3#·gV÷C²Â"¤×6t&÷ÂÂb33c·46öçfW'D&6² Edited December 14, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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