in reply to Using X selection: copy and paste
#!/usr/bin/perl use warnings; use strict; use Tk; use Tk::Clipboard; my $mw = tkinit; $mw->withdraw; #use Tk without showing a window my $content = 'foobar'.time; print "$content\n"; $mw->clipboardClear; $mw->clipboardAppend($content); MainLoop;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using X selection: copy and paste
by zink (Initiate) on Sep 19, 2008 at 03:32 UTC | |
by zentara (Cardinal) on Sep 19, 2008 at 12:26 UTC | |
by zink (Initiate) on Sep 20, 2008 at 01:33 UTC |