Would have been nice for Altium to generate a command line equivalent of each action like it can with the Filtering function. And then you can later copy and paste and create a macro from it.
Not everyone has the time to fiddle around with Pascal scripts !
cheers