magmike wrote:
> I type date and time all day long into various programs to mark notes.
> Is there a way in Windows XP or a tool that anyone knows of where I
> would be able to use keystrokes (i.e. CTRL+SHIFT+D) to automatically
> insert the date and time into the active application at the cursors
> location?
I don't know about a tool, but you can use a small VBscript to do
it. Create a text file, paste the following script into it, and save
it as a .vbs file, for example DaTime.vbs
Dim MyTime
Dim MyDate
MyTime = Time
MyDate = Date
Dim Wsh
Set Wsh = Wscript.CreateObject("Wscript.Shell")
Wsh.SendKeys Date&" "&Time
Then, create a shortcut to the script file *on the desktop* (that's
important). Edit the properties of the shortcut, and into the field
for "Shortcut key" press the key combination you want (i.e.
CTRL+SHIFT+D) or whatever. Press OK.

That's it.
Now, whenever you press the key combination, it will paste the date
and time into the current active window.
Like this: 2011-08-12 00:12:45 (I just pressed it while editing the
message.)
If you don't like the format, or want to add other stuff to the
string, just edit what SendKeys sends. In my script, it is the date, a
space, and the time, in the current system format. Of course you'll
need to have VBscript installed, but I think it would be highly
unusual if you didn't.
--
You'd be crazy to e-mail me with the crazy. But leave the div alone.
*
Whoever bans a book, shall be banished. Whoever burns a book, shall burn.