Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #1393

Easy way to read clipboard?

From mmausr <opngid@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Easy way to read clipboard?
Date 2011-04-01 07:34 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <in3v6n$i0i$1@smc.vnet.net> (permalink)

Show all headers | View raw


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?


Back to comp.soft-sys.math.mathematica | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Easy way to read clipboard? mmausr <opngid@gmail.com> - 2011-04-01 07:34 +0000
  Re: Easy way to read clipboard? David Bailey <dave@removedbailey.co.uk> - 2011-04-02 07:53 +0000
  Re: Easy way to read clipboard? Jon McLoone <jonm@wolfram.co.uk> - 2011-04-02 07:54 +0000
  Re: Easy way to read clipboard? David Reiss <dbreiss@gmail.com> - 2011-04-02 07:54 +0000

csiph-web