Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jandubois/win32-clipboard
https://github.com/jandubois/win32-clipboard
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jandubois/win32-clipboard
- Owner: jandubois
- Created: 2012-05-23T00:45:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-10-20T13:36:02.000Z (about 6 years ago)
- Last Synced: 2023-03-24T03:58:14.604Z (almost 2 years ago)
- Language: Perl
- Size: 148 KB
- Stars: 2
- Watchers: 3
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README
- Changelog: ChangeLog
Awesome Lists containing this project
README
#######################################################################
#
# Win32::Clipboard - Interaction with the Windows clipboard
#
# Author: Aldo Calpini
# Modified by: Hideyo Imazu
# Version: 0.58
# Info:
# http://dada.perl.it
# http://www.perl.com/CPAN/authors/Aldo_Calpini
#
#######################################################################DESCRIPTION
This module lets you interact with the Windows clipboard: you can get
its content, set it, empty it, or let your script sleep until it
changes. This version supports 3 formats for getting clipboard data:- simple text
- bitmaps
- list of files...and only simple text for putting data to the clipboard.
SYNOPSIS
use Win32::Clipboard;
$CLIP = Win32::Clipboard();
print "Clipboard contains: ", $CLIP->Get(), "\n";
$CLIP->Set("some text to copy into the clipboard");
$CLIP->Empty();
$CLIP->WaitForChange();
print "Clipboard has changed!\n";