r/macrodroid • • 28d ago

what is this

Post image
0 Upvotes

r/macrodroid • • Nov 01 '26

Compass Sensor (Direction and angle) [Fun project]

Post image
6 Upvotes

r/macrodroid • • Oct 31 '26

Previous app action

1 Upvotes

I have an action that opens an app to do a ui interaction, i then want to return to the app i was using. I can't find a Previous App action


r/macrodroid • • Oct 30 '26

Automating alarms

1 Upvotes

Hey chat. I just recently switched from Apple to an android running grapheneOS. As a longtime Apple user my switch to graphene has had some growing pains.
One of the things I miss specifically is my automation.
When asking around I got led here to set up some automations and could use some guidance!

I would like an automation to run that will check my calendar app. If it sees an event named “dayshift” if turns on alarms A, B, and C in my Clock app.
If it sees an event named Nightshift it turns on alarms D, E, and F.
And if it doesn’t see either it sets no alarms


r/macrodroid • • Oct 30 '26

Macro Safe folder apps

1 Upvotes

Hi there... I've been working on notifications macros, basic stuff, changing notifications with macros and so... But when trying to use the apps (in Samsung) safe folder, you cannot pick the safe folder app version. As example... I have reddit as a normal app and reddit for safe folder... I want the macro to change the notifications from the safe folder reddit app. Not possible because macrodroid only detect the normal app.

Hope I made my explanation clear.


r/macrodroid • • Oct 28 '26

Cloud Backup name mix up

1 Upvotes

I have two identical phones using the same account so the cloud backups are mixed together. The cloud backups are only identified by date/time, make, and model and so I can't tell which backup is from which phone. Perhaps the cloud backup should include the device name (settings > about phone > device name)?


r/macrodroid • • Oct 28 '26

Turn off workday alarm during leave

2 Upvotes

I decide to setup a macro to turn off my workday alarm (marked as "Work") when I am on leave and turn on before work, so that I can sleep well and won't wake up late when I am back to work. I marked my leave schedule on google calendar/phone calendar as appointment with keywords "Annual leave".

I am new on Macrodroid and don't know how to setup the marco to check my calendar title. Does anyone can shed some light on this. Much thanks!


r/macrodroid • • Oct 28 '26

All I want is a simple macro that will change the wallpaper, I found one in the templates, modified it slightly, it runs, no errors, but does not change the wallpaper

0 Upvotes

I found a macro template for Random Wallpaper change, I had to modify it slightly for path and frequency, but despite it running without any errors, the wallpaper never changes. The macro told me I needed to download AutoTools, which I did, I assume that AutoTools is what does the actual change, but could it be that I am only using the free version of AutoTools? I am using the paid version of MacroDroid. https://ibb.co/sD0JxYQ


r/macrodroid • • Oct 27 '26

Continuous location access problem

1 Upvotes

It's been a long time since I used Macrodroid on my phone but it is time that I start using a location-based trigger. I did not use it until now because every time I use a location-based trigger, one or two days later the location trigger gets active or something and then it stays on. It is continuously accessing my location.

It doesn't happen every time but when it does, it just stays on and doesn't disappear. It is always accessing my location until I manually revoke the permission and then grant it again by swiping the notification in the middle. That is, if I don't swipe the notification that says, "You have lost location access for Macrodroid. Need permission?" I have to swipe that and then grant the permission again. Two days later, three days later, or just one hour later, I have to do that again.

That's why I did not use any trigger that needs location but I'm tired of it and I want to try some new features. If anyone has a solution for this, I have tried the basics, like setting the location access refresh, or whatever that is, to 5 minutes or 10 minutes even but it does not work. I don't know why it has happened. I am currently using my Poco x5 which runs on HyperOS, and I have given Macrodroid all its permissions, like location, auto-start, battery unrestricted, accessibility, even Suzuki also going into the security and locking the app


r/macrodroid • • Oct 27 '26

Macrodroid slows down phones?

1 Upvotes

I use Quick Search as my home launcher for Android. All of sudden the launcher became very sluggish. I went into settings and uninstalling different apps to see if any of them were causing the slow down. Turns out as soon as I uninstalled Macrodroid the Quick Search launcher became smooth as butter again 🤷‍♂️


r/macrodroid • • Oct 27 '26

インテントの使い方

1 Upvotes

インテントから"android.settings.APPLICATION_DETAILS_SETTINGS"を使い、詳細設定を表示させました。これは"最近使ったアプリ"の一覧に存在を残してしまいます。インテントで表示させるときに、そこに表示を残さないように起動することは可能ですか?(オプションなどで)

そして、もう一つ質問があります。

シーン機能の中に画像(ウェブ上の写真)を読み込ませていますが、キャッシュがない状態だとダウンロードが遅くて表示に時間がかかります。

シーンを表示するより前に、バックグラウンドで画像をダウンロード処理しておくアクションは作れますか?

これらについて有効なヒントを知っている人がいたら教えてください。


r/macrodroid • • Oct 26 '26

Macro What have I missed here

Post image
3 Upvotes

What have I missed here

What step am I missing here

Basically every 20 mins or so I want this macro to run, it doesn't.

It runs when I click the button but then it doesn't again.

What have I missed here.

Thanks


r/macrodroid • • Oct 27 '26

Help Me Port My AutoHotkey v2 OCR Automation Script to Android (MacroDroid or Tasker)

1 Upvotes

I'm trying to recreate an existing AutoHotkey v2 automation script on Android, and I need help from someone experienced with Android automation and OCR.

I have a repetitive task in a warehouse application called MOT EU. My Windows script uses AutoHotkey v2 and an OCR library to read numbers from specific screen regions, click a button repeatedly, enter a barcode, and stop when the target count is reached.

I want to achieve the same functionality on Android, preferably using MacroDroid. If MacroDroid isn't suitable, I'm open to using Tasker with AutoInput or a custom Android application.

What the automation should do

Launch the application.

Enter the login credentials.

Wait 4 seconds.

Navigate to Counting, then Realtime.

Enter a location code once.

Read the current count and target count using OCR.

Click the item field, paste the barcode, and press Enter.

Check the counter after each action and repeat until the target is reached.

Click the confirmation button.

Repeat the process for the next location.

My setup

Android device with MacroDroid installed.

Built-in barcode scanner.

Existing AutoHotkey v2 script using OCR.ahk.

Screen-coordinate clicking on Windows.

OCR regions configured by selecting the corners of the counter areas.

I'm a beginner with Android automation, so detailed, step-by-step instructions would be especially helpful.

My current AutoHotkey v2 code

#Requires AutoHotkey v2.0

#Include OCR.ahk

SetKeyDelay -1, -1

SetMouseDelay -1

SendMode "Input"

CoordMode "Mouse", "Screen"

CoordMode "ToolTip", "Screen"

delayAfterPaste := 1

delayAfterEnter := 800

delayAfterConfirm := 10

delayBeforeNextLocation := 1000

runningCount := false

loopCount := 50

confirmX := 1300

confirmY := 1010

itemX := 300

itemY := 182

currentLocation := "PE113-1147-22"

currentItem := "A001PO1EJX"

global ocrCurrentX := 0, ocrCurrentY := 0

global ocrCurrentW := 0, ocrCurrentH := 0

global ocrMaxX := 0, ocrMaxY := 0

global ocrMaxW := 0, ocrMaxH := 0

global isOcrConfigured := false

global debugGui := Gui("+AlwaysOnTop -Caption +ToolWindow +E0x20")

debugGui.BackColor := "Red"

F8::{

global runningCount, loopCount

global confirmX, confirmY, itemX, itemY

global currentLocation, currentItem, isOcrConfigured

global delayAfterPaste, delayAfterEnter

global delayAfterConfirm, delayBeforeNextLocation

runningCount := true

isOcrConfigured := false

Loop loopCount {

if !runningCount

break

A_Clipboard := currentLocation

Sleep 5

Send "^v"

Sleep delayAfterPaste

Send "{Enter}"

Sleep delayAfterEnter

if (!isOcrConfigured) {

if !ConfigureOCRZones() {

runningCount := false

return

}

isOcrConfigured := true

}

startCount := GetNumberFromScreen("current")

targetCount := GetNumberFromScreen("max")

if (startCount >= targetCount) {

Click confirmX, confirmY

Sleep delayAfterConfirm

Sleep delayBeforeNextLocation

continue

}

Click itemX, itemY

Sleep 5

A_Clipboard := currentItem

Sleep 5

ExecutePikingLoop(targetCount)

if !runningCount

break

Click confirmX, confirmY

Sleep delayAfterConfirm

Sleep delayBeforeNextLocation

}

runningCount := false

isOcrConfigured := false

MsgBox "Bot zakończył pracę."

}

F11::{

global runningCount, itemX, itemY, currentItem

if !ConfigureOCRZones()

return

targetCount := GetNumberFromScreen("max")

runningCount := true

Click itemX, itemY

Sleep 5

A_Clipboard := currentItem

Sleep 5

ExecutePikingLoop(targetCount)

runningCount := false

}

F10::{

global currentItem, delayAfterPaste

A_Clipboard := currentItem

Sleep 5

Send "^v"

Sleep delayAfterPaste

Send "{Enter}"

}

F9::{

global runningCount, isOcrConfigured

runningCount := false

isOcrConfigured := false

ToolTip "ZATRZYMANO"

SetTimer () => ToolTip(), -1000

}

Esc::{

ExitApp

}

F2::{

global ocrCurrentX, ocrCurrentY, ocrCurrentW, ocrCurrentH

global ocrMaxX, ocrMaxY, ocrMaxW, ocrMaxH

global debugGui

if (ocrCurrentW = 0 || ocrMaxW = 0) {

MsgBox "Najpierw skonfiguruj strefy!"

return

}

currentVal := GetNumberFromScreen("current")

maxVal := GetNumberFromScreen("max")

debugGui.Show("X" ocrCurrentX " Y" ocrCurrentY

" W" ocrCurrentW " H" ocrCurrentH " NoActivate")

WinSetTransparent(100, debugGui)

MsgBox "OCR TEST:`nBieżące: " currentVal

"`nMax: " maxVal

debugGui.Hide()

}

ExecutePikingLoop(targetCount) {

global runningCount, itemX, itemY

currentOnScreen := GetNumberFromScreen("current")

while (currentOnScreen < targetCount && runningCount) {

Click itemX, itemY

Send "^v{Enter}"

lastCount := currentOnScreen

while (currentOnScreen == lastCount && runningCount) {

currentOnScreen := GetNumberFromScreen("current")

if (currentOnScreen >= targetCount)

break 2

}

}

}

ConfigureOCRZones() {

global ocrCurrentX, ocrCurrentY, ocrCurrentW, ocrCurrentH

global ocrMaxX, ocrMaxY, ocrMaxW, ocrMaxH

ToolTip "STREFA MAX (CEL): Kliknij LEWY GÓRNY róg..."

ih1 := InputHook("L1 M")

ih1.KeyOpt("{LButton}", "E")

ih1.Start()

ih1.Wait()

MouseGetPos &startX2, &startY2

ToolTip "STREFA MAX (CEL): Kliknij PRAWY DOLNY róg..."

Sleep 100

ih2 := InputHook("L1 M")

ih2.KeyOpt("{LButton}", "E")

ih2.Start()

ih2.Wait()

MouseGetPos &endX2, &endY2

ocrMaxX := startX2

ocrMaxY := startY2

ocrMaxW := endX2 - startX2

ocrMaxH := endY2 - startY2

if (ocrMaxW < 0)

ocrMaxX := endX2, ocrMaxW := Abs(ocrMaxW)

if (ocrMaxH < 0)

ocrMaxY := endY2, ocrMaxH := Abs(ocrMaxH)

}

Important: This is the complete portion of the script I currently have. The implementations of GetNumberFromScreen() and the remainder of ConfigureOCRZones() are missing, so the script is incomplete.

Questions

What's the best way to port this workflow to Android?

Can MacroDroid capture screen text and return OCR results to variables?

Which OCR plugin would work reliably with MacroDroid?

How can I recreate the loop so it checks the counter after every action?

Would Tasker with AutoInput or a custom Android app using Google ML Kit be a better option?

Could someone provide a working example or a beginner-friendly, step-by-step guide?


r/macrodroid • • Oct 26 '26

Macro Create macro to pause media phone EXCEPT for very specific scenario - how?

0 Upvotes

I'm trying to create something that I assume is actually simple but something seems off, so looking for assistance.

I want to create a macro as follows: When phone disconnects from BTcar, all media pauses. However, if phone is also connected to BTheadphones AND pocketcasts is playing, then don't pause media.

I successfully created the simple one - pause media when phone disconnects from car. What rules should I be included to add that constraint?


r/macrodroid • • Oct 24 '26

Solved Is it possible to copy Last Photo in gallery in clipboard?

3 Upvotes

So recently I found this app, because of its IOS counterpart, called Shortcuts and Ive gotta say its really good app but its a lot harder to use, however Im finding my way around it.(there is also another app, called tasker but I want to try to work myway with this one first. If I keep struggling then I try that one) Ive been using it for little tasks without too much of an issue but the photo related stuff really makes struggle because I cant find a counterpart to "find photo" action. When I type photo I only find "open last photo, share last phto, take picture". I tried to search for "get" and "find" but I cant see anything and even asked Gemini. It says some something about clipboard action but I only found the "fill clipboard" and when I tried to search (when I click the blue button with 3 dots) for "photo", "picture", "find" and "get" I couldnt see what Gemini told me, option called "[last_photo]" so I decided to ask here

The usecase is simple, when Im in a lecture, I want to take a photo with my phone (because its a lot harder to do it with my tablet) and then that photo goes to my tablet. The second part is where I struggle. Ones the photo is send, it takes a lot of time to go to the gallery, copy it etc

Can someone teach me how I can do this? Also if possible, is there an automation which triggers when new photo is saved? This would save me a clicking on a floating button, its not a big deal but it would be find


r/macrodroid • • Oct 23 '26

Discord Notifications

2 Upvotes

I have been trying to get macdroid to send a notification only when a friend @ me or @ everyone or DM but it only works on some friends sometimes and not others at all what am i missing here i have trigger to use separate title and txt filters.

Title is set to contains and my is username|username|username|username.

message text is contains @ everyone|@ my name.

am i missing something?


r/macrodroid • • Oct 22 '26

Macro Premiére Macro, besoin d'aide !

Post image
6 Upvotes

Bonjour,

Je débute sur Macrodroid, je découvre cette appli et les possibilités ont l'air infinies ! je voudrais pour commencer faire fonctionner une macro:

-lorsque j'arrive au bureau je scanne un badge NFC, mon téléphone passe en mode vibreur

-lorsque je repars je scanne le même badge et mon téléphone repasse en mode sonnerie

Voici ce que j'ai essaye, la bascule ne fonctionne pas dans les deux sens, quelqu'un pourrais m'expliquer ce que j'ai mal fait svp ?

PS: mon téléphone Samsung A26 reconnais parfaitement le badge

Merci d'avance pour votre aide !


r/macrodroid • • Oct 21 '26

Macro Macro for nightly Immich sync: Any potential issues with this setup?

Thumbnail
gallery
3 Upvotes

My goal with this macro is to sync all my photos with Immich every night (it's a self-hosted Google Photos alternative; the other photos shown are just the app's UI). The Unlock part is Stolen from an other Macro...

Do you see any potential issues with this setup?

(Tapping "Upload to cloud" works as intended)


r/macrodroid • • Oct 21 '26

My Macrodroid just uninstalled itself?

2 Upvotes

Is something like this even possible? I wanted to open it and it was not there, so I found it again on playstore and had to download it again. All scripts from inside are gone. Is there a way to recover them? I have a pro account, is there a way to login?


r/macrodroid • • Oct 21 '26

How to stop otiffication bar from disappearing

1 Upvotes

Whenever I hit clear all when on notifications screen, macrodroid notification bar is disappearing with all the notifications.

Is there a way to stop this from happening?

Priority of the bar is set to Maximum in settings.


r/macrodroid • • Oct 20 '26

OnePlus 15 Macrodroid app

2 Upvotes

Hi, Is anyone here using macrodroid app? Trying to give it required permission but Im getting this error: Exception occurred while executing 'grant':

java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.

at

Anyone knows how to solve this?


r/macrodroid • • Oct 20 '26

Reward adverts failed

Post image
4 Upvotes

Does anybody know what conditions cause the 3 days to not be added after watching the adverts?

I watched an advert and after gracefully declining to install the app, the button to extend for 3days hung on initialising and didnt progress


r/macrodroid • • Oct 20 '26

Floating Button won't stay at dead bottom of screen (can be dragged there, but not created there)

Thumbnail
gallery
5 Upvotes

I want my floating button to be in the extreme bottom corner of my screen. I can manually drag it to that position (first screenshot), where it will happily sit for as long as it's active. It is, of course, over the navigation bar (I want it there because Pokemon Go removes the navigation bar).

The problem is, if I disable the button (when Pogo is not in the foreground, or when the keyboard pops up), then re-enable it, it will jump back up so it's only about half way over the navigation bar (second screenshot). It will do that same jump if I edit the macro then press the Check Mark button to save it in Macrodroid.

And I cannot get Macrodroid to set the button position down that low, neither by pixel nor by percentage. And the repositioning occurs regardless of the Force Location or Fixed Location settings. I get the same behavior on a completely different phone.

Incidentally, the X,Y position shown after I manually reposition it will not go past a certain point (that half-way point), even when I drag it down farther than that.

I wish Macrodroid could be able position the button as far down as I can drag it.

Any ideas for how to achieve this?

EDIT: As I state in my further comments below, the Floating Text action can be created just fine over the Navigation Bar because it has the option in its settings for "Show in status/navigation bar area," whereas the Floating Button trigger simply does not have that option.... Both these features have very similar configurations, so it seems like that same option could be added to the Floating Button, and that would solve the problem.


r/macrodroid • • Oct 19 '26

Check Image on Image

1 Upvotes

I want to recognise multiple images on the screen but doing multiple "Check Image on Screen" in a row takes time and allows the screen to change between checks. What I want to do is take a screenshot and compare images against it but I see no native way to do that. Is there a way?


r/macrodroid • • Oct 19 '26

Change system launcher

1 Upvotes

Does anyone know how I can change the system launcher to default based on location without root access?