Saves Scratch Pad contents to the specified file.
Parameters
- filePath
- The full path of the file to save the Scratch Pad contents to.
Return Value
Returns one of the following ReturnCode values:
Member |
Description |
Cancelled |
Cancelled. |
Error |
Error. |
PermissionRequired |
Permission is required. |
Success |
Success. |
Timeout |
Timeout condition. |
Truncated |
The text is truncated. |
This example saves the contents of the Scratch Pad to a file.
Sub SaveTheScratchPad()
Dim path As String
path = Environ("USERPROFILE") & "\Documents\Micro Focus\Reflection\" & "ScratchpadTest.rtf"
ThisIbmTerminal.Productivity.ScratchPadSaveAs (path)
End Sub