Create a smart icon and put that code in the formula: @Command([ToolsRefreshSelectedDocs])
Select the documents (in a view or a folder) and click on the smarticon. Although in my case the "key"-icon is still displayed, the actual document encryption has been removed from the documents and others can now read them.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
Background to that is that you have to apply the .encrypt-method to a document before saving, if it shall be encrypted. Default when saving is no encryption, and so the document will be decrypted when opened and re-saved.