I have set the trigger to the correct name and app for the notification. It does execute actions like interact with notification. But I can't get it to extract the text I want.
It appears in the body of the message and it comes in the same format every time. I'm trying to capture it like this - Code: codehere123. I have tested the string in regex101.com, and it finds the code successfully with letters and number.
I'm using regex /(?<=Code: )\w+. I tried using app name and notification text for source text like {appname}{not_sub_text}, is that wrong? If so, what can I use instead?
Whenever I try to run text manipulation in Macrodroid to extract, nothing appears in the clipboard or paste.
I have also tried running the macro with steps to click and open the notification, copy the message, open a note, paste it, and extract the text from the note page. Still nothing in the clipboard.
Additionally I also cannot get it to paste using UI interaction>Paste. I have to make it click the keyboard with x, y coordinates or locate identify in app.
It appears in the body of the message and it comes in the same format every time. I'm trying to capture it like this - Code: codehere123. I have tested the string in regex101.com, and it finds the code successfully with letters and number.
I'm using regex /(?<=Code: )\w+. I tried using app name and notification text for source text like {appname}{not_sub_text}, is that wrong? If so, what can I use instead?
Whenever I try to run text manipulation in Macrodroid to extract, nothing appears in the clipboard or paste.
I have also tried running the macro with steps to click and open the notification, copy the message, open a note, paste it, and extract the text from the note page. Still nothing in the clipboard.
Additionally I also cannot get it to paste using UI interaction>Paste. I have to make it click the keyboard with x, y coordinates or locate identify in app.