Playback() from a selection of files

In a specific context, for each call, I’d like to playback a file from a group of files. The file can be picked at random, but if not possible, round robin will do. Any ideas?

you could use the random function.

You can set up macro to do ‘randomize’.
I have about 100 files and need to reandomly pick one ane play it. Macro takes timestamp value and cut it properly to generate one number, for example DDHHMM
then evaluate DDHHMM/[number of files]= take rest as a random value (filenames are numbers) when macro result is 100 then * plays 100.sln, if 4 then 4.sln is played.