Re: Funny behaviour of ClipboardNotebook[] (Q: How to copy programmatically?)
- To: mathgroup at smc.vnet.net
- Subject: [mg86859] Re: [mg86839] Funny behaviour of ClipboardNotebook[] (Q: How to copy programmatically?)
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Mon, 24 Mar 2008 01:43:07 -0500 (EST)
- References: <200803230601.BAA25755@smc.vnet.net>
Strange, but nothing of this kind happens on my system:
In[97]:= $Version
Out[97]= "6.0 for Mac OS X x86 (32-bit) (June 19, 2007)"
The quote marks are removed automatically and no dialog comes up in
all the cases you mention below.
Andrzej Kozlowski
On 23 Mar 2008, at 07:01, Szabolcs Horv=E1t wrote:
>
> When pasting quoted text from an e-mail, Mathematica will offer to
> remove the quoting marks. It says:
>
> "The text you are pasting appears to be from a quoted email. Do you
> want Mathematica to remove the quoting marks before pasting
> it?" (Yes|No)
>
> Here is a quoted expression to try this:
>
>> {9,
>> 0,
>> 7,
>> 8,
>> 7,
>> 2,
>> 5,
>> 0,
>> 7,
>> 1}
>
> The dialogue box also comes up when evaluating the following to access
> the clipboard programmatically:
>
> NotebookGet@ClipboardNotebook[]
>
> This is expected and understandable. But the dialogue box appears
> when
> using NotebookPut[] too if the clipboard contains a quoted expression!
>
> NotebookPut[Notebook[{"abc"}], ClipboardNotebook[]]
>
> Why does this happen? Is it a bug? Also, is this the correct way to
> *copy* a string to the clipboard programmatically? It does work,
> but I
> am not sure if Notebook[{"abc"}] (with no Cells) is a correct Notebook
> expression. (Where is the correct syntax documented?)
>
- References:
- Funny behaviour of ClipboardNotebook[] (Q: How to copy programmatically?)
- From: Szabolcs Horvát <szhorvat@gmail.com>
- Funny behaviour of ClipboardNotebook[] (Q: How to copy programmatically?)