I used this method in a macro with the index to find right before the value (and using text manipulation), like this :but i came up with an idea... i first set a string variable ''stv'' with d dictionary content, then i apply the IF STV CONTAIN ''search text'' .
not a good way but it help.
,[index][value],[index][value],[index][value],
that's why in my text manipulation to get the index I use d\+ (or d\{1,}).GOOD IDEA...
But this seem to work only on a stable entry i.e exact 10 entry. when a new entry is added to d dict., u hv to modify ur text manipulation to accommodate d entry 11 etc
pls can you show how you use it (that's why in my text manipulation to get the index I use d\+ (or d\{1,})).that's why in my text manipulation to get the index I use d\+ (or d\{1,}).
Hi there, those Links are dead for me, could you please repost? ThanksTry my action block:
I also have same for arrays.
You convert to string and then check if string contains.
Or you can try this action block and check if occurence is bigger than 0:
Search forHi there, those Links are dead for me, could you please repost? Thanks
14908
and 14966
in the template store. The reason the link is "dead" is because your browser isn't redirecting you to MacroDroid.Much obliged @Endercraft ! I wonder why it’s not redirecting…Search for14908
and14966
in the template store. The reason the link is "dead" is because your browser isn't redirecting you to MacroDroid.
It probably matters with your browser's settings (something like External download manager you must allow)Much obliged @Endercraft ! I wonder why it’s not redirecting…
What phone was the screenshot taken from?You can use the syntax of:
{lv=dictionary_name[{lv=key_to_search_for}]}
It'll return the value of the value associated with the key, if the key exists in the dictionary, or "{lv=dictionary_name[keyvalue]}" as a string. You can test that value as shown here:
View attachment 4079
A nice MacroDroid enhancement would be a "if (x exists in set)" action like JavaScript's has function for sets
Not a phone, technically -- a Chromebook. I use that to create most macros for screenshots on this forum, since it has a full-size keyboard, bigger screen, mouse, etc. etc. Much faster to type, than on an actual phone.What phone was the screenshot taken from?