System Wide Hotkey - Insert Date & Time Text (Duplicate AHK Script)

So if I create a hot key with this code:
function OnClick(clickData)
{
var wsh = new ActiveXObject("WScript.Shell");
wsh.SendKeys("{HOME}+{END}");
}
\

Then what - I insert the date/time code from the other thread into a scripot file called WScript.Shell?

Is that right?

--
I'm honestly not dumb :flushed: just more arts than sciences inclined.

I'm trying to figure stuff out\ myself (perhaps with limited success)

Honestly, I read up on, & solved, perhaps 10 distinct issues without ever posting myself. I have like 120 tabs saved trying to find stuff out BEFORE I ever asked for help

My apologies
S