How to get the timestamp (and location stamp) with a keypress?

5,287

Autohotkey is a great tool for Windows that is great for tying text insertion to universal hotkeys. It's scripting language has built in functionality for filling in date and time. They have a page with details and examples of how to specify custom date/time formatting. There are also many tutorials and examples that can help you get started as well as lots of ready-made user scripts available around the web.

Share:
5,287

Related videos on Youtube

user1744649
Author by

user1744649

Updated on September 18, 2022

Comments

  • user1744649
    user1744649 over 1 year

    I need this info in many places:

    Date     Time Lat   Long
    20130223 0800 44.44 32.33
    

    Most of the time, I key in the date and time manually or using a program shortcut key like F5 in Notepad.

    But, I need this at many places, and I don't want to always type / use the program's built-in copy-paste function. I need to just press a key on the keyboard – or two keys, say F8 or AltF8 and I need the data.

    Is there any direct way to do that? Or any combination of tools?

    • Kruug
      Kruug about 11 years
      Is there a particular program you're trying to accomplish this in?
    • user1744649
      user1744649 about 11 years
      No. I want to use it when naming files, or within text files, or within excel.
    • user1744649
      user1744649 about 11 years
  • jonsca
    jonsca over 10 years
    Can you expand on why it might be helpful in your answer?