Recent content by milerfreitas

  1. milerfreitas

    Help to create Macro for Secret Santa

    Hello, I want to create a Macro for the Americans "Secret Santa". I have a dictionary with the names and telephone numbers of the participants, I need to draw the names at random and at the end of the draw send an SMS to each participant informing them who their "Secret Friend" is. Can anyone...
  2. milerfreitas

    Error to create lists and dictionaries

    Hi, I just saw your reply now. It's a new macro, I was making it from scratch. It ended up working, but I had to do it another way. Generally I go to define variable, select the list or dictionary and "Define manually" and enter the name of the key, now I clicked on "Add key" and MD already...
  3. milerfreitas

    Error to create lists and dictionaries

    Greetings everyone! Does anyone know if MD changed the way of dealing with dictionaries and lists? I'm trying to create a log but MD is returning an error. It should look like this: "log" dictionary inside it, every day another dictionary would be created with the key "dd/mm/yyyy, this second...
  4. milerfreitas

    Uber Macro Help

    Now I understand what you want. It is possible to do this, but for it to work correctly your phone must be unlocked at the time of booking. One detail: canceling an hour in advance does not violate Uber's terms, but accepting using software does.
  5. milerfreitas

    Uber Macro Help

    Here in Brazil, Uber has punished drivers who use the automatic refusal or acceptance function. The Macro already informs the driver of everything, he just has to click on accept or reject the ride. Obviously this will affect the acceptance rate, I don't agree with systems to circumvent and...
  6. milerfreitas

    Function similar !preg_replace

    I managed to do what I needed. Thanks for showing me the way.
  7. milerfreitas

    Function similar !preg_replace

    I thought about it, index 31 is reliable, but what about 67? Are you sure it will always be this value?
  8. milerfreitas

    Function similar !preg_replace

    Hello everybody! I need a function similar to if(!preg_replace("my_regex", "my_string)) I tried to compare values and it didn't work. I'll explain, I have a variable "token" which is extracted from the webhook base url. In case I extract everything which is between the slash after the .com...
  9. milerfreitas

    Category lock password loss

    What I did now to test: Full backup of my macros, a friend sent me a blocked category, I imported the blocked category, I used the password he gave me to unlock, after that I blocked it again and I could choose another password. I restored my backup, tried to lock a category and the password I...
  10. milerfreitas

    Category lock password loss

    From which json? It's not about unlocking a category, it's about blocking. When I try to block it, it asks for a password, but I don't know what the password is.
  11. milerfreitas

    Bug Report Macro Id

    Hello everyone! I recently created a macro that uses the Macro ID for validation. In theory, the macro id should change from macro to macro, however I found that if you lock the category with a password, the macros that are inside this category do not change the id even on another device. I...
  12. milerfreitas

    Help to create a macro. (Ajuda para criar uma macro.)

    Yes, it is possible! My macro allows the user to define the bad places and when the race plays it informs, if it is to a place considered bad. And to think I created the first macro for Uber.
  13. milerfreitas

    Category lock password loss

    At some point in my life I created a password for a category and I just can't remember it. What I already di: I tried all the passwords I use; I cleared the MD data; I cleared the cache; I reinstalled from scratch; I changed devices. None of that worked! Is there any way to reset this...
  14. milerfreitas

    Display last items of a list [array]

    Even though you made it simple, I'm still having trouble understanding. Maybe it's the effect of the beer, or just my limitation. Thank you anyway! I will adapt this to my use. MD has proven to be a very powerful application. I hope the community grows!
  15. milerfreitas

    Display last items of a list [array]

    My list has multiple items, I need to display the last 9 items in that list. I am not able to do this in MacroDroid. Someone who has experience with lists and dictionaries in MD that can help me?
Top