Clip.CopyThenToFile
Description
- Send Ctrl-C to copy the selected text, then copies the clipboard contents to a file.
Syntax
- Clip.CopyThenToFile(filepath)
Parameters
- filepath
- (string) path to the target file
- Must be a full filepath including file name & extension.
Examples
- Clip.CopyThenToFile("c:/web/out.txt")
- Copies the selected text to the clipboard, then to the file "out.txt".
Notes
- PowerPro will only copy plain text across to the file, removing any rich text or other formatting from the selection.