Created
October 14, 2013 17:04
-
-
Save winhamwr/6978753 to your computer and use it in GitHub Desktop.
Autohotkey script for inserting the Excel compliant current date and time any time you type Dnow
http://www.autohotkey.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
format_str = '%Y-%m-%d %H:%M:%S' | |
now = datetime.datetime.now() | |
output = now.strftime(format_str) | |
keyboard.send_keys(output) | |
## Installation | |
## sudo apt-get install autokey-gtk | |
## | |
## Configuration | |
## Copy/paste this in to a new script | |
## Script settings: | |
## [ ] Always prompt before executing this script | |
## [ ] Show in notification icon menu | |
## Abbreviations: Dnow | |
## Hotkey: (None configured) | |
## Window Filter: (None configured) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment