MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Easy way to read clipboard?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117847] Easy way to read clipboard?
  • From: mmausr <opngid at gmail.com>
  • Date: Fri, 1 Apr 2011 02:36:06 -0500 (EST)

The Paste[] command will paste the current contents of the clipboard
into a cell.  In theory, one can then access the contents of a cell by
executing front-end commands in the kernel, but I'd prefer something
more direct.

Say that I want to set the variable Foo to the current contents of the
Clipboard, which holds the number 100.  I'd like to be able to execute
something like Foo = ReadClipboard[] and have Foo set to the integer
value 100.

Any suggestions?




  • Prev by Date: Re: NDSolve and Plot
  • Next by Date: Re: Plotting problem !
  • Previous by thread: low pass filter that avoids the first ramp
  • Next by thread: Re: Easy way to read clipboard?