[quote="leo"]There's a Select RESELECT command, though I'm not sure it'll do what you want in this context...
...but you don't need it anyway. Get rid of the Select ALL and just tell the Rename command to act on all files:
Rename * TO OK-*
That'll ignore the selection.[/quote]
Thanks a lot for the suggestion Leo,
unfortunatelly I also have other buttons, that probably do need the SELECT ALL, like this replace double space to single space :
Select ALL
Rename PATTERN=" " TO=" " FINDREP
@NODESELECT
You shouldn't need select-all for that button either. If you pass a filename or wildcards to the rename command then it acts on those filenames and ignores the selection.
BTW, you had a stray ; in your first command. Also, I changed the order of the commands so that they were easier to read but not for any other (technical) reason; they'll work as well in the original order.