How to randomly select each item at a time from a list, without repeating the item?

You could do. You could also randomly generate a string until it doesn't appear in the source text -- the first chunk of %RandomUUID% would be a good candidate:

Unique Separater UUID Demo.kmmacros (5.9 KB)

Image

But the nice thing about =myKMsep= and its expansions is that you can easily eyeball it when debugging, moving text into other apps, etc. Plus it's very obvious what it is there for!

Unique Separater Demo.kmmacros (5.4 KB)

Image

1 Like

@_jims @Alexander @Nige_S It was overwhelming to receive your in depth responses. I haven't been able to go through your macros. I deeply appreciate your willingness to help. As I mentioned earlier, my problem is solved temporarily but your responses would definitely help as I will come back at this later in time.

3 Likes