Last active
March 27, 2016 02:39
-
-
Save akirad/04d78f2183a3ca2cdc90 to your computer and use it in GitHub Desktop.
This script just adds "> " to the text message from clipboard and set the result to clipboard.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use Win32::Clipboard; | |
my $clip = Win32::Clipboard(); | |
my $text = $clip->GetText(); | |
$text =~ s/^/> /mg; | |
$clip->Empty(); | |
$clip->Set($text); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment