Forum Discussion
Date & Time Stamp Microsoft To Do Notes on Task
- Sep 08, 2020
- Install AutoHotKey.
- Load MyScript.ahk that is included with it (by double clicking). Unless it's already loaded (you should have a green icon with an "H" in your notification tray)
- Copy the script from my reply
- Right-click on the green "H" icon in your tray and select "Edit this script". It will open MyScript.ahk in Notepad.
- Paste the script to the bottom of the file and save.
- Right-click on the green "H" icon again and select "Reload this script".
- Try typing "qqdt" followed by space in Notepad (or any other app) & see if it works.
- Add a shortcut to "MyScript.ahk" to StartUp.
lathomason I use the following script:
;CMD Short Date and Time
::qqdt::
FormatTime, Shorttime, YYYYMMDDHH24MISS, yyy.MM.dd HH:mm
Send, %Shorttime%
return
when I type qqdt, I get 2020.08.31 12:14
You can edit the date and time format to suit your preferences. I like it in a way that is easy to sort alphabetically when naming files.
- Gem11Sep 08, 2020Copper Contributor
GG2020- Hi that's great - any way you can explain that in non IT terms. I have never added a script before - please could you help?
- GG2020-Sep 08, 2020Brass Contributor
- Install AutoHotKey.
- Load MyScript.ahk that is included with it (by double clicking). Unless it's already loaded (you should have a green icon with an "H" in your notification tray)
- Copy the script from my reply
- Right-click on the green "H" icon in your tray and select "Edit this script". It will open MyScript.ahk in Notepad.
- Paste the script to the bottom of the file and save.
- Right-click on the green "H" icon again and select "Reload this script".
- Try typing "qqdt" followed by space in Notepad (or any other app) & see if it works.
- Add a shortcut to "MyScript.ahk" to StartUp.
- Gem11Nov 04, 2020Copper Contributor
GG2020- Hi - I finally got round to doing this and it works! Thank you so much!!
Just wondered if I could ask for one more nugget of your scriptwriting abilities - if I wanted to add my Initials to the end of the date to the script, what would I need to add to your current script to enable that? Thank you in advance