I need help with this kind of macro, can someone help me?

Krazy

New member
I need a macro that opens 8 different sites every day of the week, at specific times, and that gives two clicks on a certain area of the last two sites - of course all in a specific browser (not the default browser).

I tried something similar with "Day/Time Trigger", but simply doesn't work (no red errors appear in the log).

I'm using MacroDroid (Android) latest version.
 
Last edited:

FrameXX

Well-known member
I need a macro that opens 8 different sites every day of the week, at specific times, and that gives two clicks on a certain area of the last two sites - of course all in a specific browser (not the default browser).

I tried something similar with "Day/Time Trigger", but simply doesn't work (no red errors appear in the log).

I'm using MacroDroid (Android) latest version.
Where is the exact problem? Opening website in specific browser/app is possible with intent action.

action: android.intent.action.VIEW
package: package name of browser you want website to open in (for example com.opera.browser)
data: website link.

For UI interaction you need to use exact pixel location on the screen, because MacroDroid can't recognize ui contents of web page.
 

Krazy

New member
Where is the exact problem? Opening website in specific browser/app is possible with intent action.

action: android.intent.action.VIEW
package: package name of browser you want website to open in (for example com.opera.browser)
data: website link.

For UI interaction you need to use exact pixel location on the screen, because MacroDroid can't recognize ui contents of web page.
Thx. Now tell me how I'll opens different links all at once, every day of the week, at specific times? The Day/Time Trigger doesn't seem to be working. :/
 

FrameXX

Well-known member
If you click on trigger and click "test trigger", does macro do the right actions? You could try posting a image of your macro.
Day/Time trigger should work reliable itself and only think that can make it unreliable is agressive battery optimizations. Also make sure you check "Use alarm" on trigger configure screen.
 

Krazy

New member
If you click on trigger and click "test trigger", does macro do the right actions? You could try posting a image of your macro.
Day/Time trigger should work reliable itself and only think that can make it unreliable is agressive battery optimizations. Also make sure you check "Use alarm" on trigger configure screen.
Here's:

Open_Sites.png
 

FrameXX

Well-known member
Remove the IF statement. It blocks the actions from happening and does not make sense. Or instead repair the if statement by using OR for constraints.
 

Krazy

New member
What exactly doesn't still function? Try sending picture with repaired macro.
Part of the macro is working as it should, at the set times, on the other hand, UI interactions do not perform the click, no matter where I set it to click. :(

Open_Sites.png
 

FrameXX

Well-known member
Clicking on website content could be little problematic sometimes. Maybe try restarting MacroDroid UI interaction accessibility service. If that doesn't help, I am out of ideas.

Also note that killing background process "internet" will propably have no affect if app "internet" is opened in foreground.
 
Top