Notifications
Clear all
Configuration issues
0
Posts
2
Users
0
Reactions
156
Views
Topic starter
19/11/2010 2:52 pm
Is there a way in Absolute Telnet to map a key that will enter in the current date? We have users who enter in transportation costs on multiple vehicles and it would be a real time saver if they didn't have to enter in the full date each time.
24/11/2010 1:02 pm
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.
VBSCRIPT Sub Main DIM timevalue DIM datestring timevalue=Now datestring=CStr(Year(timevalue))+"_"+CStr(Month(timevalue))+"_"+CStr(Day(timevalue)) Terminal.SendText datestring End Sub