Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C++ VisualStudio2012
Hello, I start creating my own snippet's for some special purpose, and don't know how to get clipboard text in snippet, well i would like to make variable that take clipboard text like it's done in "Visual assist" with variable called $clipboard$.
Posted 27-Nov-12 23:25pm
Richard MacCutchan at 28-Nov-12 6:52am
You need to add some code in your program to read the data out of the clipboard and add it to the snippet at the appropriate place.
novadivlja at 29-Nov-12 3:53am
well if that case i don't need snippets to insert clipboard and text just can use autohotkey insert from there, but what searching for is way of defining snippet that automatically get clipboard from it sell not something that insert clipboard in it...
Richard MacCutchan at 29-Nov-12 5:07am
I'm sorry but I cannot understand what you are saying here. You need to try and explain what problem you are trying to solve. Is this some program you are writing or some third party program that you are trying to implement or modify?
novadivlja at 29-Nov-12 17:56pm
Thanks for replay maybe i didn't clear enough, i try to connect clipboard with code snippet with out any other work around. Simply i try to find way to read inside snippet clipboard value and put it in variable, that i can use it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 490
1 Sergey Alexandrovich Kryukov 335
2 ProgramFOX 265
3 Maciej Los 245
4 Andreas Gieriet 200
0 OriginalGriff 465
1 Sergey Alexandrovich Kryukov 275
2 ProgramFOX 265
3 Maciej Los 245
4 Andreas Gieriet 200

Advertise | Privacy | Mobile
Web01 | 2.8.150331.1 | Last Updated 28 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100