How do i make an if statement w a screen pic?

tony

New member
Like i want it to touch one one point or another on my screen depending on whats showing on my screen cause it may change randomly how do i create an if like that? Ty in advance for the help and sorry for my english im spanish
 

FrameXX

Well-known member
TouchTask plugin can read text on the screen and save it into variable. Than you can use If variable contains... Note that it can only read text in apps, not in games that use their custom ui styles.
 

tony

New member
TouchTask plugin can read text on the screen and save it into variable. Than you can use If variable contains... Note that it can only read text in apps, not in games that use their custom ui styles.
Im a bit noob on this and im strugglin to creat it can u send more info on how to donit
 

FrameXX

Well-known member
Im a bit noob on this and im strugglin to creat it can u send more info on how to donit
Create Action > Apps > Locale/Tasker Plugin > TouchTask > Read Screen > On next page you will be taken to the plugin app, you don't need to setup everything just click ✅.

On the next page you will set up the variables that are going to be saved. You need only element texts so you click + button next to that and name variable as you want.

You will need to use this action always if you want to get all current text of the screen, than you can use the if constraint.

That plugin also allows for trigger on same basis which means in trigger section > Apps > Tasker locale you could find the same option just under name "screen update" and use it as and trigger if some new text appears on the screen.
 
Top