Jump to content
Sign in to follow this  

Help with my code again. Language detection

Recommended Posts


Hi guys, its me again.

Yesterday BrewManNH posted This on my thread

#include <IE.au3>

Local $oIE = _IE_Example("basic")

ConsoleWrite(_IEPropertyGet($oIE, "browserlanguage") & @LF)

The problem is that i need to use another handler on _IEPropertyGet function.

This is what i`ve done so far.

Func FileMenuTests($window)
Local $oIE = _IE_Example("basic")

Local $IELanguage = _IEPropertyGet($oIE , "browserlanguage")    - my handler actually is $ie9handle  but the only way i get to use porperty get.. is this way.
ConsoleWrite("Language: " & $IELanguage)
Case not StringInStr ( $IELanguage, "en-us") = 0
If @OSArch = "X86" Then
if @OSVersion = "WIN_7" Then
ElseIf @OSArch = "X64" Then
if @OSversion = "WIN_7" Then
Case Not StringInStr ( $IELanguage, "") = 0

is it because $oIE handler refers to #include <IE.au3>?

how can i make this work for me ?

Share this post

Link to post
Share on other sites

Hi, LucasM. Why would you create another thread for the same issue? You have the one going on this topic already, and people are trying to assist you. Creating this forces someone to go back and read that thread before understanding your issue fully. Make it easy for us to assist you by sticking to one topic, please. :)

√-1 2^3 ∑ π, and it was delicious!

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