(I am only responding because I like your user name):
And the instructions for AutoHotKey to insert:
[li] the current date[/li]
[li] and/or, the current time?[/li]
I have no doubt you could AutoHotKey this, but we all would appreciate more details by you. I suspect you will find this a lot trickier than you might assume.
Bcastner, AutoHotkey has predefined variables for date/time, such as A_YYYY, A_MM, A_DD (year, month, day) and A_Hour, A_Min, A_Sec (hour, minute, second), as well as A_Now which returns YYYYMMDDHHMMSS.
So, a simple two-line AutoHotkey macro to accomplish the task would be:
!::
Send %A_Now%
Now, with this macro active, whenever you press the “!” key, the YYYYMMDDHHMMSS information is inserted into whatever window is active, just as if you had typed it at the keyboard. Of course, you can assign this macro to any key. Additionally, if you wish the date/time information to be formatted differently, then that’s easy to accomplish.
Thanks Pleonasm. This is definitely what I was looking for.
One more question though:
I have a digital camera that automatically names the picture files xxx001, xxx002, etc. Can this program rename a file to reflect the date and time created?
For example: rename "xxx001.jpg" to "YYMMDDHHMMSS.jpg"
engmaster
Try Google Picasso, it is free, I use it for my digital pictures. It allows you to highlight and batch name as many photos as you like in one action. For example, when I have a batch of photos from a place that I have visited, say London, you just edit the name by adding London and it then adds the date and time contained within the image so each image has the name London followed by the date and time. I find this makes filing my photos in a recognisable manner much easier than relying on the camera image ID.
"Rename Master is a FREE utility for renaming large groups of files with a few clicks. Anyone that has worked with websites, file archives, or collections of music, videos, or pictures has probably spent way too much time renaming hundreds of files.
This utility will add, remove, or replace parts of the filename with ease and also supports renaming via file properties, MP3 tags, JPEG JFIF and EXIF tags. Batch renaming that's simple to use, yet still very powerful."
It doesn't need to be installed (so can be carried round on a USB stick) and is available from
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.