This works when running cmd.AddFiles(clickData.func.sourcetab.selected_files) before the Select NONE command. However, there's again the problem that it doesn't work in the recycle bin folder (see also this post).
This works when running cmd.AddFiles(clickData.func.sourcetab.selected_files) before the Select NONE command. However, there's again the problem that it doesn't work in the recycle bin folder (see also this post).