Can someone help me to create an easy macro please?

Yacoman

New member
Hello everybody

I am looking for a way to create a macro but i didnt understand anything and im reading a ton of tutorials about what i need but still unable to do it. Im reading and watching vidz for hours ans slowly losing my mind, it is super frustrating but i found you...

And NO this is not laziness, i'm just not smart enough to do it.

What i want to do is pretty simple:

launching an app (not on background but really launching the app) >>> waiting 01:45 minutes exactly with the app open >>> closing the app >>> waiting 6 minutes with the app closed >>> launching the app again and doing the same thing again and again and again until i stop it.

So basicaly its opening the app, waiting 1 min 45, closing the app, waiting 6 minutes and relaunching the app, waiting 1 min45, closing the app, waiting 6 minutes and this endlessly.

If someone can help it will be extremely cool you cant imagine how much i need this i feel bored to do it manually by checking a chronometer for launching the app again after 6 minutes...
 

Dm114

Well-known member
Hello everybody

I am looking for a way to create a macro but i didnt understand anything and im reading a ton of tutorials about what i need but still unable to do it. Im reading and watching vidz for hours ans slowly losing my mind, it is super frustrating but i found you...

And NO this is not laziness, i'm just not smart enough to do it.

What i want to do is pretty simple:

launching an app (not on background but really launching the app) >>> waiting 01:45 minutes exactly with the app open >>> closing the app >>> waiting 6 minutes with the app closed >>> launching the app again and doing the same thing again and again and again until i stop it.

So basicaly its opening the app, waiting 1 min 45, closing the app, waiting 6 minutes and relaunching the app, waiting 1 min45, closing the app, waiting 6 minutes and this endlessly.

If someone can help it will be extremely cool you cant imagine how much i need this i feel bored to do it manually by checking a chronometer for launching the app again after 6 minutes...
I'm afraid it's not possible to achieve what you need because it's not possible to close/kill an app (Android limitation).

The only thing you could do would be to close this app using UI interaction: i.e. simulating clicks inside this app to close. But UI interaction doesn't work in every cases.
 

Yacoman

New member
I'm afraid it's not possible to achieve what you need because it's not possible to close/kill an app (Android limitation).

The only thing you could do would be to close this app using UI interaction: i.e. simulating clicks inside this app to close. But UI interaction doesn't work in every cases.
Thanks for your answer its very nice from you

I dont know how to do the UI thing but look what ive found please, a guy has the exact same pb and some people said it is possible:
https://www.reddit.com/r/androidapps/comments/on8xnn
 

Dm114

Well-known member
Thanks for your answer its very nice from you

I dont know how to do the UI thing but look what ive found please, a guy has the exact same pb and some people said it is possible:
https://www.reddit.com/r/androidapps/comments/on8xnn
This action is mainly made to simulate clicks in a foreground app based on either screen coordinates or text in the screen page. This second option has some limitations and doesn't work with any app and any kind of text. It's up to you to try it.

Write a single line macro with a UI interaction with various options and test it with your app.
 

aidanmacgregor

New member
Could try this config, force new when launching the app, and also using home button and then kill background process, just set up a test config and seems to work :)
 

Attachments

  • Screenshot_20220416-104202_MacroDroid.png
    Screenshot_20220416-104202_MacroDroid.png
    118.1 KB · Views: 11

Yacoman

New member
Could try this config, force new when launching the app, and also using home button and then kill background process, just set up a test config and seems to work :)
thanks sir! I tried this technique before in my other topic (here) but i abandoned the idea of doing it but thank you ;)
 

Dm114

Well-known member
How about giving DM114 a like and especially a star for saving you a lot of time.
That's very kind of you but I'm not looking for any kind of congratulations. 😉
I help people when I can for 2 main reasons:
- 1st to help those who will in writing their own macros ;
- 2nd to make as many users as possible like this wonderful/powerful MD app that is developped, nearly for free, by a single Dev, Jamie and keep him distributing worlwide. He really deserves it! 👍👏
 
That's very kind of you but I'm not looking for any kind of congratulations. 😉
I help people when I can for 2 main reasons:
- 1st to help those who will in writing their own macros ;
- 2nd to make as many users as possible like this wonderful/powerful MD app that is developped, nearly for free, by a single Dev, Jamie and keep him distributing worlwide. He really deserves it! 👍👏
I'm not on these boards that much, I'm a full-time developer. It's just that I admire how much valuable help and time you give to folks. Many realize this, of course, but some do not.

And Jamie, how many people realize MacroDroid is a part-time passion project of his that he would like to become full-time time. Most folks don't know how much time he has to spend on android.dev boards filling out bug reports because Samsung or some other company isn't playing by the rules and changing their ROMs to be non-compliant with SDK standards.
 

OscariBot

Active member
Hello everybody

I am looking for a way to create a macro but i didnt understand anything and im reading a ton of tutorials about what i need but still unable to do it. Im reading and watching vidz for hours ans slowly losing my mind, it is super frustrating but i found you...

And NO this is not laziness, i'm just not smart enough to do it.

What i want to do is pretty simple:

launching an app (not on background but really launching the app) >>> waiting 01:45 minutes exactly with the app open >>> closing the app >>> waiting 6 minutes with the app closed >>> launching the app again and doing the same thing again and again and again until i stop it.

So basicaly its opening the app, waiting 1 min 45, closing the app, waiting 6 minutes and relaunching the app, waiting 1 min45, closing the app, waiting 6 minutes and this endlessly.

If someone can help it will be extremely cool you cant imagine how much i need this i feel bored to do it manually by checking a chronometer for launching the app again after 6 minutes...
I believe you can use the "LUNCH HOME ACTION" to mimic killing the app. Or rooting your phone if you really want to kill the app.
 
This is more complicated than it seems at first. You see, every smartphone brand uses there own battery optimizer. If it were me, I'd start by downloading dontkillmyapp from the Google Play Store. It will give you much information on this topic, programs to run on your smartphone, and possibly solutions.
 

OscariBot

Active member
Hello everybody

I am looking for a way to create a macro but i didnt understand anything and im reading a ton of tutorials about what i need but still unable to do it. Im reading and watching vidz for hours ans slowly losing my mind, it is super frustrating but i found you...

And NO this is not laziness, i'm just not smart enough to do it.

What i want to do is pretty simple:

launching an app (not on background but really launching the app) >>> waiting 01:45 minutes exactly with the app open >>> closing the app >>> waiting 6 minutes with the app closed >>> launching the app again and doing the same thing again and again and again until i stop it.

So basicaly its opening the app, waiting 1 min 45, closing the app, waiting 6 minutes and relaunching the app, waiting 1 min45, closing the app, waiting 6 minutes and this endlessly.

If someone can help it will be extremely cool you cant imagine how much i need this i feel bored to do it manually by checking a chronometer for launching the app again after 6 minutes.

Hello everybody

I am looking for a way to create a macro but i didnt understand anything and im reading a ton of tutorials about what i need but still unable to do it. Im reading and watching vidz for hours ans slowly losing my mind, it is super frustrating but i found you...

And NO this is not laziness, i'm just not smart enough to do it.

What i want to do is pretty simple:

launching an app (not on background but really launching the app) >>> waiting 01:45 minutes exactly with the app open >>> closing the app >>> waiting 6 minutes with the app closed >>> launching the app again and doing the same thing again and again and again until i stop it.

So basicaly its opening the app, waiting 1 min 45, closing the app, waiting 6 minutes and relaunching the app, waiting 1 min45, closing the app, waiting 6 minutes and this endlessly.

If someone can help it will be extremely cool you cant imagine how much i need this i feel bored to do it manually by checking a chronometer for launching the app again after 6 minutes...
If it's that necessary your only option is to root ur phone then use lunch app and kill app action in MD. It is that simple
 

Lee

New member
How about giving DM114 a like and especially a star for saving you a lot of time.
Thanks for putting this TVJ

I'm pretty new to this sort of thing so had no idea the mode of appreciation (if that's what you call it) even existed, I will look out for the stars thing as I start to use the forum (can't see the option just now)

Lee
 
Top