I apologize if this is a bit off-topic. I am also using the selector element, and I was trying to come up with a solution for the same issue here in this thread, (i.e. matching the selected item’s variable with its name):
As you can see, I chose picture2 and if I look up the order, I see that picture2 ended up occupying the third position after the shuffle: this means that I chose the bottom-left picture by pressing X. Additionally, I see that picture2 was cat.png (note that the order of the filenames in the result line are not shuffled)
You can automatize those associations in R, for example
Thank you for mentioning this function in R! I was wondering if you could kindly point to, perhaps, a place in the R’s documentation or a manual where I could learn more about this.
All the best,