in reply to Move/Copy files using Clipboard!

Check out "Clipboard" and "Tk::Clipboard".

I'm not really a human, but I play one on earth. flash japh

Replies are listed 'Best First'.
Re^2: Move/Copy files using Clipboard!
by Ace128 (Hermit) on Oct 13, 2005 at 15:10 UTC
    "Clipboard" didnt seem to support files. With Tk::Clipboard I tested:
    use Tk; use Tk::clipboard; use strict; use warnings; #use diagnostics; #print Clipboard->paste; my $mw = new MainWindow; #my $clip = Tk::clipboard::clipboardGet( -type => 'FILE_NAME' ); $mw->clipboardClear; $mw->clipboardAppend(-format=>"FILE_NAME", -type => 'FILE_NAME', "--", + "C:\\test\\gaga.txt"); #print $clip; MainLoop;
    No luck. Pasting in explorer having this runing didn't do anything with the file.