Login  Register

Re: Copy and Paste in a plugin

Posted by Gabriel Landini on Mar 09, 2009; 3:20pm
URL: http://imagej.273.s1.nabble.com/Copy-and-Paste-in-a-plugin-tp3693413p3693415.html

On Monday 09 March 2009 14:56:08 Michael Schmid wrote:
> you could use imp.copy(false) and imp2.paste. It does the same
> without "IJ.run", also using the clipboard.

Thank you Michael, yes that is what I was looking for.

> > And similarly is there a way to execute a "Duplicate..." command so
> > it is guaranteed that a particular image is being duplicated ?

For this 2nd question, I found the Duplicater class so I will use just that.

Many thanks again!

Gabriel