Are you tired of manually entering a date formula into each of your Microsoft Excel worksheets or having to press three keystrokes to have a date stamp in Microsoft Word that will change when you reopen your file later? If you use the date stamp often, in any program, you will save a lot of time with this script.
When you stop working to look for the date and time on your cell phone, your watch or at the corner of your computer screen and transcribe it in your current file, it distracts you from your ideas and disrupts your workflow. If you have to remember a different macro for every program to get the date stamp, it is not the best way to be effective.
This is a simple script that works with every programs and you will be happy you have it even if you only use it once in a while. There are a lot of ways that you can adapt it. You will find out more informations in the sections below on how you can personalize the script.
Note: AutoHotkey has no limits when it comes to automation in Windows, but for many users who may only need simple keyboard shortcuts, installing and learning AutoHotkey, and keeping up to date, can be overkill. ShortKeeper can be used (with and without an Enterpad) to manage an AutoHotkey-based system in a way most non-programmers will find remarkably user-friendly and and effective [learn more].
Prepare your overlay.
Copy/paste the following script in your AutoHotkey script template (Enterpad.ahk) at the chosen key location.
001: SendInput %A_YYYY% %A_MMM% %A_DD% Return
The AutoHotkey documentation provides different ways to personalize the date stamp script. You will find out more details by clicking the following link :
You may want to use the following command to have a time stamp that can complement the date stamp script :
002: SendInput %A_Hour%:%A_Min%:%A_Sec% Return
Also, usually the SendInput command will send text only and you would read A_Hour:A_Min:A_Sec when you press your key. But because there are percent signs, it refers to a variable. In this case, the variables are the hour, minutes and seconds.