This script is for DesktopX Edit object, basically it's suppose to respond to pressing Enter.
For some reason when I run this VB script, it works
' if enter key is pressed
If Key = 13 Then
Control.Text = "1234"
However, when I try to do the same thing with JScript, there's no response
if( Key == 13 )
Control.Text = "1234";