Jump to content
Sign in to follow this  
poppe

Combobox tribulation

Recommended Posts

poppe

Hello

I have a 3rd party application combobox, to which i need to set the value. The value must be selected as "russian language".

If the end-user has the proper codepage set for windows, the combobox values might be something like:

English

German

русский

Swedish

etc.

If the end-user does not have the proper codepage set for windows, the values might be garbled AND in different order.

руÑÑкиÐ

English

German

Swedish

etc.

I can read the value with:

Local $Text
$Text = ControlGetText($AppTitle, "", "[CLASS:ComboBox; INSTANCE:1]")

There is over 20 language choices in that combobox.

How can i set the value, and make sure the value for russian language is always selected?

At this point, it needs to be set, even if the text is garbled.

Thanks

Edited by poppe

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  

×