ChrisL Posted July 9, 2007 Posted July 9, 2007 This is awful sorry! #include <string.au3> $file = FileOPen("DAT62230.4AT",16) $data = StringReplace(FileRead($file),"00","") $data= BinaryToString($data) FileClose($file) ;FileWrite("temp.txt",$data) $number = StringRegExp($data,"[0-9]{6}[Y]",1) If IsArray ($number) then $number = StringtrimRight($number[0],1) $sampleReport = _StringBetween($data,Chr(03) & "…", " ") If IsArray($sampleReport) then $sampleReport = $sampleReport[0] $name = _StringBetween($data,"2_"," ¨") If IsArray($name) then $name = StringtrimLeft($name[0],2) Msgbox(0,"",$name & @crlf & $sampleReport & @crlf & $number) [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
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