Jump to content
Sign in to follow this  
Nilesh

ControlSetText

Recommended Posts

Nilesh

I am using ControlSetText function to set a string to a edit box. The out put that I am getting from such set string is not as expected.

Note: After setting the string if I mannually use BackSpace key in the edit box, the entire string gets removed from the edit box.

Please suggest if I am missing any setting.

-Nilesh.

Share this post


Link to post
Share on other sites
IHaveLeftTheForum

I am using ControlSetText function to set a string to a edit box. The out put that I am getting from such set string is not as expected.

Note: After setting the string if I mannually use BackSpace key in the edit box, the entire string gets removed from the edit box.

Please suggest if I am missing any setting.

-Nilesh.

I wanna see your script, so plz share here it will be better to help you!

Share this post


Link to post
Share on other sites
Nilesh

Thanks Azeem for the reply, :mellow:

I think, I got the reson behind. The edit box which I was trying is a license key field and may be programer has restricted the programetic inputs to this field. Now, I have used a loop to enter the string characterwise and it's works well.

Btw, I was using following piece of code

ControlSetText("Authentication", "", 1004, "HSN2H-HSJR2-JD674-HDJ73-78DJ3") ;License key text fill

ControlClick("Authentication", "", "Button52") ;OK button

Thanks,

Nilesh.

Share this post


Link to post
Share on other sites
IHaveLeftTheForum

No problem!

Thanks,

Azeem.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.