kcd-clan Posted July 19, 2006 Share Posted July 19, 2006 (edited) For to read hex in autoit. There is a sample in it all the source needed. Verry simple if you know what hex is. The meaning for this program is for packet sending and reciving via anything. You can make a file downloader that can get the % of file and recive files easy with you own code You can send and recive files via sockets or anything really. I am working on a fue programs that require this so i went ahead and made public. I dont know if hex() is suposto do this... I tryed and didnt get the correct code. Dont go modifying it and reposting it you dont have my grace....Hex2asc.au3functions.au3 Edited July 19, 2006 by kcd-clan Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
Richard Robertson Posted July 19, 2006 Share Posted July 19, 2006 Odd grammar, horrible hex. It is faster, and much more efficient to use an algorythm per character than to have a long list of equals. Link to comment Share on other sites More sharing options...
kcd-clan Posted July 19, 2006 Author Share Posted July 19, 2006 (edited) yea but it was faster like that. Later on i might go do it liek that but right now thats how i do it. Edited July 19, 2006 by kcd-clan Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
evilertoaster Posted July 19, 2006 Share Posted July 19, 2006 these functions are already all in autoits standard library Asc() Chr() Dec() Hex() That's basically it... Link to comment Share on other sites More sharing options...
kcd-clan Posted July 19, 2006 Author Share Posted July 19, 2006 how do u get the value then? I wanan see you coulding get it for me erlyer. Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
evilertoaster Posted July 19, 2006 Share Posted July 19, 2006 having trouble understanding your grammer... just tell me what you want converted and I'll tell you the example.... to keep complicated grammer to a low just say like- make 1=01 make A=10 Make T=84 something in that format Link to comment Share on other sites More sharing options...
kcd-clan Posted July 19, 2006 Author Share Posted July 19, 2006 I dont get what your saying You can read autoit right? Well show me the way to do it with the Dec()Hex()Chr() Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() Link to comment Share on other sites More sharing options...
evilertoaster Posted July 19, 2006 Share Posted July 19, 2006 ok... Try this- Case $msg = $Button1 $text=GUICtrlRead ($Input1 ) $asc=Asc($text) $hex=Hex($asc,2) GUICtrlSetData($Input2,$asc) GUICtrlSetData($Input3,$hex) Case $msg = $Button2 $text=GUICtrlRead ($Input2 ) $hex=Hex($text,2) GUICtrlSetData($Input1,"") GUICtrlSetData($Input3,$hex) Case $msg = $Button3 $text=GUICtrlRead ($Input3 ) $asc=Dec($text) GUICtrlSetData($Input1,"") GUICtrlSetData($Input2,$asc) Case Else instead of your case loop. Link to comment Share on other sites More sharing options...
kcd-clan Posted July 19, 2006 Author Share Posted July 19, 2006 (edited) See thats all i wanted. Case $msg = $Button1 $text=GUICtrlRead ($Input1 ) $asc=Asc($text) $hex=Hex($asc,2) GUICtrlSetData($Input2,$asc) GUICtrlSetData($Input3,$hex) Case $msg = $Button2 $text=GUICtrlRead ($Input2 ) $hex=Hex($text,2) $asc=Dec($hex) $text=Chr($asc) GUICtrlSetData($Input1,$text) GUICtrlSetData($Input3,$hex) Case $msg = $Button3 $text=GUICtrlRead ($Input3 ) $asc=Dec($text) $text=Chr($asc) GUICtrlSetData($Input1,$text) GUICtrlSetData($Input2,$asc) Case Else Edited July 19, 2006 by kcd-clan Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone() 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