What I would like to do is be able to press a hotkey (say F2+Ctl) and have it print out the date and time. And see the different forms.
As of now I can't get it print anything. How do I setup format type and all the way thru. I've tried several ways and can't get anything to print. Can anyone help please.
Don Cole
Time date stamp
Re: Time date stamp
What specifically do you mean by "print"? Do you want to send the date and time to a particular window? Or do you want to open a window or dialog box to show that information? Can you show your attempts?
Re: Time date stamp
Thank you boiler for your rely,
Let's say I have Notepad open and I want to put the date and time in there with one keystroke.
In this form: 6/5/2017 10:57 PM.
Don Cole
Let's say I have Notepad open and I want to put the date and time in there with one keystroke.
In this form: 6/5/2017 10:57 PM.
Don Cole
Re: Time date stamp
For notepad that's an already existing function. Simply press F5
Re: Time date stamp
Notepad's function doesn't put it in the format he wants. And he's saying Notepad was just an example.
This will insert the date and time in the desired format into whatever window is active (make sure your cursor/caret is where you want to insert it) when you press the hotkey, currently set for control-Insert.
This will insert the date and time in the desired format into whatever window is active (make sure your cursor/caret is where you want to insert it) when you press the hotkey, currently set for control-Insert.
Code: Select all
^Ins::
FormatTime, DateTimeString,, M/d/yyyy h:mm tt
Send, %DateTimeString%
return
Re: Time date stamp
Thank you boiler,
That's exactly what I wanted. I need it for Notepad and several other editors and applications.
Don Cole
That's exactly what I wanted. I need it for Notepad and several other editors and applications.
Don Cole
Who is online
Users browsing this forum: Bing [Bot], marypoppins_1, Spawnova and 116 guests