(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:
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:
::rand::
Random, rand
Send %rand%
return
2 Comments:
ive been looking how to do this, thanks!
2015542990
By mosaic__, at 4/18/2009 2:19 p.m.
Glad it helped, Greg!
By Jonathan, at 4/18/2009 5:10 p.m.
Post a Comment
<< Home