It would be (very..) nice to be able creating macro's which can automate 'a list' of commands.
something like:
macro call: 'rename-my-selection(var1, var2)'
macro commands:
[
sort( creation date)
seqn( 0001 )
select({var1})
rename selection( '{var2}-{iptcdate}_{seqn}')
]