I added the Call ws.PlayTune("bath-flush1.wav") to the Database Script QueryDocumentdelete.
When I Click on the Delete button in the Inbox folder for the first time each time I open the database I get Object Variable Not Set. It does flag the document, then if i press the button it is unflagged ,after that it work like a charm.
The Delete button code is @Command EditClear
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!