MathGroup Archive 2008

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

Search the Archive

Re: Accessing the contents of the clipboard


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