@NODESELECT in VBScript script button?

I'm running the VBScript described here: [url]Conditional commands inside button: Run different commands depending on whether files are selected]

When I run the script button containing that script while I have files selected in my active lister, those files get de-selected. Is there a way to keep the files selected? Putting @NODESELECT as the first line in the script button (above the script) did not work.

Somewhere near the top of the script:

Set cmd = clickData.func.command cmd.deselect = false ' Prevent automatic deselection

Muchas gracias! FWIW, I searched for this on Google and in this forum and in Dopus 12 Help and didn't find it. Tricky thing to find the right terms for perhaps.