Wie weit bist Du denn schon gekommen?
Edit:
Hier der Script Code um ein Dokument zu löschen:
ret = notesDocument.RemovePermanently( True )
oder
call notesDocument.RemovePermanently( True )
Usage
This method does a hard deletion even if "Allow soft deletions" is enabled. See Remove to do a soft deletion.
Return value
True indicates that the document was successfully deleted.
False indicates that the document was not deleted, because another user modified it and the force parameter is set to False.
Andreas