- Examples: NotesUIDocument class
This script uses a NotesUIWorkspace to get the current document. It then uses the FieldGetText method to print the Subject field of the current document.
- OnBlur (NotesUIDocument - LotusScript)
Occurs when the subwindow displaying the document receives a loss-of-focus notification.
- OnFocus (NotesUIDocument - LotusScript)
Occurs when the subwindow displaying the document receives a focus notification.
- OnHelp (NotesUIDocument - LotusScript)
Occurs after the user chooses Help or presses F1.
- OnLoad (NotesUIDocument - LotusScript)
Occurs after the current document is opened, but before the user has input focus.
- OnSize (NotesUIDocument - LotusScript)
Occurs when document window is resized.
- OnSubmit (NotesUIDocument - LotusScript)
Occurs just before the current document is saved.
- OnUnload (NotesUIDocument - LotusScript)
Occurs just before the current document is closed.
- PostModeChange (NotesUIDocument - LotusScript)
Occurs after the document has changed modes (from Read to Edit mode, or from Edit to Read mode) but before the user has been given input focus.
- PostOpen (NotesUIDocument - LotusScript)
Occurs after the current document is opened, but before the user has input focus.
- PostRecalc (NotesUIDocument - LotusScript)
Occurs just after the current document is recalculated (after all the formulas on the document form have executed).
- PostSave (NotesUIDocument - LotusScript)
Occurs just after the current document is saved.
- PostSend (NotesUIDocument - LotusScript)
Occurs just after the current document is sent (mailed).
- QueryClose (NotesUIDocument - LotusScript)
Occurs just before the current document is closed.
- QueryModeChange (NotesUIDocument - LotusScript)
Occurs just before the current document changes modes (from Read to Edit mode, or from Edit to Read mode).
- QueryOpen (NotesUIDocument - LotusScript)
Occurs just before the current document is opened.
- QueryRecalc (NotesUIDocument - LotusScript)
Occurs just before the current document is recalculated (before all the formulas on the document execute).
- QuerySave (NotesUIDocument - LotusScript)
Occurs just before the current document is saved.
- QuerySend (NotesUIDocument - LotusScript)
Occurs just before the current document is sent (mailed).
- AutoReload (NotesUIDocument - LotusScript)
Read-write. Indicates whether or not the current document should be refreshed whenever the corresponding back-end document changes. Refreshing the current document updates its representation in memory, and visually on the workspace, to reflect the changes that have been made to the back-end document.
- CurrentField (NotesUIDocument - LotusScript)
Read-only. The name of the field where the cursor is.
- DialogBoxCanceled (NotesUIDocument - LotusScript)
Read-only. Indicates whether a user cancels a dialog.
- Document (NotesUIDocument - LotusScript)
Read-only. The back-end document that corresponds to the currently open document.
- EditMode (NotesUIDocument - LotusScript)
Read-write. Indicates whether a document is in Edit mode.
- FieldHelp (NotesUIDocument - LotusScript)
Read-write. Indicates whether field Help for a document is displayed.
- HiddenChars (NotesUIDocument - LotusScript)
Read-write. Indicates whether the hidden characters in a document (such as tabs and carriage returns) are displayed.
- HorzScrollBar (NotesUIDocument - LotusScript)
Read-write. Indicates whether the horizontal scroll bar on a document is displayed.
- InPreviewPane (NotesUIDocument - LotusScript)
Read-only. Indicates whether the document is being accessed from the preview pane.
- IsNewDoc (NotesUIDocument - LotusScript)
Read-only. Indicates whether a document is new. A new document is one that hasn't been saved.
- ModifiedSinceSaved (NotesUIDocument - LotusScript)
Read-only. Indicates whether a document contains unsaved changes.
- PreviewDocLink (NotesUIDocument - LotusScript)
Read-write. Indicates whether the preview pane for a link is displayed.
- PreviewParentDoc (NotesUIDocument - LotusScript)
Read-write. Indicates whether the parent document preview pane is displayed.
- Ruler (NotesUIDocument - LotusScript)
Read-write. Indicates whether the ruler is displayed.
- WindowTitle (NotesUIDocument - LotusScript)
Read-only. The window title of a document.
- Categorize (NotesUIDocument - LotusScript)
Given the name of a category, places a document in the category.
- Clear (NotesUIDocument - LotusScript)
Deletes the current selection from a document. The current selection can be anything in an editable field, such as text or graphics.
- Close (NotesUIDocument - LotusScript)
Closes a document.
- CollapseAllSections (NotesUIDocument - LotusScript)
Collapses all the sections in a document.
- Copy (NotesUIDocument - LotusScript)
Copies the current selection in a document to the Clipboard. The current selection can be anything on the document, such as text or graphics.
- CreateObject (NotesUIDocument - LotusScript)
In a document in Edit mode, creates an OLE object in the current rich-text field.
- Cut (NotesUIDocument - LotusScript)
Cuts the current selection from a document and places it on the Clipboard. The current selection can be anything in an editable field, such as text or graphics.
- DeleteDocument (NotesUIDocument - LotusScript)
Marks the current document for deletion and closes it. The NotesUIDocument object is no longer available once you call this method.
- DeselectAll (NotesUIDocument - LotusScript)
Deselects any selections in a document.
- ExpandAllSections (NotesUIDocument - LotusScript)
Expands all the sections in a document.
- FieldAppendText (NotesUIDocument - LotusScript)
Appends a text value into a field in a document without removing the existing contents of the field.
- FieldClear (NotesUIDocument - LotusScript)
Clears the contents of a field in a document.
- FieldContains (NotesUIDocument - LotusScript)
In an open document, checks if a field contains a specific text value.
- FieldGetText (NotesUIDocument - LotusScript)
In a document in read or Edit mode, returns the contents of a field you specify, as a string. If the field is of type numbers or date-time, its contents are converted to a string.
- FieldSetText (NotesUIDocument - LotusScript)
Sets the value of a field in a document. The existing contents of the field, if any, are written over.
- FindFreeTimeDialog (NotesUIDocument - LotusScript)
Brings up a "Free Time" dialog box based on the current document.
- FindFreeTimeDialogEx (NotesUIDocument - LotusScript)
Brings up a "Free Time" dialog box based on the current document.
- FindString (NotesUIDocument - LotusScript)
Finds the text in any field in a given document.
- Forward (NotesUIDocument - LotusScript)
Creates a new mail memo with the contents of a document. The user can enter recipients and mail the forwarded document like any other mail memo.
- GetObject (NotesUIDocument - LotusScript)
Given a name, returns a handle to the OLE object of that name.
- GetSchedulerObject (NotesUIDocument - LotusScript)
Returns an embedded scheduler.
- GetSelectedText (NotesUIDocument - LotusScript)
Gets the text that is highlighted in the UI.
- GotoBottom (NotesUIDocument - LotusScript)
Places the cursor in the last editable field or the last button in a document.
- GotoField (NotesUIDocument - LotusScript)
Given a field name, puts the cursor in the specified field in a document.
- GotoNextField (NotesUIDocument - LotusScript)
Places the cursor in the next field in a document. The next field is the one below and following the current field.
- GotoPrevField (NotesUIDocument - LotusScript)
Places the cursor in the previous field in a document.
- GotoTop (NotesUIDocument - LotusScript)
Places the cursor in the first editable field or the first button in a document.
- Import (NotesUIDocument - LotusScript)
Imports a file.
- InsertText (NotesUIDocument - LotusScript)
Inserts a text value at the current cursor position on a document.
- NavBarSetText (NotesUIDocument - LotusScript)
Sets the text for the address bar of the Notes® client if the browser setting is "Notes® with Internet Explorer."
- NavBarSpinnerStart (NotesUIDocument - LotusScript)
Starts the URL navigation bar spinner for an Internet Explorer browser.
- NavBarSpinnerStop (NotesUIDocument - LotusScript)
Stops the navigation bar spinner for an Internet Explorer browser.
- Paste (NotesUIDocument - LotusScript)
Pastes the contents of the Clipboard at the current cursor position on a document.
- Print (NotesUIDocument - LotusScript)
Prints the current document:
- Refresh (NotesUIDocument - LotusScript)
Refreshes a document. When you refresh a document, its computed fields are recalculated.
- RefreshHideFormulas (NotesUIDocument - LotusScript)
Recalculates the hide-when formulas on the current document form.
- Reload (NotesUIDocument - LotusScript)
Refreshes the current document with any changes made to the back-end document associated with the current editing session.
- Save (NotesUIDocument - LotusScript)
Saves a document.
- SaveNewVersion (NotesUIDocument - LotusScript)
Saves a copy of a document as a new version.
- SelectAll (NotesUIDocument - LotusScript)
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.
- Send (NotesUIDocument - LotusScript)
Mails a document.
- SpellCheck (NotesUIDocument - LotusScript)
Checks the spelling of a UI document.