Bookending Highlighted Text Keyboard Shortcut
October 4, 2007 12:37 PM
Subscribe
I need to highlight a word, hit a combination of keys which will add text I specify before and after the highlighted word. I'm running Windows XP.
I'm trying to fix a bunch of php pages so they're register_globals OFF compliant. Essentially that means turning:
$something into $_GET['something']
Is there any software out there for Windows XP that will create a keyboard shortcut that allows me to highlight something and add the _GET[' to the beginning and '] to the end of the highlighted text?
Bonus points if I can setup multiple shortcuts so I can have one shortcut for _GET one for _POST, etc.
something will not always be the same, so a simple Search/Replace won't do the trick. I use Macromedia Homesite, so if it's got the capability of doing this already (seems like it'd be pretty similar to how it adds bold tags, etc.), that works too.
posted by backwards guitar to computers & internet (13 comments total)
1 user marked this as a favorite
posted by Tomorrowful at 12:44 PM on October 4, 2007