Insert current system timestamp into Edit Comment

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
konk
Junior Member
Junior Member
Posts: 6
Joined: 2012-06-07, 20:46 UTC

Insert current system timestamp into Edit Comment

Post 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.
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: Insert current system timestamp into Edit Comment

Post 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
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

Not within TC
Within TC, too. Using TWinKey you can put date/time stamp in different formats into the file comment
Single user license #329241
PowerPro scripts for Total Commander
konk
Junior Member
Junior Member
Posts: 6
Joined: 2012-06-07, 20:46 UTC

Re: Insert current system timestamp into Edit Comment

Post 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.
Last edited by konk on 2012-06-09, 12:13 UTC, edited 2 times in total.
konk
Junior Member
Junior Member
Posts: 6
Joined: 2012-06-07, 20:46 UTC

Post 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.
Post Reply