qwertylol Posted May 18, 2007 Share Posted May 18, 2007 $first_point[0] = $first_point[0] + ( -77 ) $first_point[1] = $first_point[1] + ( 81 ) $string = ocr_string( $first_point, 50 ) $matches = StringRegExp($string, '[^0]{1,}', 3) _ArrayDisplay($matches, 'found') ;MsgBox ( 0, "title", $matches[0] ) Local $number_of_characters = 0 $number_of_characters = UBound ( $matches ) Do $display_string = $display_string & check_definition( $matches[$loop] ) $loop = $loop + 1 Until $loop == ( $number_of_characters + 1 ) $x = $display_string $loop = 0 $display_string = "" for some reason this will pass the syntax checker but when it's run in the compiled form it will sayerror.bmp Link to comment Share on other sites More sharing options...
Zedna Posted May 18, 2007 Share Posted May 18, 2007 (edited) Try replace Until $loop == ( $number_of_characters + 1 )oÝ÷ Ù¼ºÚ"µÍ[[ ÌÍÛÛÜOH ÌÍÛ[XÛÙØÚXÝÈ oÝ÷ Ù±!?Ûmëmz¶®¶sbÆö6Âb33c¶çVÖ&W%ööeö6&7FW'2Ò¢b33c¶çVÖ&W%ööeö6&7FW'2ÒT&÷VæBb33c¶ÖF6W2¢¢Fð¢b33c¶F7Æ÷7G&ærÒb33c¶F7Æ÷7G&ærfײ6V6µöFVfæFöâb33c¶ÖF6W5²b33c¶Æö÷Ò¢b33c¶Æö÷Òb33c¶Æö÷²¢VçFÂb33c¶Æö÷ÓÒb33c¶çVÖ&W%ööeö6&7FW'2²oÝ÷ Ú·©§o&®¶sbf÷"b33c¶Æö÷ÒFòT&÷VæBb33c¶ÖF6W2Ò b33c¶F7Æ÷7G&ærÒb33c¶F7Æ÷7G&ærfײ6V6µöFVfæFöâb33c¶ÖF6W5²b33c¶Æö÷Ò æW@ Edited May 18, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
qwertylol Posted May 18, 2007 Author Share Posted May 18, 2007 what was the problem? I don't want to get stuck again on this. Link to comment Share on other sites More sharing options...
Zedna Posted May 18, 2007 Share Posted May 18, 2007 what was the problem?I don't want to get stuck again on this.Look into Autoit Helpfile at example for UBound() ... Resources UDF ResourcesEx UDF AutoIt Forum Search 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