Jon Aquino's Mental Garden

Engineering beautiful software jon aquino labs | personal blog

Saturday, April 14, 2007

(Windows) Shortcut for inserting a random number

Sometimes it's useful to quickly insert a random number wherever you're typing. For example, you might want to enter a random number to make a unique error-message code, or to create random test names.

Here's an AutoHotKey script to insert a random number in any application: just type "rand" then [Tab]. After installing AutoHotKey, simply add the following to your AutoHotKey.ini file:

Random, rand
Send %rand%


Post a Comment

<< Home