Clipboard Commands

 

These clipboard commands save the clipboard contents to either a text file or a graphics file. Other options include appending text to an existing file or having the clipboard contents typed out into another application.

 

 

 

Script Editor > Expand Clipboard Category > Select One of the Options in this Topic

 

 

Type Clipboard Text

This option types the clipboard text letter by letter into another application instead of pasting the entire contents. Although this method inserts the text slower, (especially large blocks of text), there are applications which do not accept standard Windows clipboard paste commands.

 

Ignore CR/LF

The Ignore CR/LF function instructs the macro to type the clipboard text without any carriage returns or line feeds that may have been copied to the clipboard.

Select this option to ignore carriage returns and line feeds.

Leave the box unchecked to include the carriage returns and line feeds in the text playback.

 

 

Clipboard Save Text

Clipboard Save Text saves the text contents of the clipboard to a text file. Any images, etc. are ignored.

 

Prompt for the filename at runtime

Select this option to be prompted at macro runtime to enter the file name to store the clipboard contents.

 

To save to a specific file each time the macro is run, enter the file name and full path, click on the Browse button to select the desired text file, or insert a variable that stores the file path and name information.

 

 

Clipboard Append Text

The Clipboard Append Text option appends (adds) the text contents of the clipboard to the end of an existing text file.

 

Prompt for the filename at runtime

Choose this option to be prompted, when running the macro, to enter the file name that will receive the text from the clipboard.

 

To save to a specific file each time the macro is run, enter the file name and full path, click on the Browse button to select the desired text file, or insert a variable that stores the file path and name information.

 

 

Clipboard Save Graphic

The Clipboard Save Graphic option saves the graphic content of the clipboard to a .PNG, .JPG, Windows Bitmap, Windows Metafile or Enhanced Metafile file type.

 

Prompt for the filename at runtime

Choose this option to be prompted, when running the macro, to enter the file name to store the graphic image from the clipboard.

 

To save to a specific file each time the macro is run, enter the file name and full path, click on the Browse button to select the desired text file, or insert a variable that stores the file path and name information.