Secondary clipboard
Posted
by Alex Niblett
on August 7th, 1998
Example: I use Ctrl+C, Ctrl+V and Ctrl+X for the Windows clipboard, and map these macros in as Ctrl+Shift+C, Ctrl+Shift+V and Ctrl+Shift+X.
' Three simple macros to implement a secondary clipboard ' Global to act as clipboard Dim g_lpszSecondClipBoard g_lpszSecondClipBoard = "" Sub SecondaryClipBoardCut() 'DESCRIPTION: Performs a cut of current selection to a secondary clipboard. g_lpszSecondClipBoard = ActiveDocument.Selection.Text ActiveDocument.Selection.Text = "" End Sub Sub SecondaryClipBoardCopy() 'DESCRIPTION: Performs a copy of current selection to a secondary clipboard. g_lpszSecondClipBoard = ActiveDocument.Selection End Sub Sub SecondaryClipBoardPaste() 'DESCRIPTION: Performs a paste of secondary clipboard to the current selection. ActiveDocument.Selection = g_lpszSecondClipBoard End Sub

Comments
best one....
Posted by Legacy on 07/30/2002 12:00amOriginally posted by: Divya
ReplyFIFO clipboard
Posted by Legacy on 11/25/1999 12:00amOriginally posted by: Jivko Velev
ReplyCreative one
Posted by Legacy on 07/17/1999 12:00amOriginally posted by: Vinay.P.Vaidya
I like this idea. It will be nice if it can be extended hold a list of items.
ReplyReally Nice One !
Posted by Legacy on 02/22/1999 12:00amOriginally posted by: Bhargav Pendse
ReplyMacros are very Easy .
Idea is very creative.
thanx.
Thanks.
Posted by Legacy on 02/16/1999 12:00amOriginally posted by: Hans Wedemeyer
Moving from MultiEdit with 26 copy/paste buffers to VC with only one
was hard.... this help a lot.
thank you.
regards
ReplyHans Wedemeyer
LIFO stacked clipboard
Posted by Legacy on 12/06/1998 12:00amOriginally posted by: Goran Mitrovic
ReplyVery useful
Posted by Legacy on 11/25/1998 12:00amOriginally posted by: V.Sreenivasa Rao
This macro is very useful . Thanks a lot.
Reply