I had a token with a space at the end of the name (not sure how, but there it was). Let's say it was "Classic1 ".
I am working on an attack macro. It starts with GetTokenNames with some selection criteria, which gets a list of tokens. This works fine, and if I display the list, the trailing space is still there.
The next step is to use a FOREACH to iterate through the list to add to a drop down list with token images using getTokenImage. This fails, with the error message
Code: Select all
Error executing "getTokenImage": the token name or id "Classic1" is unknown.