Search results

  1. S

    Action that extracts regex match details (multiple matches & capture groups) into dictionary variable.

    For example we have the following text. 1,one 2,two 3,three 4,four And we want to extract the text with the following regex. (?<number>\d+),(?<text>[a-z]+) Here's the information that can be retrieved based on the previous details Matches [ "1,one", "2,two", "3,three", "4,four" ] Capture...
  2. S

    How long cache reply or thread is saved?

    I'm referring to when we already write something in reply or thread box, the text we've already written is saved in the forum unless we explicitly delete them. I wonder how long the text is preserved? Like the estimated period? I wrote a couple of text as a reply to my own thread, then I left...
  3. S

    [Idea] Shortcut button to add certain actions or preset of actions in Macrodroid.

    Now I kind of want to do this for quite sometime. The idea is not that grand, I simply want to add certain actions quickly. Most of the time I have to either tap 3 times, write the name of the actions and confirm. That's about 5 steps in total, 2 additional steps if I were to slip one action in...
  4. S

    (How to) Convert JSON array in string variable to Array?

    Everytime I parse an array with JSON parse, I get "[1,2,3,4]". How do I do the reverse directly? Is this possible? For the time being, I could parse the string into dictionary with JSON parse. Then I have the array in dictionary variable. However I couldn't find a way to turn it into an array...
  5. S

    Add more interaction with array in friendlier manner.

    Say, Combine multiple array. Retrieve all array child values without the index and with custom separator. Order array based on certain rules, like alphabetical, numerical, reverser Retrieve certain array child with filter. So far the workaround is impratical, I have to either loop them or do...
  6. S

    Make Shell Script action 100% reliable.

    Title says. Concern I have about 90% successful rate with this particular action. The majority of the execution ran the same exact line and yet these line failed occasionally due to timeout. Executing through MD helper didn't introduce much different results either. It still failed...
  7. S

    How am I supposed to make assigned variables in copied actions from Macro A works right off the bat in Macro B?

    Is there some sort of way to do this? I've been re-assigning them manually everytime I copy some actions into another macro. I originally thought that they are just not registered in local variables tab, however even using syntax doesn't seem to return the value either.
  8. S

    Shell Script sometimes timeouts itself for no reason, I can't tell why. How to make this 100% reliable?

    I have an action block fired by multiple gestures I set up in other app. What this block does is simple, it broadcasts multiple data about the current screen. With this mechanic, I can have other routines fired based on the context of the screen. Now here's where the problem arises. One of...
  9. S

    Random & Sequence Number Generator

    Randomize certain range of numbers in desired steps. By default, it returns only 1 item, however it can be always configured to return multiple items as well. The number sequence is generated with seq and the random function is applied with awk. The input variable supports basic math...
  10. S

    Magictext text for foreground app consistently returns different results compared to dumpsys and other plugins after certain situation. A bug?

    Current behaviour {fg_app_name} and {fg_app_package} return current occupying foreground app. However if an overlay recently has just popped up or been interacted with, it returns that last overlay app instead. Demo. Expected behaviour {fg_app_name} and {fg_app_package} return current...
  11. S

    Interact with Tasker like a plugin with just one action.

    !WARNING LONG POST! Tasker recent beta updates introduced a new feature that allows Tasker to act as a local server. We could utilize this one to make Tasker behave like "a plugin" by querying HTTP Request to Tasker's local server. Look at this screen record. In this Macro, I created a...
  12. S

    Automate WhatsApp completely in background with whatsmeow library.

    Recently, a redditor in r/tasker shared a project to automate whatsapp with whatsmeow library. The library and the project itself work great in Tasker. I could send and receive the messages just fine. https://github.com/HunterXProgrammer/Tasker-MdtestV5#list-of-supported-feature...
  13. S

    What are the challenges doing data processing with Macrodroid?

    I'm kind of a bit testing how far I could go with Macrodroid and would love to get used to with how stuff works around here. So far I've only ever done simple macros with this app. I'm not that used to working with the syntax, tools, and actions altogether to process the data. So I'd like to...
  14. S

    What's the right way to speed up multiple HTTP Request?

    I'm trying to replicate my own project from Tasker where one of the things it does is fetching multiple API at once and returns the result to an array. In Tasker, I could use async fetch to do this with JavaScriptLet action. How do I replicate this in Macrodroid? I have tried to loop HTTP...
Top