whiterabbit007

whiterabbit007

Joined Member # 2031181
13 Posts 127 Replies 389 Reputation

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 Sub Control_OnKeyPress(Key) ' if enter key is pressed If Key = 13 Then Control.Text = "1234" End If End Sub However, when I try to do the same thing with JScript, there's no response function Control_OnKeyPress(Key) { if( Key == 13

2 Replies 6,909 Views