SlickEdit Community

SlickEdit Product Discussion => SlickEditĀ® => Slick-CĀ® Macro Programming => Topic started by: SJA on December 23, 2013, 04:40:15 pm

Title: Clear the Clipboard
Post by: SJA on December 23, 2013, 04:40:15 pm
I wrote a data entry application using Slick-C and a form.  I want to put the tab-delimited data into the Windows Clipboard and paste it into an Excel spreadsheet.  I can append strings to the clipboard, but that leaves the previous clipboard content "on top."  I want to start with an empty clipboard.
Title: Re: Clear the Clipboard
Post by: Graeme on December 28, 2013, 10:31:31 am
Have you seen this macro
http://community.slickedit.com/index.php/topic,579.0.html (http://community.slickedit.com/index.php/topic,579.0.html)
Title: Re: Clear the Clipboard
Post by: SJA on January 07, 2014, 04:55:16 pm
Thank you, that had the code I needed (a call to "push_clipboard_itype.")  I had looked at that function before, but the terse documentation didn't explain what it did.