System clipboard "paste" in a macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

System clipboard "paste" in a macro

Lionel Flandin-2
Hi everyone,
        I could not find a way to paste in a macro an image from the clipboard.
        Do you know of a solution ?
        Thx, Best regards,
Lionel
Reply | Threaded
Open this post in threaded view
|

Re: System clipboard "paste" in a macro

Wayne Rasband
> Hi everyone,
> I could not find a way to paste in a macro an image from the  
> clipboard.
> Do you know of a solution ?
> Thx, Best regards,

Upgrade to ImageJ 1.37b or later, which adds the File>New>System  
Clipboard command, then use

     run("System Clipboard");

in your macro.

-wayne