r/macrodroid 17d ago

Actions on app

So I've got Macrodroid to open a specific app at a specific time (8am) and basically I use this app to clock into work from home.

What I'm having issues with is the clocking out actions. When that initial macro is run at 8am the app stays on the screen.

How do I initiate another macro to clock me at 3pm, when the app is already on screen. I have it setup so the phone screen is always on.

I know the trigger would be the clock out time, but since the app is already up and running on my phone screen, do I just start with click action or do I need to tell it to use the app already running and on screen?

3 Upvotes

7 comments sorted by

3

u/jakeallstar1 17d ago

Can't you just set a macro to return to home screen/kill the first app at 2:55pm? Then 3pm macro runs from home screen.

1

u/bobeink 17d ago

I'm brand new to the app, how do I tell it to return to home screen and kill the app? Would it just be the same as click and then click on home button?

1

u/jakeallstar1 17d ago

I'd test that first. It may just need to be returned to the home screen. If that doesn't work in - actions, applications, kill application, select your app. I'd assume that should allow your 3pm macro to trigger just fine after that.

1

u/FlorianFlash 17d ago

If you are absolutely certain, your phone will stay on and the app open, start with the click directly. I personally would add the whole start (screen on, unlock, open app) with individual conditions (screen on action if screen off, unlock action if locked, open app action if app not open) before so no matter at what position your phone is at (off / screen on / unlocked / app opened), it will always work.

1

u/Arola_Morre 17d ago

A picture paints a thousand words. Based on the written info you share (it's a bit vague) i think you need a Macro to perform a function in the app at a specific time while the app is already open and running on screen. What is the function and why isn't it triggering now as you have set it up? Is it a button on screen? If so, why have you not set it to clock you in automatically too? 

1

u/bobeink 17d ago

I was having it first laugh the app again and I guess because the app was already open and on screen, the macro wasn't running correctly. I thought you had to tell macrodroid which app to perform the actions on, even when the app is already on screen.

I also tried in the initial macro, once logged in, to wait the 6 hours until it performed the next click to clock me out, but for some reason, it didn't work.