Examples: Copy method

This button script copies the contents of the Description field to 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.Copy
End Sub