Jump to content

Recommended Posts

Posted

I need to pass on some text to a control and to press the ENTER key after the text.

When I use ControlSetText, I can'g send the ENTER key press.

command line as below:

ControlSetText ($ChildWindowTitle,$ChildWindowText, "fp32DateTime2x1", 

$Var & asc(13))

any other way to send the text and the ENTER key press at the end of the text?

Posted

need to send text along with ENTER key press at the end of text to an edit control also.

Bothg controlsend and ControlSetText fail to pass the ENTER key at the end of the text to the edit control.

any other way?

:whistle:

Posted

upon sending the ENTER key, application validation is done and some other fields are filled up with respective data. So, it is necessary to send the ENTER key press after the text.

Posted

I don't think so....

I think when you hit the enter key, you are really activating some default hidden control (kind of like an OK key, that has focus, but is hidden)

Find out the name of that control and you can activate it even whe it's hidden.

[quote]I was busy waiting all night for the Columbus Day Bunny to come down my chimney and light fireworks in my pumpkin.There's so much wrong with that.Oh, I'm sorry, i forgot you were Jewish.[/quote]

Posted

there is no hidden buttons.

it is the normal practice of databse programming.

upon pressing the ENTER key, application validates the current field data and fills up other relevant fields accordingly.

  • 8 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...