Is it possible for macrodroid to do this?

Darkskysz

New member
Something else just came to my mind, if the pages are of (somewhat) equal lenght you could use a fixed wait time, this may mean that there will be a delay on the "shorter" pages before it goes to the next one but atleast it will be automated..
I Cant be certain that each chapter is the exact duration as the rest i would need to grossly exaggerate the timer to last longer just so it doesn't skip too early.
 
  • Like
Reactions: 420

Darkskysz

New member
Well yeah it's almost a completely different setup, which gesture that was working has stopped? the one from step 4?

I need more information to tell you anything really :p Did you succesfully add the TouchTask plugin read screen action? is that part working and saving your text to a variable? And also succesfully reading it? A screenshot of your macro would also help.
Nope i ended up uninstalling it cuz i found it way too complicated, i couldn't get it to do any of the things you mentioned
 

Darkskysz

New member
Well yeah it's almost a completely different setup, which gesture that was working has stopped? the one from step 4?

I need more information to tell you anything really :p Did you succesfully add the TouchTask plugin read screen action? is that part working and saving your text to a variable? And also succesfully reading it? A screenshot of your macro would also help.
Novel.png
 

420

Active member
Nope i ended up uninstalling it cuz i found it way too complicated, i couldn't get it to do any of the things you mentioned
I know the feeling :ROFLMAO:

basically you have to add it in macrodroid directly, you really only have to open TouchTask once to give some permissions.

Add macrodroid action - Tasker/Locale Plugin - TouchTask - Read screen - (you can set some constraints here but i would just leave it as is, atleast for now) click the check mark in the top right to continue.

In the next screen you will have to create some variables to save the outputs, just click the + signs to create a new (local) variable for each field, i believe the actual text is saved to "Element texts"

I see the screenshot of your macro now, i will take a look at that, if you want to give the TouchTask method another go just try that in a new macro ok, don't try to place it somewhere in this one :p
 

420

Active member
It is not clear to me which gesture is not working but i do see some other issues here,

You are using volume up as a trigger to start this macro without any constraints, so it invokes every single time you press it, this might be what you are after but i doubt that..

You are using the same trigger for the wait untill action, so when it is waiting and you press volume up it will continue the macro (as desired), but because it is also the main trigger for your macro it will run again (i think this might be what is breaking your macro). Maybe this is also what made you think that you had succesfully created a loop, but you have not, to create a loop you use the "repeat actions" action.

Ps; When you are adding a trigger/action or constraint you can long press on any of them to get a pop up with some information explaining what they do/how they work.
 

Darkskysz

New member
I know the feeling :ROFLMAO:

basically you have to add it in macrodroid directly, you really only have to open TouchTask once to give some permissions.

Add macrodroid action - Tasker/Locale Plugin - TouchTask - Read screen - (you can set some constraints here but i would just leave it as is, atleast for now) click the check mark in the top right to continue.

In the next screen you will have to create some variables to save the outputs, just click the + signs to create a new (local) variable for each field, i believe the actual text is saved to "Element texts"

I see the screenshot of your macro now, i will take a look at that, if you want to give the TouchTask method another go just try that in a new macro ok, don't try to place it somewhere in this one :p
Screenshot_20211014-214950394.jpgScreenshot_20211014-214259480 (1).jpgScreenshot_20211014-214312928.jpgScreenshot_20211014-214430459.jpg
For some reason my audio is blank (no audio despite full volume) im guessing touchtask is whats causing it. Also im clueless if I even got this right, even after i set the same name for all the variable its not doing anything
 
Last edited:

Darkskysz

New member
It is not clear to me which gesture is not working but i do see some other issues here,

You are using volume up as a trigger to start this macro without any constraints, so it invokes every single time you press it, this might be what you are after but i doubt that..

You are using the same trigger for the wait untill action, so when it is waiting and you press volume up it will continue the macro (as desired), but because it is also the main trigger for your macro it will run again (i think this might be what is breaking your macro). Maybe this is also what made you think that you had succesfully created a loop, but you have not, to create a loop you use the "repeat actions" action.

Ps; When you are adding a trigger/action or constraint you can long press on any of them to get a pop up with some information explaining what they do/how they work.
It works despite me using the same triggee twice it works in turn so there is no issue with it but I'll look at the "repeat action"

It only broke when i tried to add the Touchtask plugin into the macro after i uninstalled touchtask it started working again
 

420

Active member
View attachment 1250View attachment 1249View attachment 1251
For some reason my audio is blank im guessing touchtask is whats causing it. Also im clueless if I even got this right, even after i set the same name for all the variable its not doing anything
Leave the field in first screenshot empty, as i said, don't change anything here just click the check mark to continue.

In the third screenshot you have to create a seperate variable for each field, i usually just name them 1,2,3 etc and rename/remove them later once i've figured out which one i actually need.

In the fourth screen shot, in my TouchTask app these options are all disabled and it works for me, i believe there are some other permissions needed though. For me it has acces to; Camera, Microphone, Storage, Display over other apps, i believe there was 1 more but i can't find it..
 
Last edited:

Darkskysz

New member
Leave the field in first screenshot empty, as i said, don't change anything here just click the check mark to continue.

In the third screenshot you have to create a seperate variable for each field, i usually just name them 1,2,3 etc and rename/remove them later once i've figured out which one i actually need.

In the fourth screen shot, in my TouchTask app these options are all disabled and it works for me, i believe there are some other permissions needed though. For me it has acces to; Camera, Microphone, Storage, Display over other apps, i believe there was 1 more but i can't find it..
Did this now im lost i tried searching "element text" folder nothing came up
 

420

Active member
Did this now im lost i tried searching "element text" folder nothing came up
Not sure what folder you are talking about, i meant the third field in your third screenshot (it's called "element texts"), i believe the main text is saved to the variable you created for that field.

If you have created a variable for each field you can simply tap the action in macrodroid and click "test action", if it is working the variables you've created will all be updated.
 

Darkskysz

New member
Not sure what folder you are talking about, i meant the third field in your third screenshot (it's called "element texts"), i believe the main text is saved to the variable you created for that field.

If you have created a variable for each field you can simply tap the action in macrodroid and click "test action", if it is working the variables you've created will all be updated.
Nothing seems to be happeningScreenshot_20211014-223434914.jpgScreenshot_20211014-223439684.jpgScreenshot_20211014-224113554.jpg

I tried changing each individual variable to element etc. I kept hitting test action since nothing happened either way
 
Last edited:

420

Active member
For me "use text as regular expression" and "only clickable items" are disabled by default, i don't know if that makes any difference..

I found the other permission that i had in mind, it was accessibility permission, this is the one that is required to read your screen.
I disabled the permission for overlays and it's still working, so that one is apparently not needed.
 

Darkskysz

New member
For me "use text as regular expression" and "only clickable items" are disabled by default, i don't know if that makes any difference..

I found the other permission that i had in mind, it was accessibility permission, this is the one that is required to read your screen.
I disabled the permission for overlays and it's still working, so that one is apparently not needed.
Still the same nothing happens, its more trouble then its worth.

I think I'll just stick with what worked and be happy with that.
 
  • Like
Reactions: 420

tanutanu

Well-known member
Still the same nothing happens, its more trouble then its worth.

I think I'll just stick with what worked and be happy with that.
try once with this setting. It works for me.
android:id/content is the top node of nested return data structure. So, get them entirety once first and then omit unnecessary part of the text later.

EDITED: If it returns only "[ ]", try app's top node.
 

Attachments

  • Screenshot_20211015-085341_copy_1080x1449.png
    Screenshot_20211015-085341_copy_1080x1449.png
    93.2 KB · Views: 18
  • Screenshot_20211015-085233_copy_1080x2076.png
    Screenshot_20211015-085233_copy_1080x2076.png
    108.6 KB · Views: 17
  • Screenshot_20211015-082723_copy_1080x1391.png
    Screenshot_20211015-082723_copy_1080x1391.png
    90.3 KB · Views: 17
Last edited:

Darkskysz

New member
try once with this setting. It works for me.
android:id/content is the top node of nested return data structure. So, get them entirety once first and then omit unnecessary part of the text later.

EDITED: If it returns only "[ ]", try app's top node.
I tried following your steps didn't work
 
Top