MathGroup Archive 2008

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

Search the Archive

Re: Accessing the contents of the clipboard

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85228] Re: Accessing the contents of the clipboard
  • From: ragfield <ragfield at gmail.com>
  • Date: Sat, 2 Feb 2008 23:31:53 -0500 (EST)
  • References: <fo19q6$fvp$1@smc.vnet.net>

On Feb 2, 2:32 am, Szabolcs <szhor... at gmail.com> wrote:
> Is there a *reliable* way to get the text that was copied to the
> clipboard?

Using JLink should work fine.  If you're on a Mac the simplest thing
to do would be:

Import["!pbpaste", "String"]

-Rob


  • Prev by Date: Re: Accessing the contents of the clipboard
  • Next by Date: Reset restore Mathematica factory defaults settings
  • Previous by thread: Re: Accessing the contents of the clipboard
  • Next by thread: Re: Accessing the contents of the clipboard