Incorrect text reading from VNC

Hey Siti,

You can search for a pattern:

set mypattern to <1 digit, period,1 digit, period, 1 digit, period, 1 digit> // will find e.g. 1.0.0.1, 5.5.6.7 
put imagefound(text:mypattern) //  true if its found any match

Here is the link ot the sensetalk patterns which is based on regular expressions but more like you would “say” it.
If you like Regular expression you can print the sensetalk pattern

put mypattern // \d{1}\.\d{1}\.\d{1}\.\d{1}

Cheers,
Karsten

1 Like