[Date Index] [Thread Index] [Author Index]
Re: Accessing the contents of the clipboard
On Feb 2, 11:31=A0pm, "Szabolcs Horv=E1t" <szhor... at gmail.com> wrote: It does work... of course you need to have copied something first. Perhaps that's the reason. Also, note that this approach only works in very selected cases. The correct approach is to simply use NotebookGet[ClipboardNotebook] and then, based on your knowledge of what has been copied into that notebook, manipulate the cells that are in the first part of the result. But it does indeed requires some notebook programming finesse. I hope that this helps... -David A WorkLife FrameWork E x t e n d i n g MATHEMATICA's Reach... http://scientificarts.com/worklife/ > On Feb 2, 2008 8:36 PM, Yuri Kandrashkin <spinalge... at gmail.com> wrote: > > > Hi, > > > I typically use the solution based on ClipboardNotebook: > > Thank you for the reply! > > > SelectionMove[ClipboardNotebook, All, Notebook] > > SelectionMove[ClipboardNotebook, All, CellContents] > > ToExpression[NotebookRead@ClipboardNotebook, StandardForm, Hold] > > Unfortunately this does not seem to work in Mathematica 6.