Click here to Skip to main content
11,929,232 members (65,427 online)
Rate this:
Please Sign up or sign in to vote.
See more: C++ VS2012
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 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 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 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.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