"50" is being retrieved as "so"

I'm trying to read the number but it always return "so" instead of "50"
This is what I tried so far :
put ReadText(contrast:"On", ContrastTolerance:90) into result

I tried
ReadText(contrast:"On", ContrastTolerance:90, ValidPattern:"[0-9]") into result
but It even does not return anything.
Bellow is the image.
Thanks,

Comments

  • JonathanOSXJonathanOSX ForumAdmin admin
    You'll have better luck reading numbers if you specify
    ValidCharacters: "0123456789"
    
    That will specifically tell it you want it to try to read only those characters.

    For ValidPattern you need to define an entire pattern of characters. Here you've only specified a single character. It is designed for things like User[0-9] to match User5 or User8 but not Users.
  • pxpx Member
    You'll have better luck reading numbers if you specify
    ValidCharacters: "0123456789"
    
    That will specifically tell it you want it to try to read only those characters.

    For ValidPattern you need to define an entire pattern of characters. Here you've only specified a single character. It is designed for things like User[0-9] to match User5 or User8 but not Users.

    Got it, thank Jonathan. nice to meet you before.
Sign In or Register to comment.