"Define manually" option for ALL variables

JoeReMi

Member
I would like to be able to use "define manually" for other variables than dictionaries/arrays.


My use case

I am working on a macro that generates search strings for me to use in Pokémon GO. I made a selection dialog with options for each category of mon. The selected category is saved in a string variable.
I would like each search string to have its own text at the end. For example all search strings for the first category would end with string A and those for the second would end with string B. I would also like to be able to change these strings after selecting the category.


The issue

I could do this last thing with a separate "Set Variable" action for each category. For example
  • if selected category = "blah" then set string A with a user prompt
  • if selected category = "blahblah" then set string B with a user prompt
However this has some downsides compared to the feature I'm requesting
  • It takes up more space
  • There is room for error (typos) when adding the constraints
  • It does not allow for the creation of a new string variable


My feature request

The ability to use "define manually" for other variables than dictionaries/arrays. This defined variable would then look like [{lv=LocalStringVariable}]

In other words, if the local string variable is "tree" then setting the above variable to "leaf" will create a variable named "tree" (if this variable does not exist already) and then set its value to "leaf".
 
Top