In a document in Edit mode, selects the entire contents of the current field. In a document in Read mode, selects the entire contents of the document.
NotesUIDocument
Call notesUIDocument .SelectAll
EditSelectAll @command in formula language
Example