Re: Windows Clipboard
- From: "jl_post@xxxxxxxxxxx" <jl_post@xxxxxxxxxxx>
- Date: 29 Apr 2005 14:33:13 -0700
Simon Guest wrote:
> I want to write to the windows clipboard from a PERL program.
> Can anyone tell me how, please
Dear Simon,
If you're using ActiveState Perl (you can find out by typing "perl
-v" at a DOS prompt), you can easily copy text to the Windows clipboard
with the command:
Win32::Clipboard()->Set("text for clipboard");
Of course, this will only work if you use the Win32::Clipboard module,
like this:
use Win32::Clipboard;
Read more about the Clipboard module by typing this at a DOS prompt:
perldoc Win32::Clipboard
I hope this helps, Simon.
-- Jean-Luc
.
- References:
- Windows Clipboard
- From: Simon Guest
- Windows Clipboard
- Prev by Date: Re: Windows Clipboard
- Next by Date: Re: Finally a better script!
- Previous by thread: Re: Windows Clipboard
- Next by thread: CGI Post not passing values properly
- Index(es):
Relevant Pages
|
|