OK, seems to be that I have to prove that I am used to this tool...
My current string looks like this:
Left(MoveArticles([Album]),1)/ [-AlbumNameVorDoppelPkt]/ [-AlbumNameOhneDoppelPkt] - if(isequal([Dirigent], Unbekannt Dirigent),[Albuminterpret], if(isequal([Albuminterpret],[-DirigentOhneSir]), [-AlbumInterpNachName] [Orchester], [-AlbumInterpNachName] [-DirigentNachName] [Orchester])) ([Abtastrate])
and is a modification with defined phrases of the string below as the one below caused problems on a MAC system
Left(MoveArticles([Album]),1)\
regex(replace([Album],:, / /-),/#([^\s,]+)#/,-1,1)[R1]\
replace([Album],:, / /-) - if(isequal([Dirigent], Unbekannt Dirigent),[Albuminterpret], if(isequal([Albuminterpret],if(isequal(Left([Dirigent],3),Sir),removeleft([Dirigent],4),[Dirigent]),1), regex(Swap([Albuminterpret]),/#([^\s,]+)#/,-1,1)[R1]/, [Orchester], regex(Swap([Albuminterpret]),/#([^\s,]+)#/,-1,1)[R1]/, regex(Swap([Dirigent]),/#([^\s,]+)#/,-1,1)[R1]/, [Orchester])) ([Abtastrate])
However, this is just to show you, that I am not new to the JRiver scripting language and that I really love "to play" with it. However, the string above leads exactly to the problem, that disks with multiple conductors or interprets get split into two or more directories, so that I would like to work with a loop to check track "structure" before writing a directory.
This is what I try to do and where I can't find a solution.
So, Jim wrote it is possible to work with loops. How does an example expression look like?
Thanks again for your very speedy reaction to my post.
Martin