Easy Way to Convert Variables to Local Variables?

I can second Peter’s response - that’s unlikely to happen. When I was working on Search & Replace for action XML, I learned how hard this task would be.

That’s one of the reasons I always, always, always prefix variables with something fairly unique, because it’s easy to search for, and even replace if necessary.

With that said, if you know the names of your variables, and the names are unique and not likely to be duplicated by XML tags, then you could use them for a search and replace loop.

Just duplicate the macro first, in case you mess everything up. :slight_smile:

1 Like