If you use ``ui.clipboards``, you can do this:

    IN: scratchpad USE: ui.clipboards

    IN: scratchpad "Factor is awesome" clipboard get set-clipboard-content

Now, just paste!

(One could argue the api could be a little cleaner and hide the use of
namespaces when using the standard system clipboard, so if you have
suggestions after using it, let us know).



On Wed, Aug 27, 2014 at 11:02 PM, mr wzrd <wzr...@gmail.com> wrote:

> Is there a word for printing to the clipboard instead of to the listener
> output?
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to