Ted,
Give me the exact format you want and I'll give you the lines for a
script. For example if you wanted:
3:25:06 PM on Thursday, November 05, 2009
You could use the following:
Set myHotkey = Keyboard.RegisterHotkey("f12", "InsertDate")
Sub InsertDate()
Keyboard.InsertString Time & " on " & FormatDateTime(Date,1)
End Sub
This 4 line script will register the f12 key as a hotkey and when
pressed will insert the time and date from the keyboard in the format I
showed above. This does assume your system is setup for US English.
Meaning it uses the format of your system settings so if they are
something else then the format will adjust automatically.
Regards,
Doug
Ted Larson wrote:
Dear List:
I repeatedly need to type the time and date into memos showing time and date.
What script, hotkey or other retrieval procedure can I use to paste the time
and date into a document? Thanks. Regards: Ted Larson
If you reply to this message it will be delivered to the original
sender only. If your reply would benefit others on the list and
your message is related to GW Micro, then please consider sending
your message to [email protected] so the entire list will receive it.
All GW-Info messages are archived at http://www.gwmicro.com/gwinfo, and can be
searched through and sorted using the search
form at the bottom of the page.
If you wish to unsubscribe from this list, send a message to
[email protected] and include leave gw-info in the body
of the message.
If you reply to this message it will be delivered to the original
sender only. If your reply would benefit others on the list and
your message is related to GW Micro, then please consider sending
your message to [email protected] so the entire list will receive it.
All GW-Info messages are archived at http://www.gwmicro.com/gwinfo, and can be
searched through and sorted using the search
form at the bottom of the page.
If you wish to unsubscribe from this list, send a message to
[email protected] and include leave gw-info in the body
of the message.