Connect with users of Wolfram technologies to learn, solve problems and share ideas
Mark as an Answer
2 Total Likes
Follow this post
Share this post:
seeing the content of the clipboard before pasting
Luc Barthelet, Makena
11 years ago
I often copy from the output. For example
and then copy one of the result in the list.
I find it impossible to predict (counting the clicks and predicting word separations) if the selection includes the quotes or not.
It matters, because when I "Paste' I need to know if I need to first insert the quotes or not.
I suppose I can add a toolbar to my default notebook that displays the text content of the clipboard. If I find a way to access it.
So my question is: " Is there a way to see dynamically the current value of the clipboard?" I tried:
Vitaliy Kaurov, WOLFRAM Research
11 years ago
A very close question was discussed on MathGroup in the following thread:
Easy way to read clipboard?
You need to click a few times "
Next by thread
" link under the post to see the replies. There was no dynamic automatic updating though. Based on those answers I suggest the following:
Dynamic[Refresh[NotebookGet[ClipboardNotebook][[1, 1, 1, 1]], UpdateInterval -> 0]]
But beware of complications. If you copy simple things - like strings, numbers, variables, etc. - this will work just fine. Nevertheless a clipboard can contain much more complicated expressions, - multiple cells for example. Then the resulting structure needs to be more carefully addressed than the trivial Part extraction [[1, 1, 1, 1]].
Reply to this discussion
in reply to
Community posts can be styled and formatted using the
Tag limit exceeded
Note: Only the first five people you tag will receive an email notification; the other tagged names will appear as links to their profiles.
Add a file to this post
Follow this discussion
Be respectful. Review our
to understand your role and responsibilities.
Wolfram|Alpha Notebook Edition
Volume & Site Licensing
Enterprise Private Cloud
Service Plans Benefits
Wolfram Language Documentation
Wolfram Language Introductory Book
Get Started with Wolfram
Fast Introduction for Programmers
Fast Introduction for Math Students
Webinars & Training
Connected Devices Project
Wolfram Data Drop
Wolfram + Raspberry Pi
. All rights reserved.
Learn how »