The StoreSelection method saves the current selection in the selection memory. The user can later use the Restore Selection command to reload the selection.
This method does not return a value.
To be consistent with other Altap Salamander operations the script should cancel the selection with the DeselectAll method after it finishes the operation in the panel. Before deselecting the items the script should call this method to save the selection so the user is allowed to use another operation for the same files and directories.