SetAttr deselects

SetAttr deselects files, but I seem unable to reselect them with the following.

SetAttr SETATTR R
Select RESELECT

Most commands deselect by default (if Preferences / File Operations / Options / Deselect files used in functions is on).

You can use the @nodeselect modifier to prevent it on individual buttons without turning it off globally.

Worked! Thank you.