Timestamp cards (AutoHotkey script)

Type: 
Plugin
Compatibility: 
Mnemosyne 1.0.x
Status: 
Testing
Author: 
irv
Description: 

An AutoHotkey script for adding a timestamp to cards. Please edit the script to suit your purposes.

Alt-Q: move to question field
Alt-A: move to answer field
Shift-Enter: add card with initial grade of 0 and timestamp new card
\:print timestamp

Note: timestamp is enclosed in tags so they show up in the Edit Deck dialog but not during review. Of course, you can edit or change this behavior however you like.

#IfWinActive ahk_class QWidget
!q::ControlFocus, QWidget27, A
!a::ControlFocus, QWidget15, A
+enter::
Send ^0
Sleep 250
gosub timestamp
return
\::
timestamp:
FormatTime, yo,, MMddHHmmss
FormatTime, easy,, ddd
Send <%yo% %easy%>
return
#IfWinActive