Jump to content

deerhunt713

Members
  • Posts

    2
  • Joined

  • Last visited

deerhunt713's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks guys. I solved it by doing a while loop. Sorry for the vagueness of the post. my solution probably isnt the best but it seems to work. $try = Binary("0xFEDCBA9876543210") $p =1 $Startloop = StringCompare($try,BinaryMid($fileHex,$p,8)) While $Startloop <> 0 $p = $p+1 $Startloop = StringCompare($try,BinaryMid($fileDataBin,$p,8)) If $p > 1000 Then ExitLoop WEnd
  2. So I'm new to autoit. I need to find a hex string in a file (also in hex). I looked into the function StringInStr, but it gives the wrong location, and there doesnt seem to be a function to do the same for binary or hex. any suggestions? what i have $location = StringInStr($file,"fedcba987654321")
×
×
  • Create New...