LOTUSSCRIPT/COM/OLE CLASSES

Examples: Cut method
This button script removes the contents of the Description field, and places them on the Clipboard.

Sub Click(Source As Button)
 Dim workspace As New NotesUIWorkspace
 Dim uidoc As NotesUIDocument
 Set uidoc = workspace.CurrentDocument
 Call uidoc.GoToField( "Description" )
 Call uidoc.SelectAll
 Call uidoc.Cut
End Sub

See Also