PasteFromClipboard Method

Paste KeyMacros from the clipboard into the key macro collection

Syntax

object.PasteFromClipboard (Overwrite)

Properties

The PasteFromClipboard method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

Overwrite

Boolean (optional). Indicates whether the to add the key macro objects from the clipboard, or to remove all the existing key macro objects before adding the new key macro objects.
False
will simply add the new key macro objects to the collection, while True will first clear the collection before adding the new key macro objects.
Note:
While appending any key combinations found in the existing collection will be overwritten by the key macro object from the clipboard. A prompt appears to state that duplicates were found and asks whether you want to abort or continue.

 

Applies To