Sign in to follow this  
Followers 0
LucasM

Help with my code again. Language detection

3 posts in this topic

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)
Select
Case not StringInStr ( $IELanguage, "en-us") = 0
If @OSArch = "X86" Then
if @OSVersion = "WIN_7" Then
FileMenuTestsx32($window)
EndIf
ElseIf @OSArch = "X64" Then
if @OSversion = "WIN_7" Then
FileMenuTestsx64($window)
EndIf
EndIf
Case Not StringInStr ( $IELanguage, "") = 0
EndSelect
EndFunc

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

ok. let me try :D

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  
Followers 0