Created
February 1, 2010 16:04
-
-
Save mazuhl/291777 to your computer and use it in GitHub Desktop.
Lorem ipsum generator for quick launcher
This file contains 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
require 'rubygems' | |
require 'faker' | |
require 'Win32API' | |
require 'win32/clipboard' | |
include Win32 | |
=begin | |
= Lorem ipsum clipboard text for Windows | |
If you're using Windows and a quick launcher (like Launchy) you can use this script | |
to generate a paragraph of 'Lorem ipsum...' text and automatically copy it to your | |
clipboard. | |
=end | |
Clipboard.set_data( Faker::Lorem.paragraph(5) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment