Country and model changes
Posted: Wed Jan 05, 2011 1:34 pm
A small point - English versions of the B650 firmware have an extra Support Menu item - "Product Guide". The script for the DVB function needs an extra "down arrow" to select Self Diagnosis. Alternatively, a sequence of 4 "key_up" moves might work for all language versions.
I added some modifications to the Rev0.2.5 script to add this extra step if the config.ini option "lang" is "English"
Since a number of functions are model specific (e.g. extra User picture modes are for B750 and maybe some LEDs), it might be useful to have some model selection in config.ini. The script could then omit functions and buttons that are not supported.
I am a complete newbie to AutoIt, so syntax might not be perfect, but have tested these modifications on my B650.
config.ini
Variables
Self Diagnosis for English menus
Model variation
The "If .. Else" function modifies the button group size, as the B650 version has only 4 buttons.
I added some modifications to the Rev0.2.5 script to add this extra step if the config.ini option "lang" is "English"
Since a number of functions are model specific (e.g. extra User picture modes are for B750 and maybe some LEDs), it might be useful to have some model selection in config.ini. The script could then omit functions and buttons that are not supported.
I am a complete newbie to AutoIt, so syntax might not be perfect, but have tested these modifications on my B650.
config.ini
Code: Select all
[model]
; options B650, B750, B6000, B7000, whatever
TV = B650
[language]
; options English
lang = English
Code: Select all
$model = IniRead(@ScriptDir & $config, "model", "TV", "Samsung")
$lang = IniRead(@ScriptDir & $config, "language", "lang", "other")
Code: Select all
key_down()
Sleep(1000)
If $lang = "English" Then
key_down()
Sleep(1000)
Endif
key_enter()
Sleep(1000)
Code: Select all
_GUICtrlStatusBar_SetText($status, $IPaddr & " " & $model)
If $model = "B750" Then
GuiCtrlCreateGroup("Picture mode", 198, 115, 145, 125)
$btn_p_user1 = GUICtrlCreateButton("User 1", 270, 130, 65, 25)
GUICtrlSetOnEvent($btn_p_user1, "key_p_user1")
$btn_p_user2 = GUICtrlCreateButton("User 2", 270, 155, 65, 25)
GUICtrlSetOnEvent($btn_p_user2, "key_p_user2")
$btn_p_user3 = GUICtrlCreateButton("User 3", 270, 180, 65, 25)
GUICtrlSetOnEvent($btn_p_user3, "key_p_user3")
$btn_p_movie2 = GUICtrlCreateButton("Movie 2", 270, 205, 65, 25)
GUICtrlSetOnEvent($btn_p_movie2, "key_p_movie2")
Else
GuiCtrlCreateGroup("Picture mode", 198, 115, 80, 125)
EndIf
$btn_pmode = GUICtrlCreateButton("Switch mode", 205, 130, 65, 25)
GUICtrlSetOnEvent($btn_pmode, "key_pmode")
$btn_p_dynamic = GUICtrlCreateButton("Dynamic", 205, 155, 65, 25)
GUICtrlSetOnEvent($btn_p_dynamic, "key_p_dynamic")
$btn_p_standard = GUICtrlCreateButton("Standard", 205, 180, 65, 25)
GUICtrlSetOnEvent($btn_p_standard, "key_p_standard")
$btn_p_movie = GUICtrlCreateButton("Movie", 205, 205, 65, 25)
GUICtrlSetOnEvent($btn_p_movie, "key_p_movie")
GUICtrlCreateGroup ("",-99,-99,1,1)