You *can* use key mapping to do this. In the key mapping dialog on Options->Properties->VToptions, choose 'add', then press the key or key combiniation (control, alt, etc) you want to remap. When asked for the mapped text, enter the following script. You can adjust the script for the date format you desire.
Code: |
VBSCRIPT
Sub Main
DIM timevalue
DIM datestring
timevalue=Now
datestring=CStr(Year(timevalue))+"_"+CStr(Month(timevalue))+"_"+CStr(Day(timevalue))
Terminal.SendText datestring
End Sub
|