Page 1 of 1

Insert current system timestamp into Edit Comment

Posted: 2012-06-07, 21:18 UTC
by konk
I love commenting files using the Ctrl-Z option and have configured my panel displays to show the file comments in one of the columns. I frequently add multiple comments, on different days etc, and would love to be able to quickly insert the current system timestamp into the Edit Comment text box. Any chance of having the feature of pasting current timestamp at cursor position from the right-click menu in the Edit Comment box? Or maybe there is another way, like a shortcut combination I don't know of, that copies the system timestamp into the clipboard so I can paste it where / when I want within TC?

Thanks.

Re: Insert current system timestamp into Edit Comment

Posted: 2012-06-07, 22:12 UTC
by HolgerK
konk wrote:...Or maybe there is another way, like a shortcut combination I don't know of, that copies the system timestamp into the clipboard so I can paste it where / when I want within TC?
Not within TC.
But http://www.nirsoft.net/utils/nircmd.html and a button or usercmd with

Code: Select all

nircmd.exe clipboard set ~$currdate.yyyy-MM-dd$_~$currtime.HH:m:ss$
or an AutoHotkey script ( http://www.autohotkey.com/community/viewtopic.php?t=501 ) may be used to extend TC.

Regards
Holger

Posted: 2012-06-08, 07:20 UTC
by Vochomurka
Not within TC
Within TC, too. Using TWinKey you can put date/time stamp in different formats into the file comment

Re: Insert current system timestamp into Edit Comment

Posted: 2012-06-08, 23:23 UTC
by konk
@Holger:

Thanks, I ended up installing nircmd

plus hotkeyz portable.

I might try out the AutoHotKey solution, but needed a quick keyboard shortcut with a light footprint.


Post-edit (2012-06-09 14:10): Today I've had more time to give AutoHotKey another look. This solution is by far superior to what I first tried out:

1) even lighter on the resources
2) way more flexible in terms of permissible function key + regular key + mouseclick combinations as triggers
3) my script runs entirely in the bacground - ie. it does NOT remove focus from the current window when it is run.

A clear wnner here. Thanks again, Holger.

Posted: 2012-06-08, 23:27 UTC
by konk
@Vochomurka:

I've tried TwinKey but found the tool a bit heavy plus really could not find the option to tweak shortcuts to point to custom system commands, while none of those found really seemed to offer the system timestamp copy/paste... Or I didn't know where to look.

Thanks anyway. I had not been aware of TwinKey before.