Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PasteContinue

Status
Not open for further replies.

metflunky

Programmer
Jun 9, 2005
6
US
Is there any way to check when all all data has been pasted when using PasteContinue. I am using this to paste multiple screens of data but need to end the pasting when there is nothing left to paste. Is there a way to check if the PasteContinue "buffer" is empty
 
Copy = Paste
CopyAppend = PasteContinue
you can't have more of one than the other.
If you use CopyAppend 3 times
You use PasteContinue 3 times

If you press Alt+E
PasteContinue is Grey if it's empty
Black if data is still in the buffer
 
Reading my post back again I see that I failed to mention one key point, which is that I am executing the pasteContinue via a macro. I want to stop a loop in the macro when there is nothing left to paste. So where the menu item is greyed out when there is nothing left to paste, is there any way to check that condition programmatically.
 
We have a program file called ClipBook Viewer (clipboard)
Don't know if you have it or if it will help.

c:\WINDOWS\SYS32\clipbrd.exe
 
I found reference to using the windows clipboard in another post and tried to check for when the clipboard was empty but Extra does not "empty" the data from the clipboard as it pastes each section, the windows clipboard contents remain the full text that was copied. I could see that both by viewing the clipboard contents using the clipbrd.exe program and by displaying the contents of the clipboard in my code using this code
Code:
         ClipboardText = (Trim(Clipboard.Gettext))
        msgbox ClipboardText
Is there any way to reference the internal clipboard that Extra is using to determine what is left to paste and more to the point when there is nothing left to paste.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top