Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

The tag has no usage guidance.

3
votes
1answer
90 views

How to properly copy an image from Mathematica?

I want to copy an image in mathematica to use in another program. E.g: im = ExampleData[{"TestImage", "House"}] When I evaluate ...
6
votes
1answer
80 views

Copy and Paste: what is copied to the clipboard?

Copy and Paste is so familiar and works so well that I never wondered what is really happening. My simple idea is that when I ...
5
votes
1answer
109 views

How can I copy a figure to the clipboard in SVG?

I frequently include plots in my emails. The easiest and most reliable way I have found is to just capture a part of the screen using greenshot (Windows) and paste into the message. Microsoft ...
4
votes
0answers
46 views

Hidden Notebook inherits NotebookDynamicExpression?

Bug introduced in 8 or earlier and persisting through 11.3 The following behavior is stably reproduced with versions 8.0.4, 10.4.1, 11.0.1 and 11.1.1 on Windows 7 x64. Set the ...
2
votes
1answer
80 views

How to get the image in the clipboard with a J/Link method?

The Paste will not give a return,just print the content of clipboard.It is hard to asign the result to a variable.I make a .NET method here to get the image in ...
3
votes
0answers
122 views

How to send string to clipboard by wolframscript

Bug introduced in 11.0 and fixed in 11.1. This is my "t.txt" file ...
3
votes
1answer
78 views

How to create .NET “System.Windows.Clipboard”?

I have followed the instructions for creating a blank .Net form and it works. ...
11
votes
0answers
121 views

Code request: Make “copy formatted code” bulletproof

With the GeneralUtilities`PrintDefinitions functions comes a usable code formatting engine. On this site, most of the time we share code. I believe it would be ...
7
votes
2answers
284 views

How to make a get image by a NETObject

This more then a .net question but I'm in Mathematica using.Suppose I want to get a image from my clipboard,so I make a function ...
1
vote
0answers
73 views

Weird Copy Paste Behavior

Since 11 I've been seeing this weird copying and pasting behavior for cell groups. Here's an example where I copied and pasted a cell group below: Is there any way to change this back to the usual ...
1
vote
2answers
126 views

Printing an array such that the values can be copied and pasted to a Excel Row

Given an array I would like to print it in Mathematica such that the values can be simply copied and pasted into an Excel's row. What is the best approach for this? ...
10
votes
2answers
312 views

How to copy formatted numbers as MathML without quotation marks?

I have the following code: a = 6.08717*10^6; b = a/3; c = a*1.5; d = a^2; matrix={{a, b, c, d},{b, c, d, a},{c, d, a, b},{d, a, b, c}}; matrix // EngineeringForm ...
11
votes
1answer
114 views

CopyToClipboard freezes FrontEnd

Bug introduced in 8.0 and persisting through 11.1.0 or later CopyToClipboard is new in 8.0. This is freezing the FrontEnd: ...
5
votes
1answer
86 views

Setting output width for CopyToClipboard

Suppose I have a long string and I copy it to the clipboard: ...
6
votes
3answers
166 views

Unmodified Clipboard content

How do I get unmodified text content from the clipboard? If you copy the following into the clipboard and use ClipboardNotebook[] ...
3
votes
0answers
123 views

No Way to paste a Picture from Clipboard under Linux?

As far as I remember, on a Windows PC in the old days of Mathematica 4 I could paste an image from the clipboard by just pressing Ctl-V. This seems to be no longer available on my Linux PC. If I try ...
8
votes
1answer
249 views

How can I get Mathematica to support the clipboard?

For several decades, the clipboard feature supported by all mainstream operating systems has functioned as a method of exchange between applications (not just within them), by serving as a kind of ...
1
vote
0answers
136 views

In a tool for a programmatic drawing let us capture a locator position into a clipboard [closed]

This code allows one to fast draw a technical sketch. I simplified it to extreme. It contains a disk (instead of your real sketch) and a line pointing to a place in the sketch, which you want to ...
12
votes
1answer
177 views

How to Copy formatted code without backslashes added?

By default code copied from the FrontEnd is formatted with backslashes added at the ends of lines. For example, evaluating in a Notebook Range[40] and copying ...
10
votes
1answer
824 views

Understanding `Paste` and how to get a string from the Clipboard to use with `ImportString`

Trying to work on this question I got distracted by my first naive attempt of copying the data and then typing dat = ImportString[Paste[], "Table"] ...
3
votes
1answer
130 views

Assign clipboard object in mathematica when print screen is pressed (windows)

Mathematica runs behind, while another window is selected. When I press print screen, I want mathematica too detect this and call a function with the picture as argument. ...
1
vote
1answer
284 views

How to copy an image given as a GraphicsBox expression to the clipboard?

I have a GraphicsBox expression encoding an image. I need to copy this image to the clipboard so that it can be inserted in a Microsoft Word document. When I invoke ...
6
votes
1answer
600 views

How to convert an image to a compressed string representation equivalent to one copied to clipboard by `CopyToClipboard[image]`?

In my recent question I asked How to embed an image into a string? The suggested solution was ...
23
votes
3answers
2k views

Clipboard with transparency

After reading this question I have determined that Rasterize[Graphics[Circle[]], "Image", Background -> None] allows you to do ...
5
votes
2answers
426 views

Pasting external PDF vector graphics without losing ability to export them

Update: Problem persists in version 10.2 on Mac OS X 10.9.5 As in previous versions, Mathematica 9 on Mac OS X (10.7.5 here) still has a problem with pasted PDF ...
12
votes
3answers
1k views

Exporting data from Excel into Mathematica using clipboard

I know that it's possible to import Excel data into Mathematica using the Import command, as we can see in this post. But sometimes I need just to do some fast ...
30
votes
6answers
8k views

Cut and paste data from a spreadsheet

I have a set of data points in two columns in a spreadsheet (OpenOffice Calc): I would like to get these into Mathematica in this format: ...
14
votes
1answer
2k views

Copying an image from the clipboard, modifying it and returning it to the clipboard

I have a Mathematica script to help me copy images from PDFs and then make the (presumably white or nearly white) background transparent. Typically, I am looking at the PDF in Adobe Acrobat and I ...
58
votes
9answers
3k views

How to “Copy as Unicode” from a Notebook?

I spent some time manually editing a post replacing Mathematica ASCII \[Alpha] with Unicode α. I did this by laboriously ...