Cannot read text content if words are slant

jazer

New member
Hello Macrodroid experts,

1. I do have an issue with read content text. Is it macrodroid cannot read slanting words? I don't have problem with normal straight words. Thank you.
1710416999307.png

2. And I have a nother question, how many times is the Screen Content will read the scren? is it by default 2 secs? because while testing, sometimes it does not read the screen, thus won't trigger my macro. I need to go homescreen and bring the app in the foreground to read it again...Thank you again.
 

LF0

Member
Perhaps it's because these words are rendered onto the screen, just like animations. You need to use the 'Read content from screen capture' action to save them into variables.

For the second issue, you can change the screen reading frequency to the fastest every 0.1 seconds in the settings. This can reduce the delay when triggers are activated, but it will consume more battery.
 

jazer

New member
Perhaps it's because these words are rendered onto the screen, just like animations. You need to use the 'Read content from screen capture' action to save them into variables.

For the second issue, you can change the screen reading frequency to the fastest every 0.1 seconds in the settings. This can reduce the delay when triggers are activated, but it will consume more battery.
Thank you for this. yes it's from a video. How to use the screen capture to trigger the macro? I need to trigger the macro using that screen.

yes I know the 0.1 the fastest you can set but is macrodroid will scan every 0.1 sec? because I experienced macrodroid do nothing until it switches the app from foreground to background and back to foreground. just the only time the macro reads. is there a setting need to set? because my use case is this, that screen will only appear once, so it is a legit screen but sometimes it stuck there for a long time, so the first trigger will just change a variable but after one hour i need to check on it again if the screen is the same. if yes, will execute kill/clear cache/launch action to fix the issue.

below is the logs, almost 30 mins, didn't read so no trigger. I toggled the app in question and trigger fires. So there should be a change of screen before it reads the screen?
1710470093837.png
 
Last edited:

LF0

Member
The action cannot be used as a trigger, but you can create a macro like this that checks the text in a screen capture every 100 milliseconds after the app is opened, just like a screen content trigger.
Screenshot_20240315_124811.jpg

For the screen content not working, the only reason I can think of is that MacroDroid didn't detect the app you selected as being in the foreground. You can try selecting "Apply to all apps" in the screen content trigger.
 

jazer

New member
The action cannot be used as a trigger, but you can create a macro like this that checks the text in a screen capture every 100 milliseconds after the app is opened, just like a screen content trigger.
View attachment 8948

For the screen content not working, the only reason I can think of is that MacroDroid didn't detect the app you selected as being in the foreground. You can try selecting "Apply to all apps" in the screen content trigger.
Thank you for this. Appreciate it. I think this works the same I used which is the regular interval trigger.
 
Top