Finally A New Post! - July 02, 2010
New Resource – CSS Border Radius - June 12, 2010
New Resource – Executioner - May 07, 2010
New Resource – Font2CSS - December 11, 2009
New Resource – 7-Zip - October 29, 2009
New Resource – IETester - October 20, 2009
Torology Blog Is Open! - October 16, 2009
By Blake Hancock, July 2nd, 2010
I have been neglecting this blaawwwwwwg pretty badly so I decided to make a new post. I'm not sure what to cover so I'll just display some text and images of a quest to make my life easier.
I, like many, prefer my hex codes to be upper case. Photoshop's colour picker however, seems to prefer lower case. This is problematic as when I copy said hex colour code to a CSS document, I then have to covert it to upper case or suffer every time I look at it.
How could I solve this very serious problem I thought to myself. After doing a bit of research, I found there exists a Windows API to monitor the clipboard. I then created a clipboard command trigger plugin for my open source Executioner program that executes a command when the text copied to the clipboard matches a regular expression.
The command that gets executed is just a simple Lua script that grabs the clipboard contents, makes it upper case, and then sets the clipboard to the new value.
Problem solved!