kcd-clan Posted July 18, 2006 Author Posted July 18, 2006 I have to read code from a .exe that is not visable to you. This code is trying to be read by autoit. Autoit only knows to show 0-9. The code i need runs from 0-9 and a-f. I am going to have to write the code all out myself. But it will be usfull to lots. The program im making is really cool and will open a dore in autoit. Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()
evilertoaster Posted July 19, 2006 Posted July 19, 2006 $file=FileOpenDialog("Pick",@ScriptDir,"all (*.*)") $files = FileOpen($file,4) $read=StringReplace(String(FileRead($files,FileGetSize($file))),"0x","") dim $out For $i=1 to StringLen($read) step 2 $out&=Dec(StringMid($read,$i,2)) Next MsgBox(0,0,$out) FileClose($files) Maybe this? I think thats the same as what you orginonally posted...
kcd-clan Posted July 19, 2006 Author Posted July 19, 2006 no it simply cant be done im working on it now :/ its hard but posable Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()
evilertoaster Posted July 19, 2006 Posted July 19, 2006 humm...mkay well let me know what you get when you're done...now you got me curious ^^
JSThePatriot Posted July 19, 2006 Posted July 19, 2006 I am just curious as to what was wrong with Manadar's solution? JS AutoIt Links File-String Hash Plugin Updated! 04-02-2008Â Plugins have been discontinued. I just found out. ComputerGetInfo UDF's Updated! 11-23-2006 External Links Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)
evilertoaster Posted July 19, 2006 Posted July 19, 2006 according to a PM he sent me, i think he's trying to make a 2 digit hex number out of a decimal number (so like 1=01, 9=09, 10=0A)...but he hasn't answered me yet how this is different than Hex($decimal,2)...
erifash Posted July 19, 2006 Posted July 19, 2006 (edited) ; String -> Hex $hex = "0x" & Hex(BinaryString(FileRead($file))); Hex -> String $unhex = BinaryString($hex) It should only take around a minute. Just make sure you have that "0x" in front before unhexing it. Edited July 19, 2006 by erifash My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
evilertoaster Posted July 19, 2006 Posted July 19, 2006 its all a mix up see his post in the scritps and scraps section
erifash Posted July 19, 2006 Posted July 19, 2006 its all a mix up see his post in the scritps and scraps sectionI tried using an "autoit" tag but it messed up. Luckily I hit back then copied it. Now it's fixed. My UDFs:_FilePrint() | _ProcessGetName() | _Degree() and _Radian()My Scripts:Drive Lock - Computer Lock Using a Flash DriveAU3Chat - Simple Multiuser TCP ChatroomStringChunk - Split a String Into Equal PartsAutoProxy - Custom Webserver
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