Help with extracting text from screen.

DeDoktor

New member
Hello everyone,

I'm new to this app and the forums, so let me just start with thank you!

So my plan is to automate this game. The first step is to figure out what level my stuff is, save those to some variables, then continue into a loop to play the game.

My question is: How would I go about extracting the level of a current item from text on the screen?

The level text appears as "Level XXX" on the screen. XXX able to be anything from 1-9999.

I found the "Text manipulation > Extract Text" action, I'm just not sure what to put for the source text to make it read from the current screen when the macro is running.
 

FrameXX

Well-known member
MacroDroid can't read screen text natively. You can use plugins like TouchTask to read text on screen, but I doubt It will work in your game, because most of games do not use classic android ui components but custom canvas.
 

Dm114

Well-known member
Hello everyone,

I'm new to this app and the forums, so let me just start with thank you!

So my plan is to automate this game. The first step is to figure out what level my stuff is, save those to some variables, then continue into a loop to play the game.

My question is: How would I go about extracting the level of a current item from text on the screen?

The level text appears as "Level XXX" on the screen. XXX able to be anything from 1-9999.

I found the "Text manipulation > Extract Text" action, I'm just not sure what to put for the source text to make it read from the current screen when the macro is running.
FrameXX is right, I don't think you'll be able to find any app to read info from a game screen. What you could do, instead, would be to input the level (and any other info) to save them into variables.
 
Last edited:

DeDoktor

New member
FrameXX is right, I don't think you'll be able to find any app to read info from a game screen. What you could do, instead, would be to input the level (and any other info) to save them into variables.
Yeah I can do that I guess.. I wanted to make it stand alone since you can upgrade your own items.. that way when I get this working I could release it to the public and anyone that used it wouldn't have to change any variables manually. The macro would detect there item levels automatically. Thank you all for the replies!
 

Fiston667

New member
Oui, je peux le faire, je suppose ... je voulais le rendre autonome puisque vous pouvez mettre à niveau vos propres éléments ... de cette façon, lorsque cela fonctionne, je pourrais le publier au public et quiconque l'utiliserait n'aurait pas à changer toutes les variables manuellement. La macro détecte automatiquement les niveaux des éléments. Merci à tous pour les réponses!
 
Top